This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 19:58:13.154 [ERROR ][deluge.pluginmanagerbase :158 ] Unable to instantiate plugin 'Blocklist' from '/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/plugins/Blocklist-1.2-py2.7.egg'! | |
| 19:58:13.154 [ERROR ][deluge.pluginmanagerbase :1164] No module named init | |
| Traceback (most recent call last): | |
| File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/pluginmanagerbase.py", line 154, in enable_plugin | |
| cls = entry_point.load() | |
| File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1955, in load | |
| entry = __import__(self.module_name, globals(),globals(), ['__name__']) | |
| File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.900_dev-py2.7.egg/deluge/plugins/Blocklist-1.2-py2.6.egg/deluge/plugins/blocklist/__init__.py", line 37, in <module> | |
| ImportError: No module named init |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding:utf-8 -*- | |
| from django import forms | |
| from django.contrib import admin | |
| from django.conf import settings | |
| from django.forms.models import modelform_factory | |
| from django.utils.translation import ugettext_lazy as _ | |
| import django.db.models | |
| from categories.app import product_app | |
| import pricing.models |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Environment: | |
| Request Method: GET | |
| Request URL: http://localhost:8000/products/apparel/womens-apparel/wet/+womens-wetsuit/ | |
| Django Version: 1.3.1 | |
| Python Version: 2.6.6 | |
| Installed Applications: | |
| ['localeurl', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ls -l /sys/block/md0/holders /sys/block/md0/*/holders | |
| /sys/block/md0/holders: | |
| total 0 | |
| /sys/block/md0/md0p1/holders: | |
| total 0 | |
| lrwxrwxrwx 1 root root 0 2011-10-21 15:51 dm-1 -> ../../../dm-1 | |
| /dev/mapper/vhost-hostvol on / type ext4 (rw,errors=remount-ro) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from memdir.models import Member | |
| import datetime | |
| from pprint import pprint | |
| class Command(BaseCommand): | |
| args = '<None>' | |
| help = """Finds all the Members in the database with an expired entry and | |
| tags them as expired. This command should be run right before the | |
| send_notices command. | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # models.py | |
| from django.db import models | |
| from django.db.utils import IntegrityError | |
| from tinymce.models import HTMLField | |
| import datetime | |
| from django.contrib.auth.models import User, UserManager, Permission | |
| import re | |
| from django.utils.translation import ugettext as _ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django import forms | |
| from satchless.forms.widgets import DecimalInput | |
| from satchless.product.forms import BaseVariantForm | |
| from . import models | |
| class ProductPriceForm(forms.ModelForm): | |
| class Meta: | |
| widgets = { | |
| 'price': DecimalInput(min_decimal_places=2), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from satchless.forms.widgets import DecimalInput | |
| from satchless.product.forms import BaseVariantForm | |
| from . import models | |
| class ProductPriceForm(forms.ModelForm): | |
| class Meta: | |
| widgets = { | |
| 'price': DecimalInput(min_decimal_places=2), | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| faris@cortex:~/workspace/src$ git clone https://github.com/joyent/node.git | |
| Initialized empty Git repository in /home/faris/workspace/src/node/.git/ | |
| remote: Counting objects: 36420, done. | |
| remote: Compressing objects: 100% (9171/9171), done. | |
| remote: Total 36420 (delta 29036), reused 33711 (delta 26768) | |
| Receiving objects: 100% (36420/36420), 21.35 MiB | 2.00 MiB/s, done. | |
| Resolving deltas: 100% (29036/29036), done. | |
| faris@cortex:~/workspace/src$ cd node | |
| faris@cortex:~/workspace/src/node$ ./configure --prefix=~/.node | |
| bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # the admin views | |
| from django.contrib import admin | |
| from django.contrib.auth.admin import UserAdmin | |
| from verbena.models import Student, Faculty, NewsRelease, Location, Project,\ | |
| VolunteerOpportunity, Organization, Workshop, ActionGroup, Grant | |
| class StudentAdmin(UserAdmin): | |
| list_display = ('studying','comp_year',) |