Hello,
You can create a sym link to folder with static files of django admin
in your static folder. And then all will work.
As example:
I have debian squeeze. Admin static has a path:
/usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin
You must do the next:
$ cd path_to_yout_static_folder
$ ln -s /usr/lib/python2.7/dist-packages/django/contrib/admin/static/
admin/ admin

Then check owner and permission of sym link.

I think that this just a trick, but i don`t know better way.

On Apr 21, 4:59 am, Gerald Klein <j...@zognet.com> wrote:
> I guess the problem I am having at this point is that the css files for
> admin are generated dynamically and I don't know where from as far as what
> the path should be that I could map it. I tried setting up the static
> mapping but I don't know what to point to as it's root.
>
> thanks
>
> --jerry
>
> On Fri, Apr 20, 2012 at 6:29 PM, Mohd Kamal Bin Mustafa 
> <ka...@smach.net>wrote:
>
>
>
>
>
>
>
>
>
> > On Sat, Apr 21, 2012 at 7:12 AM, Gerald Klein <j...@zognet.com> wrote:
> > > Hi, I did the tutorial everything is fine, I wanted to see how it was off
> > > the dev webserver they give you , so I hooked it up to uWSGI. The views
> > that
> > > I defined are fine but the admin has no formatting just data. Can someone
> > > tell me what I missed.
>
> > Sound like you're not properly configure the server to serve static
> > content. View source for the html through your browser, pick any
> > references to css or js files - something like
> >http://yoursite.com/static/admin/styles.cssor
> >http://localhost:8000/static/admin/style.cssand try to access it
> > directly. If you got 404 - Page Not Found then you need to configure
> > uWSGI to serve the static files. It maybe not a good idea to serve the
> > static files through uWSGI but you can figure out that later once you
> > understand and fix this problem.
>
> >https://docs.djangoproject.com/en/1.3/howto/static-files/
>
> > --
> > 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.
>
> --
>
> Gerald Klein DBA****
>
> contac...@geraldklein.com
>
> www.geraldklein.com<http://geraldklein.com/>****
>
> j...@zognet.com****
>
> 708-599-0352****
>
> Linux registered user #548580

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

Reply via email to