This repository has been archived by the owner on Oct 22, 2019. It is now read-only.
-
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.
Merge pull request #15 from firstziiz/feat/lock-task
Feat/lock task
- Loading branch information
Showing
7 changed files
with
221 additions
and
23 deletions.
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,9 +1,30 @@ | ||
from django.urls import path | ||
|
||
from .views import MeView, FacebookLoginView | ||
from .views import ( | ||
MeView, | ||
FacebookLoginView, | ||
LearningProgressDataView, | ||
FrequencyPracticsDataView, | ||
SkillImprovementDataView, | ||
) | ||
|
||
app_name = 'accounts' | ||
urlpatterns = [ | ||
path('me/', MeView.as_view(), name='my-user'), | ||
path('fb-login/', FacebookLoginView.as_view(), name='fb-login'), | ||
path( | ||
'learning-progress/', | ||
LearningProgressDataView.as_view(), | ||
name='learning-progress' | ||
), | ||
path( | ||
'frequency-practics/', | ||
FrequencyPracticsDataView.as_view(), | ||
name='frequency-practics' | ||
), | ||
path( | ||
'skill-improvement/', | ||
SkillImprovementDataView.as_view(), | ||
name='skill-improvement' | ||
), | ||
] |
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
18 changes: 18 additions & 0 deletions
18
luna-gateway/luna_gateway/topics/migrations/0008_level_score.py
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,18 @@ | ||
# Generated by Django 2.1.1 on 2018-09-30 07:26 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('topics', '0007_topic_description'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='level', | ||
name='score', | ||
field=models.PositiveIntegerField(default=0), | ||
), | ||
] |
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