[Commits] python.it commit r266 - code/pythonisti/trunk/pythonisti/apps/profile

commit a svn.python.it commit a svn.python.it
Gio 18 Gen 2007 19:03:47 CET


Author: rhymes
Date: Thu Jan 18 19:03:45 2007
New Revision: 266

Modified:
   code/pythonisti/trunk/pythonisti/apps/profile/models.py
Log:
add sub_administrative_area to the models

Modified: code/pythonisti/trunk/pythonisti/apps/profile/models.py
==============================================================================
--- code/pythonisti/trunk/pythonisti/apps/profile/models.py	(original)
+++ code/pythonisti/trunk/pythonisti/apps/profile/models.py	Thu Jan 18 19:03:45 2007
@@ -17,8 +17,10 @@
     country = models.ForeignKey(Country)
     address = models.CharField(blank=True, maxlength=50)
     city = models.CharField(blank=False, maxlength=50)
-    # this represents the region, area, district, province or whatever
+    # the region, area of living
     administrative_area = models.CharField(blank=True, maxlength=50)
+    # the province or district 
+    sub_administrative_area = models.CharField(blank=True, maxlength=50)
     # this makes sense in federal countries like USA
     state = models.CharField(blank=True, maxlength=50)
     # the post/zip code itself


Maggiori informazioni sulla lista Commits