diff --git a/deploy.md b/deploy.md index ab46a81..1219485 100644 --- a/deploy.md +++ b/deploy.md @@ -31,6 +31,7 @@ Almost secret deployment battle plan 15. Setup systemd service and socket files 14. Setup nginx, see https://uwsgi.readthedocs.io/en/latest/tutorials/Django_and_nginx.html#configure-nginx-for-your-site - set paths for media, static and the socket + - make sure static points to static_root not static 15. Testrun without ssl 15. Setup ssl 16. Change DEBUG to False in gulashromstore/settings.py diff --git a/users/templates/users/user_update.html b/users/templates/users/user_update.html index 8333e2e..ae68d37 100644 --- a/users/templates/users/user_update.html +++ b/users/templates/users/user_update.html @@ -180,7 +180,7 @@

- +

diff --git a/users/views.py b/users/views.py index e166e67..e9b777b 100644 --- a/users/views.py +++ b/users/views.py @@ -29,7 +29,7 @@ class UserUpdateView(UpdateView): return self.model.objects.filter(id=self.request.user.id) def get_success_url(self): - return reverse('rom_overview') + return reverse('romlist')