Fixed wrong view name in reverse

This commit is contained in:
Sebastian 2017-05-24 21:07:54 +02:00
parent 865c1a9fee
commit 6f5a169f2d
3 changed files with 3 additions and 2 deletions

View File

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

View File

@ -180,7 +180,7 @@
<div class="field is-grouped">
<p class="control">
<button class="button is-primary">Registrieren</button>
<button class="button is-primary">Speichern</button>
</p>
</div>
</form>

View File

@ -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')