Hi, all!
I am trying to switch to the new-form admin branch and created a
simple project in test purposes.
I installed 0.97-newforms-admin-SVN-6977 and created a test project.
When trying to start at 127.0.0.1:8000/admin I got an error

TemplateDoesNotExist at /admin/
admin/login.html

Ok, I add the path to the settings.TEMPLATE_DIRS:
"C:/Python25/Lib/site-packages/django/contrib/admin/templates/"

After that, error message changed:

TemplateSyntaxError at /admin/
'adminmedia' is not a valid tag library: Could not load template
library from django.templatetags.adminmedia, No module named
adminmedia

All files exist, i.e. django/contrib/admin/templatetags/adminmedia.py
exists

My configuration is:
Windows XP SP2 Pro
Python 2.5 (C:\Python25)
Django 0.97-pre-SVN-6964 and 0.97-newforms-admin-SVN-6977 (I switch
between them by renaming django folder)

Adding of paths to sys.paths etc. had no result - the error appears
anyway. When I switch back to the  0.97-pre and start my former
project - it works fine. All pathes to the Django are the same in both
cases. Django embedded server was used in both cases.
As I see, templates and paths in 0.97-pre and 0.97-newform-admin are
similar. In both cases Django lives in C:\Python25\Lib\site-packages
\django. So I can't to localize the problem.

Could anybody help me?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to