Re: Django-admin {{ root_path }} problem !

2009-07-23 Thread Dr.Hamza Mousa
reinstall the django to the latest development version of the trunk solve
the issue , thank you



On Thu, Jul 23, 2009 at 10:39 AM, Dr.Hamza Mousa wrote:

> Thanks again Russell
>
> The admin templates i put in /templates/admin is working very well the css
> is extended and also customize the base template file ( still working thu )
> ( forget to say i already set the template dir in settings.py : sorry )  , i
> also registered the application .
>
> yes the admin working correctly and still working thu :)
>
> about old files of django RC 1.1 somewhere i think so cause this issue is
> not happening on Windows Django 1.1 !!!
>
> will check if reinstalling django will work !
>
> Thanks
>
>
>
>
> On Thu, Jul 23, 2009 at 10:22 AM, Russell Keith-Magee <
> freakboy3...@gmail.com> wrote:
>
>>
>> On Thu, Jul 23, 2009 at 2:30 PM, Dr.Hamza Mousa
>> wrote:
>> > Hi Russell
>> >
>> > The admin templates i copied into /templates/admin/ .
>> >
>> > The idea : i need to customize the admin for a project am working on .
>> >
>> > -details :
>> >
>> > installed django RC 1.1 , ubuntu linux 9.04 .
>> >
>> > so i ran :
>> >
>> > django-admin.py startproject emr_admin
>> >
>> > , python manage.py startapp emr
>> >
>> > defined my first model in the emr/models.py
>> >
>> > added the django.contrib.admin in emr_admin/settings.py
>> >
>> > then ran : python manage.py syncdb
>> >
>> > urls.py :
>> >
>> > -
>> > from django.contrib import admin
>> > admin.autodiscover()
>> >
>> > and in : urlpatterns  i added the admin urls
>> >
>> >
>> > (r'^admin/', include(ad
>> >
>> > min.site.urls)),
>> > 
>> >
>> >
>> >
>> >
>> > 
>> > Django admin Template files :
>> >
>> > to extend the admin css style i copied the admin template from the
>> django RC
>> > 1.1 to /templates/admin/ like base.html , base_site.html , index.html
>> ..
>> >
>> > so now they are in
>> >
>> > /templates/admin/
>>
>> I should point out that unless you make a modification to
>> TEMPLATE_DIRS in your settings file, copying the template files will
>> have no effect at all. From the point of view of these instructions,
>> copying the template files is a no op - the admin won't pay any
>> attention to the files in /templates.
>>
>> > 
>> >
>> > emr/admin.py :
>> >
>> > so it all runs so fine ,
>>
>> To clarify - Are you saying that at this point in the process, the
>> admin site URLs are displayed correctly?
>>
>> > register my app models in emr/admin.py
>>
>> I presume you have also put emr into INSTALLED_APPS at some point in
>> this process?
>>
>> > :
>> > from django.contrib import admin
>> > from django import forms
>> >
>> > from emr_admin.emr.models import *
>> >
>> > class PatientForm(forms.ModelForm):
>> > comment = forms.CharField(widget=forms.Textarea(attrs={'rows':4,
>> > 'cols':60}),label='Comment',help_text="")
>> > sex =
>> forms.CharField(widget=forms.RadioSelect(choices=SEX),label='Sex')
>> > smoking =
>> >
>> forms.CharField(widget=forms.RadioSelect(choices=SMOKING),label='Smoking')
>> > maritalstatus =
>> > forms.CharField(widget=forms.RadioSelect(choices=Marital_STATS))
>> >
>> >
>> >
>> > class PatientAdmin(admin.ModelAdmin):
>> >list_display = ( 'name', 'sex','maritalstatus', 'bdate','jobtitle')
>> >list_display_links = ( 'name', 'sex','maritalstatus',
>> 'bdate','jobtitle')
>> >search_fields = ('name', 'jobtitle')
>> >list_filter = ('jobtitle','sex')
>> >list_per_page = 25
>> >ordering = ['name']
>> >form = PatientForm
>> >
>> >
>> > admin.site.register(Patient , PatientAdmin)
>> >
>> >
>> >
>> > -
>> > everything working so fine at the admin side , however the only thing is
>> not
>> > working is the logout and change password , when i direct the url to the
>> > change password form and change my password , it redirect me to the
>> wrong
>> > url as well :
>> >
>> > http://localhost:8000/admin/password_change/admin/password_change/done/
>> >
>> >
>> > thats what happend so far :
>>
>> I don't experience any problems when I follow these instructions. I am
>> shown links to  /admin/password_change/ and /admin/logout/; I get
>> redirected to /admin/password_change/done/ when I change my password.
>>
>> The fact that your instructions don't include any reference to
>> changing TEMPLATE_DIRS leads me suspect that one of three things is
>> happening:
>>
>> 1) You're actually pointing at a different set of templates than you
>> think you are (and those templates are using the old linking scheme
>> for the logout and password change links)
>>
>> 2) You don't have a complete and correct checkout of Django v1.1 RC1
>>
>> 3) In addition to a complete and correct checkout of Django v1.1 RC1,
>> you have an older (pre v1.1 RC1) checkout somewhere, and it is this
>> checkout that is being used to provide admin templates.
>>
>> Could you please check the contents of the TEMPLATE_DIRS settings of
>> your 

