hi, guys,
try it .
..
return HttpResponseRedirect(reverse('myAppFront.views.article', None, None,
{'id': id}))
2011/10/25 nicolas HERSOG
> God you'r right !
>
> Thanks to your answer i found why my "named" url didn't work.
>
> I wrote this in my urls.py :
> (r'^article/(?P\d+)/$', myAp
God you'r right !
Thanks to your answer i found why my "named" url didn't work.
I wrote this in my urls.py :
(r'^article/(?P\d+)/$', myAppFront.views.article, name='article'),
instead of :
*url*(r'^article/(?P\d+)/$', myAppFront.views.article,
name='article'),
AND, you'r right, i didn't u
On Mon, Oct 24, 2011 at 12:34 PM, nicolas HERSOG wrote:
> Hi everyone,
> I digged more but i'm still stuck.
> I understood that i have to use namespaceURL.
> So i modified my url.py this way :
> from myAppFront.views import article
> url (r'^article/(?P\d+)/$',
> myAppFront.views.artic
Hi everyone,
I digged more but i'm still stuck.
I understood that i have to use namespaceURL.
So i modified my url.py this way :
from myAppFront.views import article
url (r'^article/(?P\d+)/$',
myAppFront.views.article,
name='article'),
and this is my addComment view :
def a
Adam and Skylar,
The ISP's support just replied to my ticket. They set the urls.py as
urlpatterns = patterns('',
(r'^wkw1/$', 'sw1.wkw1.views.index'),
(r'^admin/$', 'django.views.generic.simple.redirect_to', {'url': '/
admin/wkw1/lawyer'}),
(r'^admin/wkw1/$', 'django.views.generic.sim
What are the details of the error?
On Nov 18, 7:06 am, Zeynel wrote:
> I've been trying to redirect
>
> /admin/ to /admin/wkw1/lawyer
>
> The suggestions from my previous
> posthttp://groups.google.com/group/django-users/msg/67c4594a4083bd45
> did not work.
>
> I read the redirect section in the
On Nov 18, 2009, at 6:06 AM, Zeynel wrote:
> I've been trying to redirect
>
> /admin/ to /admin/wkw1/lawyer
>
> The suggestions from my previous post
> http://groups.google.com/group/django-users/msg/67c4594a4083bd45
> did not work.
>
> I read the redirect section in the documents as suggested
7 matches
Mail list logo