Is these  setting of my  setting.py  files are  correct ?

setting is :-
MEDIA_ROOT = '/home/your_name/mysite/media/'

MEDIA_URL = 'http://localhost/media'

ADMIN_MEDIA_PREFIX = '/media/'

On Jun 20, 2:08 pm, Jagdeep Singh Malhi <singh.malh...@gmail.com>
wrote:
> On Jun 19, 10:36 pm, Justin Myers <masterb...@gmail.com> wrote:> Have you set 
> your MEDIA_ROOT, MEDIA_URL and ADMIN_MEDIA_PREFIX
> > settings in settings.py?
>
> setting is :-
> MEDIA_ROOT = '/home/your_name/mysite/media/'
>
> MEDIA_URL = 'http://localhost/media'
>
> ADMIN_MEDIA_PREFIX = '/media/'
>
> > On Jun 19, 12:06 pm, Jagdeep Singh Malhi <singh.malh...@gmail.com>
> > wrote:
>
> > > now my httpd.conf   file is :-
>
> > > Alias /media/ /usr/local/lib/python2.6/dist-packages/django/contrib/
> > > admin/media/
>
> > > <Directory /usr/local/lib/python2.6/dist-packages/django/contrib/admin/
> > > media/>
> > > Order deny,allow
> > > Allow from all
> > > </Directory>
>
> > > WSGIScriptAlias / /home/jagdeep/mysite/apache/django.wsgi
>
> > > <Directory /home/jagdeep/mysite/apache>
> > > Order allow,deny
> > > Allow from all
> > > </Directory>
>
> > > but myhttp://localhost/admin/is not show in graphic format or not
> > > use css files
>
> > > its again show in this format
>
> > > MY admin page (http://localhost/admin/)
>
> > >  Django administration
> > >  Welcome, Jagdeep. Change password / Log out
> > >  Site administration
> > >    Auth
> > >  Groups  Add     Change
> > >  Users   Add     Change
> > >     Polls
> > >  Polls   Add     Change
> > >     Sites
> > >  Sites   Add     Change
>
> > >  Recent Actions
> > >  My Actions
>
> > > but  i can do sir ???

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

Reply via email to