Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:8000/admin/Article/article/add/ |
Exception Type: | AttributeError |
Exception Value: | 'OneToOneRel' object has no attribute 'min_num_in_admin' |
Exception Location: | /usr/lib/python2.4/site-packages/django/db/models/related.py in get_list, line 71 |
/usr/lib/python2.4/site-packages/django/core/handlers/base.py
in get_response
/usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
in _checklogin
/usr/lib/python2.4/site-packages/django/views/decorators/cache.py
in _wrapped_view_func
/usr/lib/python2.4/site-packages/django/contrib/admin/views/main.py
in add_stage
/usr/lib/python2.4/site-packages/django/db/models/manipulators.py
in flatten_data
/usr/lib/python2.4/site-packages/django/db/models/related.py
in flatten_data
/usr/lib/python2.4/site-packages/django/db/models/related.py
in get_list
No GET data
No POST data
Variable | Value |
---|---|
sessionid | '2cf05988b78e626f48e6be50899a2299' |
Variable | Value |
---|---|
CDR_SECURITY | '8:dvd,clone:sparc-sun-solaris2,i386-pc-solaris2,i586-pc-linux,x86_64-unknown-linux,x86_64-pc-linux,powerpc-apple,hppa,powerpc-ibm-aix,i386-unknown-freebsd,i386-unknown-openbsd,i386-unknown-netbsd,powerpc-apple-netbsd,i386-pc-bsdi,mips-sgi-irix,i386-pc-sco,i586-pc-cygwin:1.11::1130000000:::private/research/educational_non-commercial_use:amz80r0cFc22rStnPatPW6OJPHS44.xCl2LPIpyKt.SuICSsGTMY7YzsmFT' |
COLORFGBG | 'default;default' |
COLORTERM | 'rxvt' |
CONFIG_PROTECT | '/usr/share/X11/xkb /usr/kde/3.5/share/config /usr/kde/3.5/env /usr/kde/3.5/shutdown /usr/share/config' |
CONFIG_PROTECT_MASK | '/etc/gconf /etc/terminfo /etc/revdep-rebuild' |
CONTENT_LENGTH | '' |
CONTENT_TYPE | 'text/plain' |
CVS_RSH | 'ssh' |
DESKTOP_SESSION | 'custom' |
DISPLAY | ':0.0' |
DJANGO_SETTINGS_MODULE | 'ProveRelated.settings' |
DM_CONTROL | '/var/run/xdmctl' |
EDITOR | 'gnuclient' |
GATEWAY_INTERFACE | 'CGI/1.1' |
GCC_SPECS | '' |
GDK_USE_XFT | '1' |
G_BROKEN_FILENAMES | '1' |
G_FILENAME_ENCODING | 'UTF-8' |
HISTFILESIZE | '10000' |
HISTSIZE | '10000' |
HOME | '/home/alex' |
HTTP_ACCEPT | 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' |
HTTP_ACCEPT_CHARSET | 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' |
HTTP_ACCEPT_ENCODING | 'gzip,deflate' |
HTTP_ACCEPT_LANGUAGE | 'en-us,en;q=0.5' |
HTTP_CONNECTION | 'keep-alive' |
HTTP_COOKIE | 'sessionid=2cf05988b78e626f48e6be50899a2299' |
HTTP_HOST | '127.0.0.1:8000' |
HTTP_IF_MODIFIED_SINCE | 'Tue, 06 Mar 2007 09:45:34 GMT' |
HTTP_IF_NONE_MATCH | 'c73d029fc70fbebc70e2a73acddb8e1e' |
HTTP_KEEP_ALIVE | '300' |
HTTP_REFERER | 'http://127.0.0.1:8000/admin/Article/article/' |
HTTP_USER_AGENT | 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070220 Firefox/2.0.0.2' |
INFOPATH | '/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info:/usr/share/info/emacs-22.0.91:/usr/share/info/emacs-21' |
INSTANCE_HOME | '/var/lib/zope/zope-284' |
JAVA_HOME | '/usr/j2sdk_nb/j2sdk1.4.2/' |
KDEDIRS | '/usr/kde/3.5:/usr:/usr/local' |
LANG | 'ru_RU.KOI8-R' |
LESS | '-R -M --shift 5' |
LESSOPEN | '|lesspipe.sh %s' |
LOGNAME | 'alex' |
LS_COLORS | 'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.yuv=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:*.ra=01;36:*.mka=01;36:' |
MANPATH | '/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man:/usr/qt/3/doc/man' |
OLDPWD | '/home/alex/tmp/ProveRelated/Article' |
OPENGL_PROFILE | 'xorg-x11' |
PAGER | '/usr/bin/less' |
PATH | '/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/sbin:/sbin:/usr/kde/3.3/bin:/home/alex/bin/:/home/alex/bin/maxq-0.94/bin/:/home/alex/dev/django_src/django/bin' |
PATH_INFO | '/admin/Article/article/add/' |
PKG_CONFIG_PATH | '/usr/qt/3/lib/pkgconfig' |
PRELINK_PATH_MASK | '/usr/lib/gstreamer-0.10' |
PROJECTHOME | '/home/alex/dev/www.prizewheel.com' |
PWD | '/home/alex/tmp/ProveRelated' |
PYTHONPATH | '/usr/lib/zope-2.8.4/lib/python:/home/alex/dev/www.prizewheel.com:/home/alex/dev/www.prizewheel.com/djWarehouse' |
QMAKESPEC | 'linux-g++' |
QTDIR | '/usr/qt/3' |
QUERY_STRING | '' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_HOST | '' |
REQUEST_METHOD | 'GET' |
RUN_MAIN | 'true' |
SCRIPT_NAME | '' |
SERVER_NAME | 'avk.koval.kharkov.ua' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'WSGIServer/0.1 Python/2.4.3' |
SHELL | '/bin/bash' |
SHLVL | '2' |
SOFTWARE_HOME | '/usr/lib/zope-2.8.4/lib/python' |
SSH_AGENT_PID | '14097' |
SSH_AUTH_SOCK | '/tmp/ssh-XueZH14096/agent.14096' |
TERM | 'rxvt' |
TERMINFO | '/usr/share/terminfo' |
TZ | 'America/Chicago' |
USER | 'alex' |
WINDOWID | '35651586' |
XDM_MANAGED | '/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic' |
_ | './manage.py' |
wsgi.errors | <open file '<stderr>', mode 'w' at 0xb7c8e0b0> |
wsgi.file_wrapper | <class 'django.core.servers.basehttp.FileWrapper'> |
wsgi.input | <socket._fileobject object at 0x83300d4> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
ProveRelated.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | () |
ADMIN_FOR | () |
ADMIN_MEDIA_PREFIX | '/media/' |
ALLOWED_INCLUDE_ROOTS | () |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
BANNED_IPS | () |
CACHE_BACKEND | 'simple://' |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
COMMENTS_ALLOW_PROFANITIES | False |
COMMENTS_BANNED_USERS_GROUP | None |
COMMENTS_FIRST_FEW | 0 |
COMMENTS_MODERATORS_GROUP | None |
COMMENTS_SKETCHY_USERS_GROUP | None |
DATABASE_ENGINE | 'postgresql_psycopg2' |
DATABASE_HOST | '' |
DATABASE_NAME | 'prove_related' |
DATABASE_OPTIONS | {} |
DATABASE_PASSWORD | '********************' |
DATABASE_PORT | '' |
DATABASE_USER | '' |
DATETIME_FORMAT | 'N j, Y, P' |
DATE_FORMAT | 'N j, Y' |
DEBUG | True |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DISALLOWED_USER_AGENTS | () |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
FIXTURE_DIRS | () |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
INSTALLED_APPS | ['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'ProveRelated.Article'] |
INTERNAL_IPS | () |
JING_PATH | '/usr/bin/jing' |
LANGUAGES | (('ar', 'Arabic'),
('bn', 'Bengali'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('es', 'Spanish'),
('es_AR', 'Argentinean Spanish'),
('fi', 'Finnish'),
('fr', 'French'),
('gl', 'Galician'),
('hu', 'Hungarian'),
('he', 'Hebrew'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('kn', 'Kannada'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('nl', 'Dutch'),
('no', 'Norwegian'),
('pl', 'Polish'),
('pt-br', 'Brazilian'),
('ro', 'Romanian'),
('ru', 'Russian'),
('sk', 'Slovak'),
('sl', 'Slovenian'),
('sr', 'Serbian'),
('sv', 'Swedish'),
('ta', 'Tamil'),
('tr', 'Turkish'),
('uk', 'Ukrainian'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese')) |
LANGUAGES_BIDI | ('he', 'ar') |
LANGUAGE_CODE | 'en-us' |
MANAGERS | () |
MEDIA_ROOT | '' |
MEDIA_URL | '' |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware') |
MONTH_DAY_FORMAT | 'F j' |
PREPEND_WWW | False |
PROFANITIES_LIST | '********************' |
ROOT_URLCONF | 'ProveRelated.urls' |
SECRET_KEY | '********************' |
SEND_BROKEN_LINK_EMAILS | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_SECURE | False |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_SAVE_EVERY_REQUEST | False |
SETTINGS_MODULE | 'ProveRelated.settings' |
SITE_ID | 1 |
TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n') |
TEMPLATE_DEBUG | True |
TEMPLATE_DIRS | () |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source') |
TEMPLATE_STRING_IF_INVALID | '' |
TEST_DATABASE_NAME | None |
TEST_RUNNER | 'django.test.simple.run_tests' |
TIME_FORMAT | 'P' |
TIME_ZONE | 'America/Chicago' |
TRANSACTIONS_MANAGED | False |
URL_VALIDATOR_USER_AGENT | 'Django/0.96pre (http://www.djangoproject.com)' |
USE_ETAGS | False |
USE_I18N | True |
YEAR_MONTH_FORMAT | 'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.