Re: Django-admin {{ root_path }} problem !

2009-07-23 Thread Dr.Hamza Mousa
Thanks again Russell

The admin templates i put in /templates/admin is working very well the css
is extended and also customize the base template file ( still working thu )
( forget to say i already set the template dir in settings.py : sorry )  , i
also registered the application .

yes the admin working correctly and still working thu :)

about old files of django RC 1.1 somewhere i think so cause this issue is
not happening on Windows Django 1.1 !!!

will check if reinstalling django will work !

Thanks



On Thu, Jul 23, 2009 at 10:22 AM, Russell Keith-Magee <
freakboy3...@gmail.com> wrote:

>
> On Thu, Jul 23, 2009 at 2:30 PM, Dr.Hamza Mousa
> wrote:
> > Hi Russell
> >
> > The admin templates i copied into /templates/admin/ .
> >
> > The idea : i need to customize the admin for a project am working on .
> >
> > -details :
> >
> > installed django RC 1.1 , ubuntu linux 9.04 .
> >
> > so i ran :
> >
> > django-admin.py startproject emr_admin
> >
> > , python manage.py startapp emr
> >
> > defined my first model in the emr/models.py
> >
> > added the django.contrib.admin in emr_admin/settings.py
> >
> > then ran : python manage.py syncdb
> >
> > urls.py :
> >
> > -
> > from django.contrib import admin
> > admin.autodiscover()
> >
> > and in : urlpatterns  i added the admin urls
> >
> >
> > (r'^admin/', include(ad
> >
> > min.site.urls)),
> > 
> >
> >
> >
> >
> > 
> > Django admin Template files :
> >
> > to extend the admin css style i copied the admin template from the django
> RC
> > 1.1 to /templates/admin/ like base.html , base_site.html , index.html
> ..
> >
> > so now they are in
> >
> > /templates/admin/
>
> I should point out that unless you make a modification to
> TEMPLATE_DIRS in your settings file, copying the template files will
> have no effect at all. From the point of view of these instructions,
> copying the template files is a no op - the admin won't pay any
> attention to the files in /templates.
>
> > 
> >
> > emr/admin.py :
> >
> > so it all runs so fine ,
>
> To clarify - Are you saying that at this point in the process, the
> admin site URLs are displayed correctly?
>
> > register my app models in emr/admin.py
>
> I presume you have also put emr into INSTALLED_APPS at some point in
> this process?
>
> > :
> > from django.contrib import admin
> > from django import forms
> >
> > from emr_admin.emr.models import *
> >
> > class PatientForm(forms.ModelForm):
> > comment = forms.CharField(widget=forms.Textarea(attrs={'rows':4,
> > 'cols':60}),label='Comment',help_text="")
> > sex =
> forms.CharField(widget=forms.RadioSelect(choices=SEX),label='Sex')
> > smoking =
> >
> forms.CharField(widget=forms.RadioSelect(choices=SMOKING),label='Smoking')
> > maritalstatus =
> > forms.CharField(widget=forms.RadioSelect(choices=Marital_STATS))
> >
> >
> >
> > class PatientAdmin(admin.ModelAdmin):
> >list_display = ( 'name', 'sex','maritalstatus', 'bdate','jobtitle')
> >list_display_links = ( 'name', 'sex','maritalstatus',
> 'bdate','jobtitle')
> >search_fields = ('name', 'jobtitle')
> >list_filter = ('jobtitle','sex')
> >list_per_page = 25
> >ordering = ['name']
> >form = PatientForm
> >
> >
> > admin.site.register(Patient , PatientAdmin)
> >
> >
> >
> > -
> > everything working so fine at the admin side , however the only thing is
> not
> > working is the logout and change password , when i direct the url to the
> > change password form and change my password , it redirect me to the wrong
> > url as well :
> >
> > http://localhost:8000/admin/password_change/admin/password_change/done/
> >
> >
> > thats what happend so far :
>
> I don't experience any problems when I follow these instructions. I am
> shown links to  /admin/password_change/ and /admin/logout/; I get
> redirected to /admin/password_change/done/ when I change my password.
>
> The fact that your instructions don't include any reference to
> changing TEMPLATE_DIRS leads me suspect that one of three things is
> happening:
>
> 1) You're actually pointing at a different set of templates than you
> think you are (and those templates are using the old linking scheme
> for the logout and password change links)
>
> 2) You don't have a complete and correct checkout of Django v1.1 RC1
>
> 3) In addition to a complete and correct checkout of Django v1.1 RC1,
> you have an older (pre v1.1 RC1) checkout somewhere, and it is this
> checkout that is being used to provide admin templates.
>
> Could you please check the contents of the TEMPLATE_DIRS settings of
> your project, and then check your PYTHONPATH very closely to see if
> any of these conditions are correct?
>
> Yours,
> Russ Magee %-)
>
> >
>


