What steps will reproduce the problem?
1. create a custom template tag library (in an arbitrary app)
2. in the tag lib, try "from photologue.models import Photo"
3. try to use the tag lib in a template
What is the expected output? What do you see instead?
Should import without errors. Instead throws a 500 page with "cannot import
name models".
What version of the product are you using? On what operating system?
Trunk revision 349 on Ubuntu 8.04 with Python 2.5.
Please provide any additional information below.
This happens because the template tag library and the app have a name clash.
See http://code.djangoproject.com/ticket/9413
Original issue reported on code.google.com by akaih...@gmail.com on 21 Oct 2008 at 4:37
Original issue reported on code.google.com by
akaih...@gmail.com
on 21 Oct 2008 at 4:37