Closed GoogleCodeExporter closed 8 years ago
FWIW, at least one other Django project I've seen has handled this with a config
variable like BASE_URL. I don't know if there's another way.
Original comment by liza31337@gmail.com
on 21 Aug 2009 at 2:21
I should probably attribute
http://gnuvince.wordpress.com/2007/12/22/django-paths-and-urls/ as confirming
my idea of using a settings variable to do this.
Original comment by steven.m...@gmail.com
on 21 Aug 2009 at 2:26
oh, and you'll also need to ammend settings.LOGIN_URL accordingly:
LOGIN_URL = '/%s%s%s' % (BASE_URL, ugettext('account/'), ugettext('signin/'))
Original comment by steven.m...@gmail.com
on 26 Aug 2009 at 4:15
I committed a version of the patch that includes the variable in settings.py
but sets
it to the empty string; there's a comment to explain what to do.
Thanks!
Original comment by liza31337@gmail.com
on 26 Aug 2009 at 10:11
Original issue reported on code.google.com by
steven.m...@gmail.com
on 21 Aug 2009 at 1:45Attachments: