thanks, my problem has been solved.

On Feb 13, 2:33 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Feb 13, 2008 8:24 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > 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
>
> Running in production under apache/mod_python?  Or something else?
>
>
>
> > 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.
>
> That command is missing "runserver" before the --adminmedia part.  But
> unless you are running your production site using the development server (
> manage.py runserver), this command isn't going to help you at all.  If you
> want to change your production server setup we first need to know what it is
> -- apache/mod_python or something else?
>
>
>
> > Thanks for reply
>
> > by the way, there is the --adminmedia option for development version?
>
> I'm not sure what you are asking here?
>
> Karen
>
>
>
> > 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