@@ -5,10 +5,10 @@ class User(models.Model):
55 name = models .CharField (max_length = 30 )
66 username = models .CharField (max_length = 30 , unique = True )
77 bio = models .CharField (max_length = 140 , blank = True )
8- followers_count = models .BigIntegerField (default = 0 )
9- following_count = models .BigIntegerField (default = 0 )
10- _lat = models .FloatField (default = 0 )
11- _lng = models .FloatField (default = 0 )
8+ followers_count = models .BigIntegerField (0 )
9+ following_count = models .BigIntegerField (0 )
10+ _lat = models .FloatField (0 )
11+ _lng = models .FloatField (0 )
1212 _permissions = models .CharField (max_length = 30 , blank = True )
1313
1414 @property
@@ -25,7 +25,7 @@ def permissions(self):
2525class Website (models .Model ):
2626 name = models .CharField (max_length = 100 )
2727 url = models .URLField ()
28- is_online = models .BooleanField (default = False )
28+ is_online = models .BooleanField (False )
2929
3030
3131class Example (models .Model ):
@@ -34,7 +34,7 @@ class Example(models.Model):
3434 address = models .CharField (max_length = 200 )
3535 lat = models .FloatField ()
3636 lng = models .FloatField ()
37- is_admin = models .BooleanField (default = False )
37+ is_admin = models .BooleanField (False )
3838 category = []
3939 locations = []
4040 index_me = True
0 commit comments