-- 
Hamza E.e Mousa

www.neoxero.com
www.goomedic.com
www.medpeek.com
www.freewaydesign.com

http://www.twitter.com/hamzamusa
http://twitter.com/goomedic

--~--~-~--~~~---~--~~
You received 

Re: Django-admin {{ root_path }} problem !

2009-07-23 Thread Russell Keith-Magee

On Thu, Jul 23, 2009 at 2:30 PM, Dr.Hamza Mousa wrote:
> Hi Russell
>
> The admin templates i copied into /templates/admin/ .
>
> The idea : i need to customize the admin for a project am working on .
>
> -details :
>
> installed django RC 1.1 , ubuntu linux 9.04 .
>
> so i ran :
>
> django-admin.py startproject emr_admin
>
> , python manage.py startapp emr
>
> defined my first model in the emr/models.py
>
> added the django.contrib.admin in emr_admin/settings.py
>
> then ran : python manage.py syncdb
>
> urls.py :
>
> -
> from django.contrib import admin
> admin.autodiscover()
>
> and in : urlpatterns  i added the admin urls
>
>
> (r'^admin/', include(ad
>
> min.site.urls)),
> 
>
>
>
>
> 
> Django admin Template files :
>
> to extend the admin css style i copied the admin template from the django RC
> 1.1 to /templates/admin/ like base.html , base_site.html , index.html ..
>
> so now they are in
>
> /templates/admin/

I should point out that unless you make a modification to
TEMPLATE_DIRS in your settings file, copying the template files will
have no effect at all. From the point of view of these instructions,
copying the template files is a no op - the admin won't pay any
attention to the files in /templates.

> 
>
> emr/admin.py :
>
> so it all runs so fine ,

To clarify - Are you saying that at this point in the process, the
admin site URLs are displayed correctly?

> register my app models in emr/admin.py

I presume you have also put emr into INSTALLED_APPS at some point in
this process?

