django 1.4 - admin TemplateDoesNotExist at /admin/auth/user/
Hi, We recently upgraded from django 1.3 to django 1.4. I updated the manage.py and am also using the wsgi.py as recommended in the release notes. We deploy to apache using mod_wsgi on our servers and use manage.py runserver locally. Locally we get errors when trying to render the admin pages. However on apache using mod_wsgi the admin pages work. Any ideas? The errors are TemplateDoesNotExist at /admin/auth/user/ admin/auth/user/change_list.html, admin/auth/change_list.html, admin/change_list.html Request Method:GETRequest URL:http://localhost:8000/admin/auth/user/Django Version:1.4Exception Type:TemplateDoesNotExistException Value: admin/auth/user/change_list.html, admin/auth/change_list.html, admin/change_list.html Template-loader postmortem Django tried loading these templates, in this order: - Using loader django.template.loaders.filesystem.Loader: - /media/data/work/clean/rmsagit/customers/templates/admin/auth/user/change_list.html, admin/auth/change_list.html, admin/change_list.html (File does not exist) - Using loader django.template.loaders.app_directories.Loader: - /media/data/work/clean/rmsagit/customers/templates/admin/auth/user/change_list.html, admin/auth/change_list.html, admin/change_list.html (File does not exist) Thanks, Josh -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: TemplateDoesNotExist at /admin/ - admin/login.html
Thank you tracey, I already allow web server to read the files and it works. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: TemplateDoesNotExist at /admin/ - admin/login.html
On Wed, Mar 23, 2011 at 9:30 PM, Jimmywrote: > Template Loader Error: > Django tried loading these templates, in this order: > Using loader django.template.loaders.filesystem.Loader: > /home/jimmy/django_projects/hermis/templates/admin/login.html (File > exists) > Using loader django.template.loaders.app_directories.Loader: > /usr/lib/python2.6/django/contrib/admin/templates/admin/login.html > (File exists) > The files exist, as noted in the error description. The usual reason for the web server to be unable to make use of existing files is that it (the web server) does not have permission to read the files. You need to configure the system so the web server can read these files. Karen -- http://tracey.org/kmt/ -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
TemplateDoesNotExist at /admin/ - admin/login.html
Hi Django Users, I developed web application using Django. When I run my django web application on development server (python manage.py runserver) everything was fine. Then I tried to use Apache and mod_python to run my web application. I already configured httpd.conf like this: SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE hermis.settings PythonOption django.root /hermis PythonDebug On PythonPath "['/home/jimmy/django_projects/hermis', '/home/jimmy/ django_projects', '/var/www'] + sys.path" SetHandler None SetHandler None This is my urls.py for admin: (r'^admin/', include(admin.site.urls)), my django project is in: "/home/jimmy/django_projects" my application is in: "/home/jimmy/django_projects/hermis" It worked fine but when I tried to load up django administration page it showed error like this: Environment: Request Method: GET Request URL: http://192.168.16.151/hermis/admin/ Django Version: 1.2.5 Python Version: 2.6.5 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'mycalendar', 'django.contrib.admin'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Template Loader Error: Django tried loading these templates, in this order: Using loader django.template.loaders.filesystem.Loader: /home/jimmy/django_projects/hermis/templates/admin/login.html (File exists) Using loader django.template.loaders.app_directories.Loader: /usr/lib/python2.6/django/contrib/admin/templates/admin/login.html (File exists) Traceback: File "/usr/lib/python2.6/django/core/handlers/base.py" in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.6/django/contrib/admin/sites.py" in wrapper 207. return self.admin_view(view, cacheable)(*args, **kwargs) File "/usr/lib/python2.6/django/utils/decorators.py" in _wrapped_view 76. response = view_func(request, *args, **kwargs) File "/usr/lib/python2.6/django/views/decorators/cache.py" in _wrapped_view_func 78. response = view_func(request, *args, **kwargs) File "/usr/lib/python2.6/django/contrib/admin/sites.py" in inner 189. return self.login(request) File "/usr/lib/python2.6/django/views/decorators/cache.py" in _wrapped_view_func 78. response = view_func(request, *args, **kwargs) File "/usr/lib/python2.6/django/contrib/admin/sites.py" in login 310. return self.display_login_form(request, message) File "/usr/lib/python2.6/django/contrib/admin/sites.py" in display_login_form 409. context_instance=context_instance File "/usr/lib/python2.6/django/shortcuts/__init__.py" in render_to_response 20. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File "/usr/lib/python2.6/django/template/loader.py" in render_to_string 181. t = get_template(template_name) File "/usr/lib/python2.6/django/template/loader.py" in get_template 157. template, origin = find_template(template_name) File "/usr/lib/python2.6/django/template/loader.py" in find_template 138. raise TemplateDoesNotExist(name) Exception Type: TemplateDoesNotExist at /admin/ Exception Value: admin/login.html Does anyone know how to solve this problem? -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: TemplateDoesNotExist at /admin/
Solved this problem already. The problem lies inside of /usr/lib/python2.5/site-packages/django/ contrib/admin/. Some files were not installed properly. The login.html exist but it has no contents inside. I opened up the Django-1.1.1.tar.gz and grabbed /django/contrib/admin/ and extracted it in /usr/lib/python2.5/site-packages/django/contrib/admin/. This solved my problem for the mean time. But I got the worries that other directories might have this problem. Can anyone lighten me a bit? And also, just for asking ;), why does it didn't install properly? I did python setup.py install. Is the cause of this problem is Cygwin? Django? or python? On Mar 21, 4:15 am, ragingmon <raging...@gmail.com> wrote: > Hello all > > I'm using cygwin 1.7 in windows7 with django 1.1.1 and python 2.5.2. > > I followed this > tuthttp://docs.djangoproject.com/en/1.1/intro/tutorial02/#intro-tutorial02 > > I got stuck looking for solution to this problem. I always get a > TemplateDoesNotExist at /admin/ when going tohttp://localhost:8000/admin/. > I tried placing '/usr/lib/python2.5/site-packages/django/contrib/admin/ > templates', in TEMPLATE_DIRS but nothing works > > I was thinking that this problem maybe on permissions? > > Shown below is the error message > > TemplateDoesNotExist at /admin/ > admin/login.html > Request Method: GET > Request URL: http://localhost:8000/admin/ > Exception Type: TemplateDoesNotExist > Exception Value: > admin/login.html > Exception Location: /usr/lib/python2.5/site-packages/django/template/ > loader.py in find_template_source, line 74 > Python Executable: /usr/bin/python > Python Version: 2.5.2 > Python Path: ['/cygdrive/d/desktop/poll', '/usr/lib/python25.zip', '/ > usr/lib/python2.5', '/usr/lib/python2.5/plat-cygwin', '/usr/lib/ > python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/lib/ > python2.5/site-packages', '/usr/lib/python2.5/site-packages/gtk-2.0'] > Server time: Sat, 20 Mar 2010 14:49:48 -0400 > > Template-loader postmortem > > Django tried loading these templates, in this order: > Using loader django.template.loaders.filesystem.load_template_source: > /usr/lib/python2.5/site-packages/django/contrib/admin/templates/admin/ > login.html (File exists) > Using loader > django.template.loaders.app_directories.load_template_source: > /usr/lib/python2.5/site-packages/django/contrib/admin/templates/admin/ > login.html (File exists) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
TemplateDoesNotExist at /admin/
Hello all I'm using cygwin 1.7 in windows7 with django 1.1.1 and python 2.5.2. I followed this tut http://docs.djangoproject.com/en/1.1/intro/tutorial02/#intro-tutorial02 I got stuck looking for solution to this problem. I always get a TemplateDoesNotExist at /admin/ when going to http://localhost:8000/admin/. I tried placing '/usr/lib/python2.5/site-packages/django/contrib/admin/ templates', in TEMPLATE_DIRS but nothing works I was thinking that this problem maybe on permissions? Shown below is the error message TemplateDoesNotExist at /admin/ admin/login.html Request Method: GET Request URL:http://localhost:8000/admin/ Exception Type: TemplateDoesNotExist Exception Value: admin/login.html Exception Location: /usr/lib/python2.5/site-packages/django/template/ loader.py in find_template_source, line 74 Python Executable: /usr/bin/python Python Version: 2.5.2 Python Path:['/cygdrive/d/desktop/poll', '/usr/lib/python25.zip', '/ usr/lib/python2.5', '/usr/lib/python2.5/plat-cygwin', '/usr/lib/ python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/lib/ python2.5/site-packages', '/usr/lib/python2.5/site-packages/gtk-2.0'] Server time:Sat, 20 Mar 2010 14:49:48 -0400 Template-loader postmortem Django tried loading these templates, in this order: Using loader django.template.loaders.filesystem.load_template_source: /usr/lib/python2.5/site-packages/django/contrib/admin/templates/admin/ login.html (File exists) Using loader django.template.loaders.app_directories.load_template_source: /usr/lib/python2.5/site-packages/django/contrib/admin/templates/admin/ login.html (File exists) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django tutorial: TemplateDoesNotExist at /admin/
I have reinstalled django and now work ^_^ - On Jan 3, 5:52 pm, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Jan 3, 1:52 pm, nameless <xsatelli...@gmail.com> wrote: > > > > > I am using tutorial on django official documentation. But when I point > > tohttp://127.0.0.1:8000/admin/, I get this error: > > > TemplateDoesNotExist at /admin/ > > > admin/login.html > > > Request Method: GET > > Request URL: http://127.0.0.1:8000/admin/ > > Exception Type: TemplateDoesNotExist > > Exception Value: > > > admin/login.html > > > Exception Location: /usr/local/lib/python2.6/dist-packages/django/ > > template/loader.py in find_template_source, line 74 > > Python Executable: /usr/bin/python > > Python Version: 2.6.2 > > Python Path: ['/home/nameless/Django-1.1.1/social', '/usr/lib/ > > python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib- > > tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/ > > usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/ > > Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/ > > dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/ > > lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/ > > python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages'] > > Server time: Sun, 3 Jan 2010 07:47:21 -0600 > > Template-loader postmortem > > > Django tried loading these templates, in this order: > > > * Using loader > > django.template.loaders.filesystem.load_template_source: > > * Using loader > > django.template.loaders.app_directories.load_template_source: > > > I am using Ubuntu 9.10 please help :-\ > > Did you add 'django.contrib.admin' to INSTALLED_APPS in your > settings.py? > -- > DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django tutorial: TemplateDoesNotExist at /admin/
On Jan 3, 1:52 pm, nameless <xsatelli...@gmail.com> wrote: > I am using tutorial on django official documentation. But when I point > tohttp://127.0.0.1:8000/admin/, I get this error: > > TemplateDoesNotExist at /admin/ > > admin/login.html > > Request Method: GET > Request URL: http://127.0.0.1:8000/admin/ > Exception Type: TemplateDoesNotExist > Exception Value: > > admin/login.html > > Exception Location: /usr/local/lib/python2.6/dist-packages/django/ > template/loader.py in find_template_source, line 74 > Python Executable: /usr/bin/python > Python Version: 2.6.2 > Python Path: ['/home/nameless/Django-1.1.1/social', '/usr/lib/ > python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib- > tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/ > usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/ > Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/ > dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/ > lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/ > python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages'] > Server time: Sun, 3 Jan 2010 07:47:21 -0600 > Template-loader postmortem > > Django tried loading these templates, in this order: > > * Using loader > django.template.loaders.filesystem.load_template_source: > * Using loader > django.template.loaders.app_directories.load_template_source: > > I am using Ubuntu 9.10 please help :-\ Did you add 'django.contrib.admin' to INSTALLED_APPS in your settings.py? -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django tutorial: TemplateDoesNotExist at /admin/
you are using wish version of python? 2010/1/3 nameless <xsatelli...@gmail.com> > I have installed python and then django with setup.py install. > I have only one installation. What do I do ? > > please help :-\ > > > > > --- > On Jan 3, 3:02 pm, Ramiro Morales <cra...@gmail.com> wrote: > > On Sun, Jan 3, 2010 at 10:52 AM, nameless <xsatelli...@gmail.com> wrote: > > > I am using tutorial on django official documentation. But when I point > > > tohttp://127.0.0.1:8000/admin/, I get this error: > > > > > TemplateDoesNotExist at /admin/ > > > > > admin/login.html > > > > > Request Method: GET > > > Request URL:http://127.0.0.1:8000/admin/ > > > Exception Type: TemplateDoesNotExist > > > Exception Value: > > > > > admin/login.html > > > > > Exception Location: /usr/local/lib/python2.6/dist-packages/django/ > > > [...] > > > Python Path:['/home/nameless/Django-1.1.1/social', '/usr/lib/ > > > > > I am using Ubuntu 9.10 please help :-\ > > > > How have you installed Django?. Using a Ubuntu package (python-django) > > or did you perform an installation from source? Make sure you don't have > > more than one and possible incomplete installations. > > > > -- > > Ramiro Morales | http://rmorales.net > > -- > > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django tutorial: TemplateDoesNotExist at /admin/
I have installed python and then django with setup.py install. I have only one installation. What do I do ? please help :-\ --- On Jan 3, 3:02 pm, Ramiro Morales <cra...@gmail.com> wrote: > On Sun, Jan 3, 2010 at 10:52 AM, nameless <xsatelli...@gmail.com> wrote: > > I am using tutorial on django official documentation. But when I point > > tohttp://127.0.0.1:8000/admin/, I get this error: > > > TemplateDoesNotExist at /admin/ > > > admin/login.html > > > Request Method: GET > > Request URL: http://127.0.0.1:8000/admin/ > > Exception Type: TemplateDoesNotExist > > Exception Value: > > > admin/login.html > > > Exception Location: /usr/local/lib/python2.6/dist-packages/django/ > > [...] > > Python Path: ['/home/nameless/Django-1.1.1/social', '/usr/lib/ > > > I am using Ubuntu 9.10 please help :-\ > > How have you installed Django?. Using a Ubuntu package (python-django) > or did you perform an installation from source? Make sure you don't have > more than one and possible incomplete installations. > > -- > Ramiro Morales | http://rmorales.net -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django tutorial: TemplateDoesNotExist at /admin/
On Sun, Jan 3, 2010 at 10:52 AM, nameless <xsatelli...@gmail.com> wrote: > I am using tutorial on django official documentation. But when I point > to http://127.0.0.1:8000/admin/ , I get this error: > > > TemplateDoesNotExist at /admin/ > > admin/login.html > > Request Method: GET > Request URL: http://127.0.0.1:8000/admin/ > Exception Type: TemplateDoesNotExist > Exception Value: > > admin/login.html > > Exception Location: /usr/local/lib/python2.6/dist-packages/django/ > [...] > Python Path: ['/home/nameless/Django-1.1.1/social', '/usr/lib/ > > I am using Ubuntu 9.10 please help :-\ > How have you installed Django?. Using a Ubuntu package (python-django) or did you perform an installation from source? Make sure you don't have more than one and possible incomplete installations. -- Ramiro Morales | http://rmorales.net -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Django tutorial: TemplateDoesNotExist at /admin/
I am using tutorial on django official documentation. But when I point to http://127.0.0.1:8000/admin/ , I get this error: TemplateDoesNotExist at /admin/ admin/login.html Request Method: GET Request URL:http://127.0.0.1:8000/admin/ Exception Type: TemplateDoesNotExist Exception Value: admin/login.html Exception Location: /usr/local/lib/python2.6/dist-packages/django/ template/loader.py in find_template_source, line 74 Python Executable: /usr/bin/python Python Version: 2.6.2 Python Path:['/home/nameless/Django-1.1.1/social', '/usr/lib/ python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib- tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/ usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/ Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/ dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/ lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/ python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages'] Server time:Sun, 3 Jan 2010 07:47:21 -0600 Template-loader postmortem Django tried loading these templates, in this order: * Using loader django.template.loaders.filesystem.load_template_source: * Using loader django.template.loaders.app_directories.load_template_source: I am using Ubuntu 9.10 please help :-\ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: TemplateDoesNotExist at /admin/ on Centos with Django 1.1.1
On Sun, Oct 18, 2009 at 8:41 PM, Christophe Pettuswrote: > > Greetings, > > I'm installing Django on a Centos 5.3 system, running under mod_wsgi > on Apache, using Django 1.1.1. In a very basic install, when I > attempt to access the /admin/ URL, I get the above error... but the > templates are there: > > thebu...@blog templates]$ ls /opt/python2.6/lib/python2.6/site- > packages/django/contrib/admin/templates/admin > > [snip] > Any guidance on what I might be doing wrong? Thanks! > If you run with DEBUG=True the debug page produced for TemplateDoesNotExist will include a template loader postmortem that lists what loaders were tried, what files each tried, and what the results were. That output would be useful in diagnosing what is going wrong in your case. Karen --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/ on Centos with Django 1.1.1
Hi Christophe Can you post some more information? What does settings.py look like? What does urls.py look like? How do you register the Models at the admin interface? On Oct 19, 2:41 am, Christophe Pettuswrote: > Greetings, > > I'm installing Django on a Centos 5.3 system, running under mod_wsgi > on Apache, using Django 1.1.1. In a very basic install, when I > attempt to access the /admin/ URL, I get the above error... but the > templates are there: > > thebu...@blog templates]$ ls /opt/python2.6/lib/python2.6/site- > packages/django/contrib/admin/templates/admin > 404.html edit_inline > 500.html filter.html > actions.html includes > app_index.html index.html > auth invalid_setup.html > base.html login.html > base_site.html object_history.html > change_form.html pagination.html > change_list.html prepopulated_fields_js.html > change_list_results.html search_form.html > date_hierarchy.html submit_line.html > delete_confirmation.html template_validator.html > delete_selected_confirmation.html > > Any guidance on what I might be doing wrong? Thanks! > -- > -- Christophe Pettus > x...@thebuild.com --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
TemplateDoesNotExist at /admin/ on Centos with Django 1.1.1
Greetings, I'm installing Django on a Centos 5.3 system, running under mod_wsgi on Apache, using Django 1.1.1. In a very basic install, when I attempt to access the /admin/ URL, I get the above error... but the templates are there: thebu...@blog templates]$ ls /opt/python2.6/lib/python2.6/site- packages/django/contrib/admin/templates/admin 404.html edit_inline 500.html filter.html actions.html includes app_index.html index.html auth invalid_setup.html base.html login.html base_site.html object_history.html change_form.html pagination.html change_list.html prepopulated_fields_js.html change_list_results.html search_form.html date_hierarchy.htmlsubmit_line.html delete_confirmation.html template_validator.html delete_selected_confirmation.html Any guidance on what I might be doing wrong? Thanks! -- -- Christophe Pettus x...@thebuild.com --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: problem: TemplateDoesNotExist at /admin/ (linux)
Only reinstaling the last version of django this error dissapear, 'cause I had problems with the css too, in the stable version the css didn't work, in windows the things are different beacuse the installation is incomplete in some cases and you must copy manually the templates directories (admin), if you're in linux the developrs latest version is the best to don't have any error --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: problem: TemplateDoesNotExist at /admin/ (linux)
On Thu, Jul 30, 2009 at 9:59 AM, monkutwrote: > > Hmmm... I'm having the same error. > I just installed 1.1 with python 2.6.2, on Windows vista. > > I set up a new project using django-admin.py and a new app to throw > together a new project. > All in all that took under an hour from download. > Now, I've spent just about an hour looking around to find out how to > get the admin to display properly... > > I:ve commented out the admin in the base urls.py file. > Then when i goto localhost:8000/admin I see this error. > Do you mean you have un-commented the admin lines in urls.py? > > I thought even without changing my settings.py, using runserver it > would auto-grab the templates in the python site-packages django dirs, > but this error is showing up. You do have to change settings.py to include 'django.contrib.admin' in INSTALLED_APPS. Have you done that? > > Next, I set the TEMPLATE_DIRS and copied the contrib.admin.templates > content to my project's template directory. (I think I remember doing > this in the past..) No, you do not need to do this. and now I get this error: > > TemplateSyntaxError at /admin/ > 'adminmedia' is not a valid tag library: Could not load template > library from django.templatetags.adminmedia > > > Any ideas? > That error sounds like you do not have the admin in INSTALLED_APPS. Karen --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: problem: TemplateDoesNotExist at /admin/ (linux)
Hmmm... I'm having the same error. I just installed 1.1 with python 2.6.2, on Windows vista. I set up a new project using django-admin.py and a new app to throw together a new project. All in all that took under an hour from download. Now, I've spent just about an hour looking around to find out how to get the admin to display properly... I:ve commented out the admin in the base urls.py file. Then when i goto localhost:8000/admin I see this error. I thought even without changing my settings.py, using runserver it would auto-grab the templates in the python site-packages django dirs, but this error is showing up. Next, I set the TEMPLATE_DIRS and copied the contrib.admin.templates content to my project's template directory. (I think I remember doing this in the past..) and now I get this error: TemplateSyntaxError at /admin/ 'adminmedia' is not a valid tag library: Could not load template library from django.templatetags.adminmedia Any ideas? --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: problem: TemplateDoesNotExist at /admin/ (linux)
On Sun, 2009-07-26 at 15:15 -0700, LuXo Jarufe wrote: > Hi, I want to use the admin but I have this problem, I was following > the tutorial in djangoproject but when I execute the admin this > appears: > > TemplateDoesNotExist at /admin/ Hi, In settings.py you have a setting named ... TEMPLATE_DIRS If you're not specifying any template dirs, then that gets defaulted to the settings in global_settings.py (comes in the django package). To see the difference between your configuration, and global_settings, use the following command: python manage.py diffsettings Then add the template directories that are missing. In case you've written templates for your own views, then you don't need to specify the templates directory in settings.py, as long as the directory is "/templates" ... that should get picked up by convention. --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: problem: TemplateDoesNotExist at /admin/ (linux)
If you're not using the development server (python manage.py runserver), make sure that you have set a template_dir in settings.py and make sure the webserver can read it... On Jul 26, 3:15 pm, LuXo Jarufe <luisjar...@gmail.com> wrote: > Hi, I want to use the admin but I have this problem, I was following > the tutorial in djangoproject but when I execute the admin this > appears: > > TemplateDoesNotExist at /admin/ > > admin/login.html > > Request Method: GET > Request URL: http://127.0.0.1:8000/admin/ > Exception Type: TemplateDoesNotExist > Exception Value: > > admin/login.html > > Exception Location: unknown in ?, line ? > Python Executable: /usr/bin/python > Python Version: 2.5.2 > Python Path: ['/home/luxo/Django/mysite', '/usr/lib/python2.5', '/usr/ > lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/ > python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/ > usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/ > Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/ > site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/usr/ > lib/python2.5/site-packages/gtk-2.0', '/var/lib/python-support/ > python2.5/gtk-2.0'] > > Template-loader postmortem > > Django tried loading these templates, in this order: > > * Using loader > django.template.loaders.filesystem.load_template_source: > * Using loader > django.template.loaders.app_directories.load_template_source: > o /usr/lib/python2.5/site-packages/django/contrib/admin/ > templates/admin/login.html (File exists) > > Environment: > > Request Method: GET > Request URL:http://127.0.0.1:8000/admin/ > Django Version: 1.0.2 final > Python Version: 2.5.2 > Installed Applications: > ['django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'django.contrib.admin', > 'mysite.polls'] > Installed Middleware: > ('django.middleware.common.CommonMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware') > > Template Loader Error: > Django tried loading these templates, in this order: > Using loader django.template.loaders.filesystem.load_template_source: > Using loader > django.template.loaders.app_directories.load_template_source: > /usr/lib/python2.5/site-packages/django/contrib/admin/templates/admin/ > login.html (File exists) > > Traceback: > File "unknown" in ? > ?. ??? > > Exception Type: TemplateDoesNotExist at /admin/ > Exception Value: admin/login.html > > 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
problem: TemplateDoesNotExist at /admin/ (linux)
Hi, I want to use the admin but I have this problem, I was following the tutorial in djangoproject but when I execute the admin this appears: TemplateDoesNotExist at /admin/ admin/login.html Request Method: GET Request URL:http://127.0.0.1:8000/admin/ Exception Type: TemplateDoesNotExist Exception Value: admin/login.html Exception Location: unknown in ?, line ? Python Executable: /usr/bin/python Python Version: 2.5.2 Python Path:['/home/luxo/Django/mysite', '/usr/lib/python2.5', '/usr/ lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/ python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/ usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/ Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/ site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/usr/ lib/python2.5/site-packages/gtk-2.0', '/var/lib/python-support/ python2.5/gtk-2.0'] Template-loader postmortem Django tried loading these templates, in this order: * Using loader django.template.loaders.filesystem.load_template_source: * Using loader django.template.loaders.app_directories.load_template_source: o /usr/lib/python2.5/site-packages/django/contrib/admin/ templates/admin/login.html (File exists) Environment: Request Method: GET Request URL: http://127.0.0.1:8000/admin/ Django Version: 1.0.2 final Python Version: 2.5.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'mysite.polls'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware') Template Loader Error: Django tried loading these templates, in this order: Using loader django.template.loaders.filesystem.load_template_source: Using loader django.template.loaders.app_directories.load_template_source: /usr/lib/python2.5/site-packages/django/contrib/admin/templates/admin/ login.html (File exists) Traceback: File "unknown" in ? ?. ??? Exception Type: TemplateDoesNotExist at /admin/ Exception Value: admin/login.html 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/ on Linux (Xubuntu) while doing Django Tutorial 2
On Mar 2, 10:14 am, Karen Tracey <kmtra...@gmail.com> wrote: > On Sun, Mar 1, 2009 at 10:56 PM, Chris Verehhotti < > > chris.peresso...@gmail.com> wrote: > > > > however, in my Thunar file viewer, every icon has a little "X" on it > > > -- this makes me think it's a permissions issue, but I'm a Linux n00b > > > and am not sure how to go about fixing this. Do I need to do some > > > kind of recursive chmod on the entire django tree in site-packages? > > > So. Probably was a stupid question, and I pretty much had my > > answer... looked a *nix tutorial about chmod, realized that every file > > in that django site-package was 700. I performed chmod -R 755 on the > > whole thing and it works. > > How did you install Django? It should not have been necessary to fix up the > permissions after install, and it's not something I can remember hearing > from anyone else, so whatever install method you used seems to have been a > bit unusual and somewhat broken > > Karen I've just installed Django-1.0.2-final on a Red Hat Linux system, and I've also run into this problem (TemplateDoesNotExist at /admin/). I installed django the using "python setup.py install", and all of the admin templates (located in /usr/local/lib/python2.6/site-packages/ django/contrib/admin/templates/admin) had rw permissions for the user and r for the group, but no permissions for others. I'm not sure, but one possible cause of this may relate to the umask of the user who unpacks the original Django source code (My umask is 0007). When Django is installed, does it preserve some file permissions? --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/ on Linux (Xubuntu) while doing Django Tutorial 2
On Sun, Mar 1, 2009 at 10:56 PM, Chris Verehhotti < chris.peresso...@gmail.com> wrote: > > > however, in my Thunar file viewer, every icon has a little "X" on it > > -- this makes me think it's a permissions issue, but I'm a Linux n00b > > and am not sure how to go about fixing this. Do I need to do some > > kind of recursive chmod on the entire django tree in site-packages? > > So. Probably was a stupid question, and I pretty much had my > answer... looked a *nix tutorial about chmod, realized that every file > in that django site-package was 700. I performed chmod -R 755 on the > whole thing and it works. > How did you install Django? It should not have been necessary to fix up the permissions after install, and it's not something I can remember hearing from anyone else, so whatever install method you used seems to have been a bit unusual and somewhat broken Karen --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/ on Linux (Xubuntu) while doing Django Tutorial 2
> however, in my Thunar file viewer, every icon has a little "X" on it > -- this makes me think it's a permissions issue, but I'm a Linux n00b > and am not sure how to go about fixing this. Do I need to do some > kind of recursive chmod on the entire django tree in site-packages? So. Probably was a stupid question, and I pretty much had my answer... looked a *nix tutorial about chmod, realized that every file in that django site-package was 700. I performed chmod -R 755 on the whole thing and it works. - Chris --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
TemplateDoesNotExist at /admin/ on Linux (Xubuntu) while doing Django Tutorial 2
Hi. I've read the many posts about this problem where Django's admin templates didn't exist up in Python's site-packages directory, but that doesn't seem to be my problem -- in fact, perhaps this is a question for a Linux group, but I'm hoping that there'll be a reader of this group who uses Django with Linux and can help me out. The correct templates actually are in site-packages, in my case. (The one in question for the tutorial is login.html, and it's at /usr/lib/ python2.5/site-packages/django/contrib/admin/templates/admin/); however, in my Thunar file viewer, every icon has a little "X" on it -- this makes me think it's a permissions issue, but I'm a Linux n00b and am not sure how to go about fixing this. Do I need to do some kind of recursive chmod on the entire django tree in site-packages? Or am I thinking about this incorrectly? Thanks for any help you can give, - Chris --~--~-~--~~~---~--~~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
I just got a MacBook with Tiger os. Installed MacPython and got Django from SVN. Followed the installation on how to link the django dir to the site-packages, and in my case, since is a sym link the templates are in the same tree that the django code, but still having this trouble... the path: /Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/ site-packages/django/contrib/admin/templates/admin Any clue? Regards On Jun 22, 11:03 am, sggottlieb <[EMAIL PROTECTED]> wrote: > I will do that. In the meantime, I wanted to add that to make > theadmininterface look pretty you need to copy the media directory as > well. > > --Seth > > On Jun 21, 10:24 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > > On Sat, Jun 21, 2008 at 9:22 AM, sggottlieb <[EMAIL PROTECTED]> wrote: > > > Thanks Karen! That was the issue. > > > Glad that was it, and it sounds like you could fix the symptom. To get a > > real fix implemented it would be helpful for you to post details of your > > system (new install, upgrade from an earlier OS X, whether a Macports > > version of Python had been installed, how you installed Django and what > > version) to that ticket (http://code.djangoproject.com/ticket/7414). I > > don't think we have a good handle yet on what set of circumstances, exactly, > > causes this to happen. Just several reports on this group of people hitting > > it and manually fixing it by copying over directories themselves. It would > > be nice if we could do something to fix the root problem, but first someone > > has to understand when and why it is happening. (A similar problem on > > Windows turned out to result from one and only one variant of 'python > > setup.py install' and 'setup.py install' neglecting to copy the installation > > data files, so it could be something very subtle that triggers the problem.) > > > Thanks, > > Karen --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
I will do that. In the meantime, I wanted to add that to make the admin interface look pretty you need to copy the media directory as well. --Seth On Jun 21, 10:24 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Jun 21, 2008 at 9:22 AM, sggottlieb <[EMAIL PROTECTED]> wrote: > > Thanks Karen! That was the issue. > > Glad that was it, and it sounds like you could fix the symptom. To get a > real fix implemented it would be helpful for you to post details of your > system (new install, upgrade from an earlier OS X, whether a Macports > version of Python had been installed, how you installed Django and what > version) to that ticket (http://code.djangoproject.com/ticket/7414). I > don't think we have a good handle yet on what set of circumstances, exactly, > causes this to happen. Just several reports on this group of people hitting > it and manually fixing it by copying over directories themselves. It would > be nice if we could do something to fix the root problem, but first someone > has to understand when and why it is happening. (A similar problem on > Windows turned out to result from one and only one variant of 'python > setup.py install' and 'setup.py install' neglecting to copy the installation > data files, so it could be something very subtle that triggers the problem.) > > Thanks, > Karen --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
On Sat, Jun 21, 2008 at 9:22 AM, sggottlieb <[EMAIL PROTECTED]> wrote: > Thanks Karen! That was the issue. > Glad that was it, and it sounds like you could fix the symptom. To get a real fix implemented it would be helpful for you to post details of your system (new install, upgrade from an earlier OS X, whether a Macports version of Python had been installed, how you installed Django and what version) to that ticket (http://code.djangoproject.com/ticket/7414). I don't think we have a good handle yet on what set of circumstances, exactly, causes this to happen. Just several reports on this group of people hitting it and manually fixing it by copying over directories themselves. It would be nice if we could do something to fix the root problem, but first someone has to understand when and why it is happening. (A similar problem on Windows turned out to result from one and only one variant of 'python setup.py install' and 'setup.py install' neglecting to copy the installation data files, so it could be something very subtle that triggers the problem.) Thanks, Karen --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
Thanks Karen! That was the issue. --Seth On Jun 21, 12:49 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > 2008/6/20 sggottlieb <[EMAIL PROTECTED]>: > > > > > Hello all, > > > I am running 0.96 and and was breezing through the tutorials until I > > hit the part where you enable the admin site (http:// > >www.djangoproject.com/documentation/0.96/tutorial02/). > > > I get this error message: > > > TemplateDoesNotExist at /admin/ > > admin/login.html > > Request Method: GET > > Request URL:http://localhost:8000/admin/ > > Exception Type: TemplateDoesNotExist > > Exception Value:admin/login.html > > Exception Location: /Library/Python/2.5/site-packages/django/template/ > > loader.py in find_template_source, line 72 > > Template-loader postmortem > > > Django tried loading these templates, in this order: > > >* Using loader > > django.template.loaders.filesystem.load_template_source: > >* Using loader > > django.template.loaders.app_directories.load_template_source: > > > Traceback (innermost last) > > [snipped] > > > I don't even know where to start to look for the templates for the > > admin. I looked under site packages: > > > /Library/Python/2.5/site-packages/django/contrib/admin > > > But got nothing. Does anyone have any hints where I should be > > looking? Did I miss a setup step? > > Looks like you're on a Mac? Is it Max OS X 10.5? If so then I think you > are hitting this: > > http://code.djangoproject.com/ticket/7414 > > Django code expects its data (templates, css, etc.) files to be in the same > file tree as the code, but it seems setup on Mac OS X 10.5 places them in a > completely different place. > > If this is what you are hitting then somehow you need to get the admin's > 'templates' and 'media' trees from wherever they've been placed (there's a > likely path in that ticket, or you could just copy them from the un-tarred > tarfile) over to inside the same tree as the Django Python code, looks like > that is: > > /Library/Python/2.5/site-packages/django/contrib/admin > > in your case. > > Karen --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
2008/6/20 sggottlieb <[EMAIL PROTECTED]>: > Hello all, > > I am running 0.96 and and was breezing through the tutorials until I > hit the part where you enable the admin site (http:// > www.djangoproject.com/documentation/0.96/tutorial02/). > > I get this error message: > > > TemplateDoesNotExist at /admin/ > admin/login.html > Request Method: GET > Request URL:http://localhost:8000/admin/ > Exception Type: TemplateDoesNotExist > Exception Value:admin/login.html > Exception Location: /Library/Python/2.5/site-packages/django/template/ > loader.py in find_template_source, line 72 > Template-loader postmortem > > Django tried loading these templates, in this order: > >* Using loader > django.template.loaders.filesystem.load_template_source: >* Using loader > django.template.loaders.app_directories.load_template_source: > > Traceback (innermost last) > [snipped] > > I don't even know where to start to look for the templates for the > admin. I looked under site packages: > > /Library/Python/2.5/site-packages/django/contrib/admin > > But got nothing. Does anyone have any hints where I should be > looking? Did I miss a setup step? > Looks like you're on a Mac? Is it Max OS X 10.5? If so then I think you are hitting this: http://code.djangoproject.com/ticket/7414 Django code expects its data (templates, css, etc.) files to be in the same file tree as the code, but it seems setup on Mac OS X 10.5 places them in a completely different place. If this is what you are hitting then somehow you need to get the admin's 'templates' and 'media' trees from wherever they've been placed (there's a likely path in that ticket, or you could just copy them from the un-tarred tarfile) over to inside the same tree as the Django Python code, looks like that is: /Library/Python/2.5/site-packages/django/contrib/admin in your case. Karen --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
TemplateDoesNotExist at /admin/
Hello all, I am running 0.96 and and was breezing through the tutorials until I hit the part where you enable the admin site (http:// www.djangoproject.com/documentation/0.96/tutorial02/). I get this error message: TemplateDoesNotExist at /admin/ admin/login.html Request Method: GET Request URL:http://localhost:8000/admin/ Exception Type: TemplateDoesNotExist Exception Value:admin/login.html Exception Location: /Library/Python/2.5/site-packages/django/template/ loader.py in find_template_source, line 72 Template-loader postmortem Django tried loading these templates, in this order: * Using loader django.template.loaders.filesystem.load_template_source: * Using loader django.template.loaders.app_directories.load_template_source: Traceback (innermost last) Switch back to interactive view * /Library/Python/2.5/site-packages/django/core/handlers/base.py in get_response 70. # Apply view middleware 71. for middleware_method in self._view_middleware: 72. response = middleware_method(request, callback, callback_args, callback_kwargs) 73. if response: 74. return response 75. 76. try: 77. response = callback(request, *callback_args, **callback_kwargs) ... 78. except Exception, e: 79. # If the view raised an exception, run it through exception 80. # middleware, and if the exception middleware returns a 81. # response, use that. Otherwise, reraise the exception. 82. for middleware_method in self._exception_middleware: 83. response = middleware_method(request, e) ▶ Local vars Variable Value callback callback_args () callback_kwargs {} debug e TemplateDoesNotExist('admin/login.html',) exceptions mail_admins middleware_method > request , POST:, COOKIES:{}, META:{'Apple_PubSub_Socket_Render': '/tmp/launch- yBPenp/Render', 'COMMAND_MODE': 'unix2003', 'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'DAISY_HOME': '/opt/local/daisy', 'DISPLAY': '/tmp/launch-U2kgvx/:0', 'DJANGO_SETTINGS_MODULE': 'sggsite.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HOME': '/Users/ sethgottlieb', 'HTTP_ACCEPT': 'text/xml,application/xml,application/ xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en- US,en;q=0.9,ja;q=0.8,fr;q=0.7,de;q=0.6,es;q=0.5,it;q=0.4,nl;q=0.3,sv;q=0.2,nb;q=0.1', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'localhost:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.14) Gecko/20080512 Camino/1.6.1 (like Firefox/2.0.0.14)', 'JAVA_HOME': '/System/Library/Frameworks/ JavaVM.framework/Home', 'LANG': 'en_US.UTF-8', 'LOGNAME': 'sethgottlieb', 'MANPATH': '/usr/share/man:/usr/local/share/man:/usr/ X11/man', 'OLDPWD': '/Users/sethgottlieb/Documents/workspace/dproto', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/ opt/local/bin', 'PATH_INFO': '/admin/', 'PWD': '/Users/sethgottlieb/ Documents/workspace/dproto/sggsite', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': '', 'SECURITYSESSIONID': '6baa70', 'SERVER_NAME': 'bricolagedemo.local', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.1', 'SHELL': '/bin/bash', 'SHLVL': '1', 'SSH_AUTH_SOCK': '/ tmp/launch-WZ3B0n/Listeners', 'TERM': 'xterm-color', 'TERM_PROGRAM': 'Apple_Terminal', 'TERM_PROGRAM_VERSION': '240', 'TMPDIR': '/var/ folders/-y/-yoW8z14EBWbbHRKrzrxAU+++TI/-Tmp-/', 'TZ': 'America/ Boston', 'USER': 'sethgottlieb', 'XFC_HOME': '/opt/local/xfc-41', '_': '/usr/bin/python', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'wsgi.errors': ', mode 'w' at 0x170b0>, 'wsgi.file_wrapper': , 'wsgi.input': , 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> resolver response None self settings urlconf 'sggsite.urls' urlresolvers * /Library/Python/2.5/site-packages/django/contrib/admin/views/ decorators.py in _checklogin 59. 60. # If this isn't already the login page, display it. 61. if not request.POST.has_key(LOGIN_FORM_KEY): 62. if request.POST: 63. message = _("Please log in again, because your session has expired. Don't worry: Your submission has been saved.") 64. else: 65. message = "" 66. return _display_login_form(request, message) ... 67. 68. # Check that the user accepts cookies. 69. if not request.session.test_cookie_worked(): 70. message = _("Looks like your browser
Re: TemplateDoesNotExist at /admin/
On Tue, Feb 19, 2008 at 4:28 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Feb 19, 2008 4:06 PM, RichardH <[EMAIL PROTECTED]> wrote: > > > > > Karen, > > Thanks for your analysis. Yes, I can confirm that I don't have the > > locale files either. > > Deleting my Django install and "running python setup.py install" does > > a correct install on mine as well. > > I would be interested to hear if anyone knows why the difference > > between python setup.py and setup.py? > > > I've dug into this a little further and the different results seem to be > caused by different values of the __file__ variable depending on how the > script is invoked. On Windows using 'setup.py install', __file__ is > fully-qualified (e.g. 'C:\path\to\django\setup.py') whereas with 'python > setup.py install', __file__ is simply 'setup.py'. The fuly-qualified > version causes problems since it finds its way into the destination > directory for the data files, so data files don't get copied to the > installation target directory. > > Still looking into what the right fix is, but at least now it seems like > we've got a handle on what the problem is. It's been popping up on the list > for quite a while, and I've always found it mysterious since I could never > recreate it. > > Malcolm checked in a fix for this problem yesterday (changeset 7139). So as of that revision, setup.py on Windows should work regardless of whether the command starts with "python". Hopefully that's the last of the mysterious missing admin templates. Cheers, Karen --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
On Feb 18, 2008 6:20 PM, RichardH <[EMAIL PROTECTED]> wrote: > > Just rebuilt Windows XP on a new hard disk and I have found the same > problem installing Python 2.5 and the latest SVN checkout (rev 7129). > Setup.py install doesn't copy across the templates and media folders > into C:\Python25\Lib\site-packages\django\contrib\admin. > Like Nathan, a manual copy solved the issue. > OK, I finally found a way to recreate this on my WinXP box. What I have to do is issue the command: setup.py install instead of: python setup.py install (However this directly contradicts a note earlier in this discussion where the poster says it is 'python setup.py install' that does not work, so ymmv.) I don't understand the difference, because I thought those two commands were equivalent. I checked the file type association for .py files and the action on open is defined as: "C:\bin\Python25\python.exe" "%1" %* (That's the only python installed on this box.) "Use DDE" is checked, "DDE Message" is empty, "Application" is python, "DDE Application Not Running" is empty, and "Topic" is System. Whatever that all means. Examining the output of the first command shows that 'install_data' part of the process doesn't seem to do anything: running install_scripts copying build\scripts-2.5\django-admin.py -> C:\bin\Python25\Scripts running install_data running install_egg_info Writing C:\bin\Python25\Lib\site-packages\Django-0.97_pre-py2.5.egg-info Whereas with the same command preceded by 'python', the 'install_data' step does work: running install_scripts copying build\scripts-2.5\django-admin.py -> c:\bin\Python25\Scripts running install_data creating c:\bin\Python25\Lib\site-packages\django\conf\locale creating c:\bin\Python25\Lib\site-packages\django\conf\locale\ar creating c:\bin\Python25\Lib\site-packages\django\conf\locale\ar\LC_MESSAGES copying django\conf\locale\ar\LC_MESSAGES\django.mo -> c:\bin\Python25\Lib\site-packages\django\conf\locale\ar\LC_MESSAGES [much more snipped, including creating/copying all the admin media and template files] Other than the 'install_data' difference, the output of the two different ways of invoking setup seems to be identical. I would be interested if others who have run into this problem can duplicate the different results of these commands. Also wondering if people who were missing templates and media files are also missing locale files? Karen > > On Feb 4, 12:07 am, Nathan <[EMAIL PROTECTED]> wrote: > > Same error here on Mac OS X Leopard, having installed from the 0.96.1 > > tarball via setup.py. > > > > TemplateDoesNotExist at /admin/ > > admin/login.html > > > > Those folders are not present in: > > /Library/Python/2.5/site-packages/django/contrib/admin/ > > > > A manual copy + authenticate resolved the issue. > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
Just rebuilt Windows XP on a new hard disk and I have found the same problem installing Python 2.5 and the latest SVN checkout (rev 7129). Setup.py install doesn't copy across the templates and media folders into C:\Python25\Lib\site-packages\django\contrib\admin. Like Nathan, a manual copy solved the issue. RichardH On Feb 4, 12:07 am, Nathan <[EMAIL PROTECTED]> wrote: > Same error here on Mac OS X Leopard, having installed from the 0.96.1 > tarball via setup.py. > > TemplateDoesNotExist at /admin/ > admin/login.html > > Those folders are not present in: > /Library/Python/2.5/site-packages/django/contrib/admin/ > > A manual copy + authenticate resolved the issue. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
TemplateDoesNotExist at /admin/
I am new to Django and working my way through the Django book, which I believe is the 0.96 release. I'm up to Chapter 6 and trying to get the admin site to work. When my browser goes to http://.../admin/, I get the message in the subject line. I'm guessing that the admin directory under mysite needs to have the file login.html. Is this right? Where can I find this file? Thanks, Roy Here is the top part of the error page displayed by the development server: TemplateDoesNotExist at /admin/ admin/login.html Request Method: GET Request URL: http://127.0.0.1:8000/admin/ Exception Type: TemplateDoesNotExist Exception Value: admin/login.html Exception Location: /Library/Python/2.5/site-packages/django/template/loader.py in find_template_source, line 72 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
Same error here on Mac OS X Leopard, having installed from the 0.96.1 tarball via setup.py. TemplateDoesNotExist at /admin/ admin/login.html Those folders are not present in: /Library/Python/2.5/site-packages/django/contrib/admin/ A manual copy + authenticate resolved the issue. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
What I found is the following: Platform: Windows-XP (1) When I check out the trunk from svn (svn co http://code.djangoproject.com/svn/django/trunk django-source) and then run "python setup.py install" from django- source, the script does not install the following: site_packages/django/contrib/admin/templates site_packages/django/contrib/admin/media When I look in the "build" directory (django-source/build) which is generated when I run "python setup.py install", the above two directories are missing (2) If I manually copy these two directories from django-source/django/ contrib/admin to site_packages/django/ I no longer get this error on the tutorial (3) I do not have this project if I use 0.96, ie the "official release" (4) However, when I use the official release, I have a different problem in that setup.py does not work. This is referenced in another thread. Apparently there is a bug in setup.py & MANIFEST.in in the 0.96 "official release" that was fixed soon after the release. I am too new to django to offer to fix this trunk and contribute and am certain that it will be fixed in the next "official release" On Jan 16, 1:57 pm, Guillermo <[EMAIL PROTECTED]> wrote: > Now it worked! :-) > > These two folders were missing in my install: > > python/libs/site_packges/django/contrib/admin/templates > python/libs/site_packges/django/contrib/admin/media > > Copying them from the downloaded django installation files does the > trick. > > Cheers, > > Guillermo --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
Now it worked! :-) These two folders were missing in my install: python/libs/site_packges/django/contrib/admin/templates python/libs/site_packges/django/contrib/admin/media Copying them from the downloaded django installation files does the trick. Cheers, Guillermo --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
> How did you get/install 0.96? I've seen this reported before but I don't > know what causes it, and have not been able to recreate it myself. You are > missing the admin templates. I downloaded the official release from the Django Project site and followed the installation tutorial. I doubt this is the root of the problem, but I installed Django from a different partition than Python. >One fix (assuming nothing else is missing) > would be to untar the 0.96 release file and manually xcopy the > django/contrib/admin/templates tree to where it belongs in your > site-packages directory. I thought of that as soon as I saw J. Cliff Dyer's post. I'll give it a try and post back with the results. Thanks, Guillermo --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
On Jan 16, 2008 8:21 AM, Guillermo <[EMAIL PROTECTED]> wrote: > It doesn't work. :-( > > Two things, though I suppose it was a typo: > > Instead of: > > python/libs/site_packges/django/contrib/admin/templates > > ... i only found: > > python/libs/site_packges/django/contrib/admin/templatetags > > Is that correct? There are no html files in this folder, only python > code. > How did you get/install 0.96? I've seen this reported before but I don't know what causes it, and have not been able to recreate it myself. You are missing the admin templates. One fix (assuming nothing else is missing) would be to untar the 0.96 release file and manually xcopy the django/contrib/admin/templates tree to where it belongs in your site-packages directory. Karen --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
Guillermo wrote: > It doesn't work. :-( > > Two things, though I suppose it was a typo: > > Instead of: > > python/libs/site_packges/django/contrib/admin/templates > > ... i only found: > > python/libs/site_packges/django/contrib/admin/templatetags > > Is that correct? There are no html files in this folder, only python > code. > > Nope. $ ls lib/python2.4/site-packages/django/contrib/admin/ filterspecs.py media templates urls.py views __init__.py models.py templatetags utils.py > Regards, > > Guillermo > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
It doesn't work. :-( Two things, though I suppose it was a typo: Instead of: python/libs/site_packges/django/contrib/admin/templates ... i only found: python/libs/site_packges/django/contrib/admin/templatetags Is that correct? There are no html files in this folder, only python code. Regards, Guillermo On Jan 16, 1:37 am, 1234 <[EMAIL PROTECTED]> wrote: > settings.py > > TEMPLATE_DIRS = ( > # Put strings here, like "/home/html/django_templates" or > "C:/www/django/templates". > # Always use forward slashes, even on Windows. > # Don't forget to use absolute paths, not relative paths. > #"./templates/", > "E:/myproject/wedding/templates/", > ) > > you can copy python/libs/site_packges/django/contrib/admin/templates in you > project templates > > 2008/1/16, Guillermo <[EMAIL PROTECTED]>: > > > > > Hi all, > > > I'm using Windows XP SP2 + Django 0.96.1. > > > Following along the tutorial, I got this error when I tried to access > > the admin interface for the first time: > > > TemplateDoesNotExist at /admin/ > > admin/login.html > > Request Method: GET > > Request URL:http://127.0.0.1:8000/admin/ > > Exception Type: TemplateDoesNotExist > > Exception Value:admin/login.html > > Exception Location: C:\Python25\lib\site-packages\django\template > > \loader.py in find_template_source, line 72 > > > I've seen in this board that people solved the issue updating to the > > dev version, but that's out of the question for me now --can't use > > Subversion. > > > I've gone through the tutorial twice step by step, so I don't think I > > forgot any instructions explained there. > > > Does anyone know how to fix this? I'm dying to start developing > > websites with Django! > > > Regards, > > > Guillermo --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: TemplateDoesNotExist at /admin/
settings.py TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Always use forward slashes, even on Windows. # Don't forget to use absolute paths, not relative paths. #"./templates/", "E:/myproject/wedding/templates/", ) you can copy python/libs/site_packges/django/contrib/admin/templates in you project templates 2008/1/16, Guillermo <[EMAIL PROTECTED]>: > > > > Hi all, > > I'm using Windows XP SP2 + Django 0.96.1. > > Following along the tutorial, I got this error when I tried to access > the admin interface for the first time: > > TemplateDoesNotExist at /admin/ > admin/login.html > Request Method: GET > Request URL:http://127.0.0.1:8000/admin/ > Exception Type: TemplateDoesNotExist > Exception Value:admin/login.html > Exception Location: C:\Python25\lib\site-packages\django\template > \loader.py in find_template_source, line 72 > > I've seen in this board that people solved the issue updating to the > dev version, but that's out of the question for me now --can't use > Subversion. > > I've gone through the tutorial twice step by step, so I don't think I > forgot any instructions explained there. > > Does anyone know how to fix this? I'm dying to start developing > websites with Django! > > Regards, > > Guillermo > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
TemplateDoesNotExist at /admin/
Hi all, I'm using Windows XP SP2 + Django 0.96.1. Following along the tutorial, I got this error when I tried to access the admin interface for the first time: TemplateDoesNotExist at /admin/ admin/login.html Request Method: GET Request URL:http://127.0.0.1:8000/admin/ Exception Type: TemplateDoesNotExist Exception Value:admin/login.html Exception Location: C:\Python25\lib\site-packages\django\template \loader.py in find_template_source, line 72 I've seen in this board that people solved the issue updating to the dev version, but that's out of the question for me now --can't use Subversion. I've gone through the tutorial twice step by step, so I don't think I forgot any instructions explained there. Does anyone know how to fix this? I'm dying to start developing websites with Django! Regards, Guillermo --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Tutorial 2 error - "TemplateDoesNotExist at /admin/"
My apologies for a clerical error on my part... I had incorrectly checked out the entire SVN "django/trunk" files instead of just the "django/trunk/django" files to my "site-packages/ django" dir. I've fixed that problem, and now all is quiet on the tutorial front :) -Cheers, -Basilisk96 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Tutorial 2 error - "TemplateDoesNotExist at /admin/"
I've completed Tutorial 1 without problems. I am running the following: WinXP SP2 Python 2.5 Django current SVN version, rev 6917 MySQL 5.0 Apache 2.2.6 Instead of the example "mysite" I used "amvsite", and everything in Tutorial 1 worked well. Moving on to Tutorial 2, I followed the instructions to set up a basic admin site, ran the dev server, and upon loading it in a browser, I get the following traceback in the "copy-and-paste" view: Environment: Request Method: GET Request URL: http://127.0.0.1:8000/admin/ Django Version: 0.97-pre-SVN-6638 Python Version: 2.5.0 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'amvsite.polls', 'django.contrib.admin'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware') Template Loader Error: Django tried loading these templates, in this order: Using loader django.template.loaders.filesystem.load_template_source: Using loader django.template.loaders.app_directories.load_template_source: Traceback: File "D:\Python25\Lib\site-packages\django\core\handlers\base.py" in get_response 82. response = callback(request, *callback_args, **callback_kwargs) File "D:\Python25\Lib\site-packages\django\contrib\admin\views \decorators.py" in _checklogin 66. return _display_login_form(request, message) File "D:\Python25\Lib\site-packages\django\contrib\admin\views \decorators.py" in _display_login_form 29. }, context_instance=template.RequestContext(request)) File "D:\Python25\Lib\site-packages\django\shortcuts\__init__.py" in render_to_response 18. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File "D:\Python25\Lib\site-packages\django\template\loader.py" in render_to_string 101. t = get_template(template_name) File "D:\Python25\Lib\site-packages\django\template\loader.py" in get_template 79. source, origin = find_template_source(template_name) File "D:\Python25\Lib\site-packages\django\template\loader.py" in find_template_source 72. raise TemplateDoesNotExist, name Exception Type: TemplateDoesNotExist at /admin/ Exception Value: admin/login.html It seems I am missing a template, so how do I set it up? Cheers, -Basilisk96 --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---