The error occurs in line 68 of admin.py. The admin.py you're
showing doesn't seem to have 68 lines. Maybe the admin.py you have
in development is not the same you have in production. Or the
admin.py the system's reading is not the one you think it is
(maybe it's reading it from another directory). You need to triple
check that. Sometimes such errors are also caused by Python using
its compiled files, *.pyc (in Python 2) or __pycache__/* (in
Python 3). Normally it understands when a source file has changed
and recompiles it, but for a variety of reasons it might fail to
do so, so you might want to go and delete all compiled files.
Antonis Christofides http://djangodeployment.com
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1ccf8f63-cdc6-404a-aeef-12efc630b9a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.