parent
b11f269c27
commit
b912260ade
10 changed files with 141 additions and 22 deletions
@ -0,0 +1,20 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
# Generated by Django 1.11.6 on 2018-02-13 11:49 |
||||||
|
from __future__ import unicode_literals |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('progress', '0003_remove_progress_active_lesson'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.AddField( |
||||||
|
model_name='progress', |
||||||
|
name='is_finish', |
||||||
|
field=models.BooleanField(default=False, verbose_name='Окончен ли курс'), |
||||||
|
), |
||||||
|
] |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
from django.conf.urls import url |
||||||
|
|
||||||
|
from progress import views |
||||||
|
|
||||||
|
urlpatterns = [ |
||||||
|
url(r'students/(?P<teacher_token>[0-9A-Fa-f-]+)/$', views.StudentWorkView.as_view()), |
||||||
|
url(r'$', views.UpdateProgress.as_view()), |
||||||
|
] |
||||||
Loading…
Reference in new issue