Hi Karen:

it's running on production(0.96).

and the django project path is:
/home/xxd/Desktop/Django-0.96.1/django/bin/project

I'd like to move the admin page media path from
/usr/lib/python2.5/site-packages/django/contrib/admin/media
to
/home/xxd/Desktop/Django-0.96.1/django/bin/projec/media/admin_media

so that i tried to use the command
python manage.py --adminmedia='/home/xxd/Desktop/Django-0.96.1/django/
bin/projec/media/admin_media/'
but it does not work.

Thanks for reply

by the way, there is the --adminmedia option for development version?

On Feb 13, 1:51 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Feb 13, 2008 5:41 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
>
> > Hello everyone!
> > I'd like to change the Admin Page media path for my website which is
> > based on Django.
>
> Are you running this site in production (apache, perhaps?) or development
> (using the built-in development server)?
>
> > However, i tried that command below:
> > manage.py --adminmedia='/home/media/'
>
> --adminmedia is an option to the runserver command, so is only used when you
> are running in development.  That particular command you quote has no
> subcommand at all, so yes, that doesn't work at all.  (Actually providing
> the output from the command would be more helpful to people trying to help
> than simply saying it doesn't work at all.)
>
> > but it does not work at all, so i have to edit the css or to add new
> > javascript code into:
> > /usr/lib/python2.5/site-packages/django/contrib/admin/media
> > and obviously that's not good enough :)
>
> > So does anyone know that how can i change my Django Adminpage Media
> > Path?
>
> Depends on whether you are running development or production, so give us
> some more details on your setup and someone can probably help.
>
> Karen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to