diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-10-09 09:32:17 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-10-09 09:32:17 +0300 |
commit | 3ecfed0d68883ecc66a88e7a2b968c67095e5543 (patch) | |
tree | 6492a5f19e5970d89edc23657d20df6d9fb78c61 | |
parent | bfd17aa15d422a3188f24ce37cdf78af319e5384 (diff) | |
download | Servo-3ecfed0d68883ecc66a88e7a2b968c67095e5543.tar.gz Servo-3ecfed0d68883ecc66a88e7a2b968c67095e5543.tar.bz2 Servo-3ecfed0d68883ecc66a88e7a2b968c67095e5543.zip |
Restore imports
-rwxr-xr-x | install.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -55,6 +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 + first_loc = Location(**loc) first_loc.save() su = User.objects.filter(pk=1).update(location=first_loc) |