So I did the right thing... nice!

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



Daniel Roseman wrote:
On Oct 26, 1:25 pm, Giancarlo Razzolini <grazzol...@gmail.com> wrote:
I had this same problem when hosting it with apache. I solved the
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,

There's no tweaking of settings.py that can somehow 'fix' this.
Setting up Apache to serve the files is the only correct thing to do,
whether that's by symlinking or whatever.
--
DR.


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