Fixed wrong view name in reverse
This commit is contained in:
parent
865c1a9fee
commit
6f5a169f2d
|
@ -31,6 +31,7 @@ Almost secret deployment battle plan
|
||||||
15. Setup systemd service and socket files
|
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
|
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
|
- set paths for media, static and the socket
|
||||||
|
- make sure static points to static_root not static
|
||||||
15. Testrun without ssl
|
15. Testrun without ssl
|
||||||
15. Setup ssl
|
15. Setup ssl
|
||||||
16. Change DEBUG to False in gulashromstore/settings.py
|
16. Change DEBUG to False in gulashromstore/settings.py
|
||||||
|
|
|
@ -180,7 +180,7 @@
|
||||||
|
|
||||||
<div class="field is-grouped">
|
<div class="field is-grouped">
|
||||||
<p class="control">
|
<p class="control">
|
||||||
<button class="button is-primary">Registrieren</button>
|
<button class="button is-primary">Speichern</button>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -29,7 +29,7 @@ class UserUpdateView(UpdateView):
|
||||||
return self.model.objects.filter(id=self.request.user.id)
|
return self.model.objects.filter(id=self.request.user.id)
|
||||||
|
|
||||||
def get_success_url(self):
|
def get_success_url(self):
|
||||||
return reverse('rom_overview')
|
return reverse('romlist')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue