Re: missing template for admin

2008-10-20 Thread Thomas Guettler

DanJ schrieb:
> Hi,
>
> I'm new to Django so please pardon my ignorance.
> I've just installed Django 1.0 from SVN. I'm trying to follow the
> tutorial, while at the same time use Apache and mod_python.
>
> When I point my browser to the admin site I get a simple text version,
> as if it missing the template.
> - Are there any logs to check in order to verify if the template was
> not found?
> - What could be causing this error?
>   
Hi,

what does the text contain? Do you see python code? If yes,
the web server does not execute your code.

If you are on unix, go to /var/lib/apache2 and execute 'ls -ltr'
(sort logfiles by date). There should be some error log file. Maybe
this contains some more information.

BTW, mod_wsgi is much better supported and easier to handle than mod_python.

  Thomas Güttler

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de


--~--~-~--~~~---~--~~
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: missing template for admin

2008-10-19 Thread Steve Holden

DanJ wrote:
> Hi,
> 
> I'm new to Django so please pardon my ignorance.
> I've just installed Django 1.0 from SVN. I'm trying to follow the
> tutorial, while at the same time use Apache and mod_python.
> 
> When I point my browser to the admin site I get a simple text version,
> as if it missing the template.
> - Are there any logs to check in order to verify if the template was
> not found?
> - What could be causing this error?

The issue here is that the CSS files aren't being served by Apache. Take
a look at

http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#serving-media-files

to see how to configure Apache to serve the files.

regards
 Steve
-- 
Steve Holden+1 571 484 6266   +1 800 494 3119
Holden Web LLC  http://www.holdenweb.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



missing template for admin

2008-10-19 Thread DanJ

Hi,

I'm new to Django so please pardon my ignorance.
I've just installed Django 1.0 from SVN. I'm trying to follow the
tutorial, while at the same time use Apache and mod_python.

When I point my browser to the admin site I get a simple text version,
as if it missing the template.
- Are there any logs to check in order to verify if the template was
not found?
- What could be causing this error?

Thanks,
Dan

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---