Closed GoogleCodeExporter closed 8 years ago
I fixed it (and http://code.google.com/p/django-photologue/issues/detail?id=93)
with
this URLconf addiction:
(r'^admin/photologue/galleryupload/None/$',
'django.views.generic.simple.redirect_to',
{'url': '/admin/photologue/'}),
Obviously You need to put this before:
(r'^admin/(.*)', admin.site.root),
So if you click on "Save and continue", you find yourself on photologue app.
Ciao.
Marco.
Original comment by marcob...@gmail.com
on 26 Dec 2008 at 1:54
To make myself clearer, this is the right order:
(r'^admin/photologue/galleryupload/None/$',
'django.views.generic.simple.redirect_to',
{'url': '/admin/photologue/'}),
(r'^admin/(.*)', admin.site.root),
Ciao.
Marco.
Original comment by marcob...@gmail.com
on 26 Dec 2008 at 1:55
I have created a decent fix for this problem:
http://code.google.com/p/mesawarati/source/detail?r=11
Original comment by petar.ma...@gmail.com
on 6 Mar 2009 at 7:05
New, better version of the fix:
http://code.google.com/p/mesawarati/source/diff?spec=svn14&old=2&r=14&format=sid
e&path=%2Ftrunk%2Fmesawa%2Fapps%2Fphotologue%2Fadmin.py
Original comment by petar.ma...@gmail.com
on 11 Mar 2009 at 3:26
Thanks to both of you on this. At a cursory glance it seem that petar.maric's
patch is a cleaner solution. I just
need to test this out and I'll make it happen.
Original comment by justin.d...@gmail.com
on 11 Mar 2009 at 9:17
Added fix in r395. Thanks!
Original comment by justin.d...@gmail.com
on 23 Jul 2009 at 5:45
Original issue reported on code.google.com by
marcob...@gmail.com
on 25 Dec 2008 at 12:27