This file contains 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
PKG_DIR = os.path.dirname(__file__) | |
class Spammer: | |
""" | |
This is Spammer class. | |
""" | |
def __int__(self): | |
""" | |
Construction. | |
Setting couple of necessary stuff here, such as |
This file contains 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
def queryset(self, request): | |
if request.user.is_superuser: | |
return self.model.objects.all() | |
return self.model.objects.filter(user=request.user) |
This file contains 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
<div id="contentArea"></div> |
This file contains 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
""" | |
make_ajax_taggit_form.py is part of utils.helpers module. | |
User: alireza | |
Created at: | |
Date: 6/23/12 | |
Time: 8:03 PM | |
""" | |
__author__ = 'Alireza Savand' | |
__copyright__ = 'Copyright 2012, The OrgThem Project' | |
__email__ = 'alireza.savand@gmail.com' |
This file contains 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
@property | |
def fields(self): | |
return ['foo', 'bar', 'baz'] |
This file contains 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://127.0.0.1:8000/admin/ | |
Django Version: 1.4 | |
Python Version: 2.7.3 | |
Installed Applications: |
This file contains 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
Running migrations for account: | |
- Migrating forwards to 0001_initial. | |
> account:0001_initial | |
Traceback (most recent call last): | |
File "/opt/pycharm/helpers/pycharm/django_manage.py", line 17, in <module> | |
run_module(manage_file, None, '__main__') | |
File "/usr/lib/python2.7/runpy.py", line 180, in run_module | |
fname, loader, pkg_name) | |
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code | |
exec code in run_globals |
This file contains 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
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/ | |
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-2.16.so | |
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-linux-x86-64.so.2 | |
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale-2.16.so | |
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale.so.1 | |
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libSegFault.so | |
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl-2.16.so | |
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl.so.1 | |
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc-2.16.so | |
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc.so.6 |
This file contains 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
[5781590.567637] [Firmware Bug]: the BIOS has corrupted hw-PMU resources (MSR c0010000 is 530076) | |
[5781590.793764] i8042: No controller found | |
[5781590.855231] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) | |
:: running early hook [udev] | |
:: running hook [udev] | |
:: Triggering uevents... | |
:: mounting '/dev/xvda1' on real root | |
:: running cleanup hook [udev] | |
INIT: version 2.88 booting | |