> :
> from django.contrib import admin
> from django import forms
>
> from emr_admin.emr.models import *
>
> class PatientForm(forms.ModelForm):
>     comment = forms.CharField(widget=forms.Textarea(attrs={'rows':4,
> 'cols':60}),label='Comment',help_text="")
>     sex = forms.CharField(widget=forms.RadioSelect(choices=SEX),label='Sex')
>     smoking =
> forms.CharField(widget=forms.RadioSelect(choices=SMOKING),label='Smoking')
>     maritalstatus =
> forms.CharField(widget=forms.RadioSelect(choices=Marital_STATS))
>
>
>
> class PatientAdmin(admin.ModelAdmin):
>    list_display = ( 'name', 'sex','maritalstatus', 'bdate','jobtitle')
>    list_display_links = ( 'name', 'sex','maritalstatus', 'bdate','jobtitle')
>    search_fields = ('name', 'jobtitle')
>    list_filter = ('jobtitle','sex')
>    list_per_page = 25
>    ordering = ['name']
>    form = PatientForm
>
>
> admin.site.register(Patient , PatientAdmin)
>
>
>
> -
> everything working so fine at the admin side , however the only thing is not
> working is the logout and change password , when i direct the url to the
> change password form and change my password , it redirect me to the wrong
> url as well :
>
> http://localhost:8000/admin/password_change/admin/password_change/done/
>
>
> thats what happend so far :

I don't experience any problems when I follow these instructions. I am
shown links to  /admin/password_change/ and /admin/logout/; I get
redirected to /admin/password_change/done/ when I change my password.

The fact that your instructions don't include any reference to
changing TEMPLATE_DIRS leads me suspect that one of three things is
happening:

1) You're actually pointing at a different set of templates than you
think you are (and those templates are using the old linking scheme
for the logout and password change links)

2) You don't have a complete and correct checkout of Django v1.1 RC1

3) In addition to a complete and correct checkout of Django v1.1 RC1,
you have an older (pre v1.1 RC1) checkout somewhere, and it is this
checkout that is being used to provide admin templates.

Could you please check the contents of the TEMPLATE_DIRS settings of
your project, and then check your PYTHONPATH very closely to see if
any of these conditions are correct?

Yours,
Russ Magee %-)

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



Re: Django-admin {{ root_path }} problem !

2009-07-23 Thread Dr.Hamza Mousa
Hi Russell

The admin templates i copied into /templates/admin/ .

The idea : i need to customize the admin for a project am working on .

-details :

installed django RC 1.1 , ubuntu linux 9.04 .

so i ran :

django-admin.py startproject emr_admin

, python manage.py startapp emr

defined my first model in the emr/models.py

added the django.contrib.admin in emr_admin/settings.py

then ran : python manage.py syncdb

*urls.py* :

-
from django.contrib import admin
admin.autodiscover()

and in : urlpatterns  i added the admin urls


(r'^admin/', include(ad

min.site.urls)),






*Django admin Template files :*

to extend the admin css style i copied the admin template from the django RC
1.1 to /templates/admin/ like base.html , base_site.html , index.html ..

so now they are in

/templates/admin/


*emr/admin.py :*

*so it all runs so fine ,

register my app models in emr/admin.py
*
:
from django.contrib import admin
from django import forms

from emr_admin.emr.models import *

class PatientForm(forms.ModelForm):
comment = forms.CharField(widget=forms.Textarea(attrs={'rows':4,
'cols':60}),label='Comment',help_text="")
sex = forms.CharField(widget=forms.RadioSelect(choices=SEX),label='Sex')
smoking =
forms.CharField(widget=forms.RadioSelect(choices=SMOKING),label='Smoking')
maritalstatus =
forms.CharField(widget=forms.RadioSelect(choices=Marital_STATS))



class PatientAdmin(admin.ModelAdmin):
   list_display = ( 'name', 'sex','maritalstatus', 'bdate','jobtitle')
   list_display_links = ( 'name', 'sex','maritalstatus', 'bdate','jobtitle')
   search_fields = ('name', 'jobtitle')
   list_filter = ('jobtitle','sex')
   list_per_page = 25
   ordering = ['name']
   form = PatientForm


admin.site.register(Patient , PatientAdmin)



-
everything working so fine at the admin side , however the only thing is not
working is the logout and change password , when i direct the url to the
change password form and change my password , it redirect me to the wrong
url as well :

http://localhost:8000/admin/password_change/admin/password_change/done/


thats what happend so far :

best regards

Hamza

--

thats what i did so far

On Thu, Jul 23, 2009 at 8:49 AM, Russell Keith-Magee  wrote:

