@@ -1,7 +1,7 @@ |
||
| 1 | 1 |
# -*- coding: utf-8 -*- |
| 2 | 2 |
|
| 3 |
-from djadmin import ReadonlyModelAdmin |
|
| 4 | 3 |
from django.contrib import admin |
| 4 |
+from django_admin import ReadonlyModelAdmin |
|
| 5 | 5 |
|
| 6 | 6 |
from account.models import UserInfo |
| 7 | 7 |
|
@@ -1,7 +1,7 @@ |
||
| 1 | 1 |
# -*- coding: utf-8 -*- |
| 2 | 2 |
|
| 3 | 3 |
from django.db import transaction |
| 4 |
-from logit import logit |
|
| 4 |
+from django_logit import logit |
|
| 5 | 5 |
|
| 6 | 6 |
from account.models import UserInfo |
| 7 | 7 |
from utils.error.response_utils import response |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 |
# -*- coding: utf-8 -*- |
| 2 | 2 |
from __future__ import unicode_literals |
| 3 | 3 |
|
| 4 |
-from logit import logit |
|
| 4 |
+from django_logit import logit |
|
| 5 | 5 |
|
| 6 | 6 |
from config.models import HotQueryInfo, HotRecommendInfo |
| 7 | 7 |
from utils.error.response_utils import response |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 |
from __future__ import unicode_literals |
| 4 | 4 |
|
| 5 | 5 |
from django.db import migrations, models |
| 6 |
-import models_ext.fileext |
|
| 6 |
+import django_models_ext.fileext |
|
| 7 | 7 |
|
| 8 | 8 |
|
| 9 | 9 |
class Migration(migrations.Migration): |
@@ -16,6 +16,6 @@ class Migration(migrations.Migration): |
||
| 16 | 16 |
migrations.AddField( |
| 17 | 17 |
model_name='hotrecommendinfo', |
| 18 | 18 |
name='video', |
| 19 |
- field=models.FileField(blank=True, help_text='\u70ed\u95e8\u89c6\u9891', null=True, upload_to=models_ext.fileext.upload_path, verbose_name='video'), |
|
| 19 |
+ field=models.FileField(blank=True, help_text='\u70ed\u95e8\u89c6\u9891', null=True, upload_to=django_models_ext.fileext.upload_path, verbose_name='video'), |
|
| 20 | 20 |
), |
| 21 | 21 |
] |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 |
|
| 3 | 3 |
from django.db import models |
| 4 | 4 |
from django.utils.translation import ugettext_lazy as _ |
| 5 |
-from models_ext import upload_path |
|
| 5 |
+from django_models_ext import upload_path |
|
| 6 | 6 |
|
| 7 | 7 |
from manual.basemodels import CreateUpdateMixin |
| 8 | 8 |
from utils.url_utils import upload_file_url |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 |
# -*- coding: utf-8 -*- |
| 2 | 2 |
from __future__ import unicode_literals |
| 3 | 3 |
|
| 4 |
-from logit import logit |
|
| 4 |
+from django_logit import logit |
|
| 5 | 5 |
from paginator import pagination |
| 6 | 6 |
|
| 7 | 7 |
from account.models import UserInfo |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 |
# -*- coding: utf-8 -*- |
| 2 | 2 |
from __future__ import unicode_literals |
| 3 | 3 |
|
| 4 |
-from logit import logit |
|
| 4 |
+from django_logit import logit |
|
| 5 | 5 |
|
| 6 | 6 |
from intro.models import IntroCategoryInfo, IntroContentInfo, IntroNameInfo |
| 7 | 7 |
from utils.error.errno_utils import IntroStatusCode |
@@ -3,7 +3,7 @@ |
||
| 3 | 3 |
|
| 4 | 4 |
from django.db import models |
| 5 | 5 |
from django.utils.translation import ugettext_lazy as _ |
| 6 |
-from models_ext import upload_path |
|
| 6 |
+from django_models_ext import upload_path |
|
| 7 | 7 |
|
| 8 | 8 |
from manual.basemodels import CreateUpdateMixin |
| 9 | 9 |
from utils.url_utils import upload_file_url |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 |
|
| 3 | 3 |
from django.db import models |
| 4 | 4 |
from django.utils.translation import ugettext_lazy as _ |
| 5 |
-from models_ext import upload_path |
|
| 5 |
+from django_models_ext import upload_path |
|
| 6 | 6 |
|
| 7 | 7 |
from manual.basemodels import CreateUpdateMixin |
| 8 | 8 |
from utils.url_utils import upload_file_url |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 |
# -*- coding: utf-8 -*- |
| 2 | 2 |
from __future__ import unicode_literals |
| 3 | 3 |
|
| 4 |
-from logit import logit |
|
| 4 |
+from django_logit import logit |
|
| 5 | 5 |
from TimeConvert import TimeConvert as tc |
| 6 | 6 |
|
| 7 | 7 |
from message.models import MessageInfo |
@@ -1,18 +1,18 @@ |
||
| 1 |
-Django==1.11.3 |
|
| 1 |
+Django==1.11.11 |
|
| 2 | 2 |
MySQL-python==1.2.5 |
| 3 | 3 |
StatusCode==1.0.0 |
| 4 |
-TimeConvert==1.4.1 |
|
| 5 |
-django-admin==1.0.13 |
|
| 4 |
+TimeConvert==1.4.3 |
|
| 5 |
+django-admin==1.2.0 |
|
| 6 | 6 |
django-detect==1.0.5 |
| 7 | 7 |
django-json-response==1.1.5 |
| 8 |
-django-logit==1.0.6 |
|
| 9 |
-django-models-ext==1.0.2 |
|
| 8 |
+django-logit==1.1.2 |
|
| 9 |
+django-models-ext==1.1.1 |
|
| 10 | 10 |
django-paginator2==1.0.3 |
| 11 | 11 |
django-shortuuidfield==0.1.3 |
| 12 |
-django-uniapi==1.0.0 |
|
| 13 |
-django-we==1.0.14 |
|
| 12 |
+django-uniapi==1.0.1 |
|
| 13 |
+django-we==1.2.1 |
|
| 14 | 14 |
hiredis==0.2.0 |
| 15 | 15 |
pyPdf==1.13 |
| 16 | 16 |
redis==2.10.6 |
| 17 |
-redis-extensions==1.1.1 |
|
| 17 |
+redis-extensions==1.2.1 |
|
| 18 | 18 |
shortuuid==0.5.0 |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 |
# -*- coding: utf-8 -*- |
| 2 | 2 |
|
| 3 |
-from djadmin import AdvancedExportExcelModelAdmin |
|
| 4 | 3 |
from django.contrib import admin |
| 4 |
+from django_admin import AdvancedExportExcelModelAdmin |
|
| 5 | 5 |
|
| 6 | 6 |
from support.models import MachineBackInfo, MachineBodyInfo, MachineSupportPrebookInfo |
| 7 | 7 |
|
@@ -2,7 +2,6 @@ |
||
| 2 | 2 |
from __future__ import unicode_literals |
| 3 | 3 |
|
| 4 | 4 |
from logit import logit |
| 5 |
- |
|
| 6 | 5 |
from support.models import MachineBackInfo, MachineBodyInfo, MachineSupportPrebookInfo |
| 7 | 6 |
from utils.error.errno_utils import MachineStatusCode |
| 8 | 7 |
from utils.error.response_utils import response |