google-code-export / django-photologue

Automatically exported from code.google.com/p/django-photologue
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

uploading photos fails without django-tagging installed #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempting to upload a photo or .zip gallery through the admin

  I get:
  > ProgrammingError at /admin/photologue/photo/add/
  > 
  > (1146, "Table 'mydatabase.tagging_tag' doesn't exist")

  although I do not have tagging in my installed apps and have never used it.

What version of the product are you using? On what operating system?
  SVN revision 378 on windows XP with django SVN revision 10729

Original issue reported on code.google.com by substant...@gmail.com on 10 May 2009 at 8:30

GoogleCodeExporter commented 9 years ago
Is it possible that it's finding the tagging module somewhere ar your path? Are 
you on a shared environment?

In the admin, does the tags field have the following help text:
"Django-tagging was not found, tags will be treated as plain text."

Also, at a python prompt try:
"from tagging.fields import TagField"

Original comment by justin.d...@gmail.com on 10 May 2009 at 12:50

GoogleCodeExporter commented 9 years ago
How embarrassing, turns out I do actually have tagging in my pythonpath. Sorry 
about
that.

Maybe a better way to deal with stupid users like me would be have photologue 
check
if tagging is in INSTALLED_APPS before trying to import it. This way you could 
have
tagging available but choose not to use it.

Original comment by substant...@gmail.com on 10 May 2009 at 5:09

GoogleCodeExporter commented 9 years ago
Support for the tagging app is going to be removed in version 3.0. Especially 
now that users can build their own 
apps on top of imagekit if they need special features.

Original comment by justin.d...@gmail.com on 10 May 2009 at 6:10