>
> On Thu, Jul 23, 2009 at 1:42 PM, Dr.Hamza Mousa
> wrote:
> > do you mean admin templates ?! i think its the template file of the RC !
>
> Saying "I think" isn't quite the help we're looking for - are you
> using the default admin templates, or not? Have you taken _any_ copies
> of the admin templates? When you say you are "customizing" the admin -
> what modifications have you made?
>
> We need _exact_ and _explicit_ instructions for how to reproduce your
> problem - i.e., starting with running django-admin.py startproject,
> what do I have to do in order to reproduce this problem. It may help
> if you start from scratch yourself - start with an empty project, and
> then bring over configurations and files from your 'broken' project
> until the problem appears.
>
> Please try to keep in mind that I have many running Django projects,
> and _none_ of them are exhibiting the problem you describe. I don't
> deny that you are experiencing this problem, but If I'm going to fix
> this problem, I need to be able to reproduce it first.
>
> Yours,
> Russ Magee %-)
>
> >
>


-- 
Hamza E.e Mousa

www.neoxero.com
www.goomedic.com
www.medpeek.com
www.freewaydesign.com

http://www.twitter.com/hamzamusa
http://twitter.com/goomedic

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



Re: Django-admin {{ root_path }} problem !

2009-07-22 Thread Russell Keith-Magee

On Thu, Jul 23, 2009 at 1:42 PM, Dr.Hamza Mousa wrote:
> do you mean admin templates ?! i think its the template file of the RC !

Saying "I think" isn't quite the help we're looking for - are you
using the default admin templates, or not? Have you taken _any_ copies
of the admin templates? When you say you are "customizing" the admin -
what modifications have you made?

We need _exact_ and _explicit_ instructions for how to reproduce your
problem - i.e., starting with running django-admin.py startproject,
what do I have to do in order to reproduce this problem. It may help
if you start from scratch yourself - start with an empty project, and
then bring over configurations and files from your 'broken' project
until the problem appears.

Please try to keep in mind that I have many running Django projects,
and _none_ of them are exhibiting the problem you describe. I don't
deny that you are experiencing this problem, but If I'm going to fix
this problem, I need to be able to reproduce it first.

Yours,
Russ Magee %-)

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



Re: Django-admin {{ root_path }} problem !

2009-07-22 Thread Dr.Hamza Mousa
do you mean admin templates ?! i think its the template file of the RC !


Thanks

Hamza



On Thu, Jul 23, 2009 at 8:37 AM, Alex Gaynor  wrote:

> Did you by any chance copy the text of the old templates, from before the
> rc?  If so you'll need to update them for thr changes.
>
> Alex
>
> On Jul 23, 2009 12:35 AM, "Dr.Hamza Mousa"  wrote:
>
> Hello
>
>
> Thanks Russ for the fast reply ,
>
> The url for the admin is the same as the default : (r'^admin/',
> include(admin.site.urls)),
>
> about trying to fix the issue and override this by adding the absolute url
> in " base.html "  admin template temporary till i figure out what is causing
> this .
>
> I am trying to customizing the admin for a project am working on now , and
> my admin templates files in /templates/admin/ .
> didn't add any custom views yet .
>
> Regards :
>
> Hamza M
>
> On Thu, Jul 23, 2009 at 8:13 AM, Russell Keith-Magee <
> freakboy3...@gmail.com> wrote: > > > On Thu...
> Hamza E.e Mousa
>
> www.neoxero.com
> www.goomedic.com
> www.medpeek.com
> www.freewaydesign.com
>
> http://www.twitter.com/hamzamusa
> http://twitter.com/goomedic
>
>  >
>


-- 
Hamza E.e Mousa

www.neoxero.com
www.goomedic.com
www.medpeek.com
www.freewaydesign.com

http://www.twitter.com/hamzamusa
http://twitter.com/goomedic

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



Re: Django-admin {{ root_path }} problem !

2009-07-22 Thread Alex Gaynor
Did you by any chance copy the text of the old templates, from before the
rc?  If so you'll need to update them for thr changes.

Alex

On Jul 23, 2009 12:35 AM, "Dr.Hamza Mousa"  wrote:

Hello


Thanks Russ for the fast reply ,

The url for the admin is the same as the default : (r'^admin/',
include(admin.site.urls)),

about trying to fix the issue and override this by adding the absolute url
in " base.html "  admin template temporary till i figure out what is causing
this .

