parent
62d65aef6a
commit
7e90f2c1d8
5 changed files with 46 additions and 1 deletions
@ -0,0 +1,9 @@ |
||||
from django.contrib.auth import get_user_model |
||||
from rest_framework import serializers |
||||
|
||||
|
||||
class UserInitSerializer(serializers.ModelSerializer): |
||||
|
||||
class Meta: |
||||
model = get_user_model() |
||||
fields = '__all__' |
||||
@ -0,0 +1,25 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.3 on 2017-09-07 17:53 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations, models |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('courses', '0048_normalmap'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AddField( |
||||
model_name='normalmap', |
||||
name='independent_elements', |
||||
field=models.TextField(default=''), |
||||
), |
||||
migrations.AlterField( |
||||
model_name='course', |
||||
name='level', |
||||
field=models.CharField(choices=[('B', 'Базовый'), ('A', 'Продвинутый'), ('E', 'Экспертный'), ('B+A', 'Базовый + Продвинутый')], default='B', max_length=3, verbose_name='Уровень'), |
||||
), |
||||
] |
||||
Loading…
Reference in new issue