@@ -5,10 +5,10 @@ class User(models.Model):
5
5
name = models .CharField (max_length = 30 )
6
6
username = models .CharField (max_length = 30 , unique = True )
7
7
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 )
12
12
_permissions = models .CharField (max_length = 30 , blank = True )
13
13
14
14
@property
@@ -25,7 +25,7 @@ def permissions(self):
25
25
class Website (models .Model ):
26
26
name = models .CharField (max_length = 100 )
27
27
url = models .URLField ()
28
- is_online = models .BooleanField (default = False )
28
+ is_online = models .BooleanField (False )
29
29
30
30
31
31
class Example (models .Model ):
@@ -34,7 +34,7 @@ class Example(models.Model):
34
34
address = models .CharField (max_length = 200 )
35
35
lat = models .FloatField ()
36
36
lng = models .FloatField ()
37
- is_admin = models .BooleanField (default = False )
37
+ is_admin = models .BooleanField (False )
38
38
category = []
39
39
locations = []
40
40
index_me = True
0 commit comments