I am trying to customizing the admin for a project am working on now , and
my admin templates files in /templates/admin/ .
didn't add any custom views yet .

Regards :

Hamza M

On Thu, Jul 23, 2009 at 8:13 AM, Russell Keith-Magee 
wrote: > > > On Thu...
Hamza E.e Mousa

www.neoxero.com
www.goomedic.com
www.medpeek.com
www.freewaydesign.com

http://www.twitter.com/hamzamusa
http://twitter.com/goomedic

 --~--~-~--~~~---~--~~ You received this
message because you are sub...

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



Re: Django-admin {{ root_path }} problem !

2009-07-22 Thread Dr.Hamza Mousa
Hello


Thanks Russ for the fast reply ,

The url for the admin is the same as the default : (r'^admin/',
include(admin.site.urls)),

about trying to fix the issue and override this by adding the absolute url
in " base.html "  admin template temporary till i figure out what is causing
this .

I am trying to customizing the admin for a project am working on now , and
my admin templates files in /templates/admin/ .
didn't add any custom views yet .

Regards :

Hamza M


On Thu, Jul 23, 2009 at 8:13 AM, Russell Keith-Magee  wrote:

>
> On Thu, Jul 23, 2009 at 12:57 PM, Hamza wrote:
> >
> > Hello ,
> >
> > i have an issue in Django-Admin , when i click on logout and change
> > password , it add /admin/logout and /admin/change_password/ to the
> > current path as in http://localhost:8000/admin/posts/admin/logout/ and
> > does the same to password_change .
> >
> > when trying to manually override this by adding /admin/logout/ and /
> > admin/password_change/ it redirect to /admin/password_change/admin/
> > password_change/done/
> >
> > How can i fix this issue ?!
> >
> > am using django RC 1.1 !
>
> This sounds like it might be related to the last ticket that was
> blocking the v1.1 release - #10061. I was under the impression that
> these problems had been solved, but if I'm wrong, this will need to be
> corrected before we release v1.1 final.
>
> However, while you have described the problem you are having, you
> haven't provided enough detail for others to reproduce the same
> problem. In particular, how have you deployed your admin site? Can you
> provide the urls.py, and any configuration of the admin site that you
> may have done? When you say "manually override by adding
> /admin/logout...", what _exactly_ have you done, and where?
>
> Yours,
> Russ Magee %-)
>
> >
>


-- 
Hamza E.e Mousa

www.neoxero.com
www.goomedic.com
www.medpeek.com
www.freewaydesign.com

http://www.twitter.com/hamzamusa
http://twitter.com/goomedic

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



Re: Django-admin {{ root_path }} problem !

2009-07-22 Thread Russell Keith-Magee

On Thu, Jul 23, 2009 at 12:57 PM, Hamza wrote:
>
> Hello ,
>
> i have an issue in Django-Admin , when i click on logout and change
> password , it add /admin/logout and /admin/change_password/ to the
> current path as in http://localhost:8000/admin/posts/admin/logout/ and
> does the same to password_change .
>
> when trying to manually override this by adding /admin/logout/ and /
> admin/password_change/ it redirect to /admin/password_change/admin/
> password_change/done/
>
> How can i fix this issue ?!
>
> am using django RC 1.1 !

This sounds like it might be related to the last ticket that was
blocking the v1.1 release - #10061. I was under the impression that
these problems had been solved, but if I'm wrong, this will need to be
corrected before we release v1.1 final.

However, while you have described the problem you are having, you
haven't provided enough detail for others to reproduce the same
problem. In particular, how have you deployed your admin site? Can you
provide the urls.py, and any configuration of the admin site that you
may have done? When you say "manually override by adding
/admin/logout...", what _exactly_ have you done, and where?

Yours,
Russ Magee %-)

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



Django-admin {{ root_path }} problem !

2009-07-22 Thread Hamza

Hello ,

i have an issue in Django-Admin , when i click on logout and change
password , it add /admin/logout and /admin/change_password/ to the
current path as in http://localhost:8000/admin/posts/admin/logout/ and
does the same to password_change .

when trying to manually override this by adding /admin/logout/ and /
admin/password_change/ it redirect to /admin/password_change/admin/
password_change/done/

How can i fix this issue ?!

am using django RC 1.1 !

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