7 changed files with 66 additions and 47 deletions
-
8accounts_app/forms.py
-
3accounts_app/locale/ru/LC_MESSAGES/django.po
-
26accounts_app/migrations/0002_auto_20180413_1839.py
-
32accounts_app/models.py
-
10accounts_app/templates/accounts/ext.htm
-
2accounts_app/urls.py
-
32accounts_app/views.py
@ -0,0 +1,26 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11 on 2018-04-13 18:39 |
|||
from __future__ import unicode_literals |
|||
|
|||
import django.core.validators |
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('accounts_app', '0001_initial'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='baseaccount', |
|||
name='username', |
|||
field=models.CharField(max_length=127, unique=True, validators=[django.core.validators.RegexValidator('^\\w{1,127}$')], verbose_name='profile username'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='userprofile', |
|||
name='avatar', |
|||
field=models.ImageField(default=None, null=True, upload_to='user/avatar', verbose_name='Avatar'), |
|||
), |
|||
] |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue