Upgrade to django 1.8, ++
This commit is contained in:
1 parent
8c004276a7
commit
b47ee8f832
22 files changed
+767
-1051
No files matched your search
+1
-1
@@ -117,7 +117,7 @@ class InventoryTransaction(models.Model):
|
||||
|
||||
|
||||
class UserProfile(models.Model):
|
||||
user = models.OneToOneField(User)
|
||||
user = models.OneToOneField(User, related_name='profile')
|
||||
balance = models.FloatField(default=0.0)
|
||||
#image = models.ImageField(upload_to='users', blank=True)
|
||||
image = models.URLField(blank=True)
|
||||
|
||||
Reference in new issue
Block a user