Re: Admin page without formatting and looks

2007-05-24 Thread [EMAIL PROTECTED]

thanks Kelvin it really worked. thank you very much

Dushyant Sharma


--~--~-~--~~~---~--~~
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: Admin page without formatting and looks

2007-05-24 Thread Kelvin Nicholson

  now when i start admin page it
> shows plain page without any look and feel.

[snip]

> 
> Alias /media/ "/usr/local/lib/python2.5/site-packages/django/contrib/
> admin/media/"
> 


My .02: are you running the media files off the same server as django? 
You might need to try:

 
 SetHandler None
 

Alternatively, you can try to just create a symlink from your web root 
/media to the respective media in the admin contrib.



-- 
Kelvin Nicholson
Voice: +886 9 52152 336
Voice: +1 503 715 5535
GPG Keyid: 27449C8C
Data: [EMAIL PROTECTED]
Skype: yj_kelvin
Site: http://www.kelvinism.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
-~--~~~~--~~--~--~---



Admin page without formatting and looks

2007-05-23 Thread [EMAIL PROTECTED]

i have installed apache2 and django 0.96 with mysql. i have a small
application installed with this setup. now when i start admin page it
shows plain page without any look and feel. i can see it with django
internal server. i read previous article on it and made some changes
but still does not work.  other things are working just fine. my
configuration is as follows:

lines added in httpd.conf file

Alias /media/ "/usr/local/lib/python2.5/site-packages/django/contrib/
admin/media/"


Order Deny,Allow
Allow from all


remaining is same

settings.py and urls.py is set according to django official guide as
things are working with django internal server

access_log shows
127.0.0.1 - - [23/May/2007:07:09:55 -0500] "GET /admin HTTP/1.1" 301
- this line appears only once when i make some change in
httpd.conf
127.0.0.1 - - [23/May/2007:07:09:55 -0500] "GET /admin/ HTTP/1.1" 200
1620
127.0.0.1 - - [23/May/2007:07:09:56 -0500] "GET /media/css/login.css
HTTP/1.1" 404 2647

yes one more thing i would like to add is previous http status code
was of access denied  unauthorized access 401 before i made above
changes to httpd.conf. if it was unauthorized then how come it went
missing after these changes and if i comment above changes it still
shows 404 instead of 401.


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