problem by creating a symbolic link inside my media folder pointing to
the admin site that is instaled with django. Something like this:
admin -> /usr/share/pyshared/django/contrib/admin/media/
Of course, this would only work in unix environments. I've tried to
solve it by tweaking with the settings.py file, but couldn't find a
solution. The link did the trick.
My regards,
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD 4.5
Ubuntu 9.04 Jaunty Jackalope
4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85
rebus_ wrote:
> On 26 October 2010 06:48, marcoarreguin <marcoarreguin@gmail.com> wrote:
>
>> I'm starting with Django and I have a bluehost, yesterday I have been
>> installing all the stuff, I found a tutorial about how to install
>> django in bluehost, so I'm using fcgi.
>>
>> My problem is that when I uncomment the necesary things to run my
>> admin, it runs, but it hasn't a layout like the images in the
>> tutoriales, like the login box is centered and have a blue rectangle,
>> I just have a little login in the left part of my screen without
>> colors and that stuff, and when I login, it happens the same I can see
>> my groups and all stuff but without format. ¿Do you know why is happen
>> this to me?
>>
>> A hug, and I'm glad to be part of the community.
>>
>> --
>> 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+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>>
>>
>>
>
> Check your ADMIN_MEDIA_PREFIX setting, the url it defines should serve
> static media content by a web server, yours is probably been handled
> by Django and thus not serving any static files (such as css)
>
> # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
> # trailing slash.
> # Examples: "http://foo.com/media/", "/media/".
> ADMIN_MEDIA_PREFIX = '/admin-media/'
>
>
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment