From 5d5415d29daa990d27913da638a6e2bc30afb4e8 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 13 Oct 2015 22:43:28 +0300 Subject: Cleanup --- install.py | 3 ++- servo/templates/accounts/settings.html | 1 - servo/templates/checkin/index.html | 2 ++ servo/templates/checkin/newindex.html | 6 +++--- servo/views/checkin.py | 8 ++++---- settings.py | 2 +- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/install.py b/install.py index e2c5306..60170c0 100755 --- a/install.py +++ b/install.py @@ -55,7 +55,8 @@ loc['address'] = raw_input('4/6 Address [Somestreet 1]: ') or 'Somestreet 1' loc['zip_code'] = raw_input('5/6 Postal code [1234]: ') or '1234' loc['city'] = raw_input('6/6 City [Stockholm]: ') or 'Stockholm' -from servo.models import Location, User +from servo.models.common import Location +from servo.models.account import User first_loc = Location(**loc) first_loc.save() diff --git a/servo/templates/accounts/settings.html b/servo/templates/accounts/settings.html index a48ab19..ab32b39 100755 --- a/servo/templates/accounts/settings.html +++ b/servo/templates/accounts/settings.html @@ -33,7 +33,6 @@
{% include "form_field_snippet.html" with field=form.tech_id %} {% include "form_field_snippet.html" with field=form.gsx_userid %} - {% include "form_field_snippet.html" with field=form.gsx_password %} {% include "form_field_snippet.html" with field=form.gsx_poprefix %}
diff --git a/servo/templates/checkin/index.html b/servo/templates/checkin/index.html index 9ecc884..2995be5 100644 --- a/servo/templates/checkin/index.html +++ b/servo/templates/checkin/index.html @@ -40,6 +40,8 @@