[Commits] python.it commit r267 - code/pythonisti/trunk/pythonisti/apps/geo

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


Author: rhymes
Date: Thu Jan 18 19:07:45 2007
New Revision: 267

Modified:
   code/pythonisti/trunk/pythonisti/apps/geo/models.py
Log:
GeoLocation does not need user, we attach GeoLocation from the UserProfile model

Modified: code/pythonisti/trunk/pythonisti/apps/geo/models.py
==============================================================================
--- code/pythonisti/trunk/pythonisti/apps/geo/models.py	(original)
+++ code/pythonisti/trunk/pythonisti/apps/geo/models.py	Thu Jan 18 19:07:45 2007
@@ -7,7 +7,6 @@
 
 
 class GeoLocation(models.Model):
-    username = models.OneToOneField(User)
     # The address of the user
     location = models.CharField(maxlength=50)
     # The normalized address of the user


Maggiori informazioni sulla lista Commits