hi,
i'm using djangobook to learn django,
when i go to localhost:8000/admin
there's no problem, also no problem with these two:
http://localhost:8000/admin/books/
http://localhost:8000/admin/books/publisher/
but going to:
http://localhost:8000/admin/books/book
gives this error:
-- i'm using djangobook to learn django,
when i go to localhost:8000/admin
there's no problem, also no problem with these two:
http://localhost:8000/admin/books/
http://localhost:8000/admin/books/publisher/
but going to:
http://localhost:8000/admin/books/book
gives this error:
DatabaseError at /admin/books/book/
user-defined function raised exception
| Request Method: | GET | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Request URL: | http://localhost:8000/admin/books/book/ | ||||||||||||||||||||||||||||||||||||||||||
| Django Version: | 1.5.5 | ||||||||||||||||||||||||||||||||||||||||||
| Exception Type: | DatabaseError | ||||||||||||||||||||||||||||||||||||||||||
| Exception Value: | user-defined function raised exception | ||||||||||||||||||||||||||||||||||||||||||
| Exception Location: | /usr/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 362 | ||||||||||||||||||||||||||||||||||||||||||
| Python Executable: | /usr/bin/python | ||||||||||||||||||||||||||||||||||||||||||
| Python Version: | 2.7.5 | ||||||||||||||||||||||||||||||||||||||||||
| Python Path: | ['/home/asedsami/djcode/mysite', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages'] | ||||||||||||||||||||||||||||||||||||||||||
| Server time: | Wed, 4 Jun 2014 13:33:43 -0500 --------------------------------------------------------------------------------------------------------------------------------------------------------------- Error during template renderingIn template user-defined function raised exception
should i ask this in stackoverflow instead of here? i don't think i never even touched the above file and i don't know what causes this error, so, thank you for you help. |
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3eb82801-caec-4b5b-b608-0e7f38752885%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment