Commit 2fb528218ee34513a979f9666358f5515811e13d
1 parent
2ceb0949
Exists in
master
and in
5 other branches
migration of chage name course category
Showing
1 changed file
with
30 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,30 @@ | @@ -0,0 +1,30 @@ | ||
1 | +# -*- coding: utf-8 -*- | ||
2 | +# Generated by Django 1.10 on 2016-10-07 19:12 | ||
3 | +from __future__ import unicode_literals | ||
4 | + | ||
5 | +from django.conf import settings | ||
6 | +from django.db import migrations, models | ||
7 | + | ||
8 | + | ||
9 | +class Migration(migrations.Migration): | ||
10 | + | ||
11 | + dependencies = [ | ||
12 | + ('courses', '0002_subject_students'), | ||
13 | + ] | ||
14 | + | ||
15 | + operations = [ | ||
16 | + migrations.RenameModel( | ||
17 | + old_name='Category', | ||
18 | + new_name='CourseCategory', | ||
19 | + ), | ||
20 | + migrations.AlterField( | ||
21 | + model_name='activity', | ||
22 | + name='limit_date', | ||
23 | + field=models.DateField(verbose_name='Deliver Date'), | ||
24 | + ), | ||
25 | + migrations.AlterField( | ||
26 | + model_name='subject', | ||
27 | + name='professors', | ||
28 | + field=models.ManyToManyField(related_name='professors_subjects', to=settings.AUTH_USER_MODEL, verbose_name='Professors'), | ||
29 | + ), | ||
30 | + ] |