-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb9c42d
commit 1cf8297
Showing
10 changed files
with
84 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Generated by Django 2.0.2 on 2018-03-05 09:17 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('userpage', '0007_point'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='profile', | ||
name='location', | ||
), | ||
migrations.AddField( | ||
model_name='profile', | ||
name='address', | ||
field=models.TextField(blank=True, max_length=500), | ||
), | ||
migrations.AddField( | ||
model_name='profile', | ||
name='facebook', | ||
field=models.CharField(blank=True, max_length=128), | ||
), | ||
migrations.AddField( | ||
model_name='profile', | ||
name='instagram', | ||
field=models.CharField(blank=True, max_length=128), | ||
), | ||
migrations.AddField( | ||
model_name='profile', | ||
name='invite_code', | ||
field=models.CharField(default='null', max_length=30), | ||
), | ||
migrations.AddField( | ||
model_name='profile', | ||
name='mobile', | ||
field=models.CharField(blank=True, max_length=128), | ||
), | ||
migrations.AddField( | ||
model_name='profile', | ||
name='twitter', | ||
field=models.CharField(blank=True, max_length=128), | ||
), | ||
migrations.AddField( | ||
model_name='profile', | ||
name='wechat', | ||
field=models.CharField(blank=True, max_length=128), | ||
), | ||
migrations.AddField( | ||
model_name='profile', | ||
name='weibo', | ||
field=models.CharField(blank=True, max_length=128), | ||
), | ||
migrations.AlterField( | ||
model_name='point', | ||
name='event', | ||
field=models.CharField(choices=[('publish', '发布文章'), ('comment', '发表评论'), ('commented', '文章被评论'), ('register', '新用户注册')], max_length=16), | ||
), | ||
migrations.AlterField( | ||
model_name='profile', | ||
name='point', | ||
field=models.IntegerField(default=0), | ||
), | ||
] |
Binary file added
BIN
+1.24 KB
userpage/migrations/__pycache__/0008_auto_20180305_1717.cpython-36.pyc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters