Skip to content

Commit 255bf25

Browse files
author
yangxg
committed
Revert "Feature"
1 parent ff27bba commit 255bf25

File tree

15 files changed

+3
-175
lines changed

15 files changed

+3
-175
lines changed

blog/migrations/0001_initial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Generated by Django 1.9.6 on 2016-05-23 11:41
2+
# Generated by Django 1.9.6 on 2016-05-18 04:35
33
from __future__ import unicode_literals
44

55
from django.db import migrations, models
@@ -29,7 +29,7 @@ class Migration(migrations.Migration):
2929
('topped', models.BooleanField(default=False, verbose_name='置顶')),
3030
],
3131
options={
32-
'ordering': ['-last_modified_time'],
32+
'ordering': ['last_modified_time'],
3333
},
3434
),
3535
migrations.CreateModel(

blog_project/settings.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
'django.contrib.messages',
3737
'django.contrib.staticfiles',
3838
'blog',
39-
'usera',
4039
]
4140

4241
MIDDLEWARE_CLASSES = [
@@ -117,5 +116,3 @@
117116

118117
STATIC_URL = '/static/'
119118
STATICFILES = os.path.join(BASE_DIR, 'blog/static')
120-
121-
AUTH_USER_MODEL = 'usera.ForumUser'

blog_project/urls.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@
1919

2020
urlpatterns = [
2121
url(r'^admin/', admin.site.urls),
22-
url(r'', include('blog.urls', namespace='blog', app_name='blog')),
23-
url(r'', include('usera.urls', namespace='usera', app_name='usera'))
22+
url(r'', include('blog.urls', namespace='blog', app_name='blog'))
2423
]

usera/__init__.py

Whitespace-only changes.

usera/admin.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

usera/apps.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

usera/forms.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

usera/migrations/0001_initial.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

usera/migrations/__init__.py

Whitespace-only changes.

usera/models.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)