fixing pylint recommendations
This commit is contained in:
parent
6d40700cf3
commit
b541e1d516
3 changed files with 2 additions and 3 deletions
|
|
@ -3,7 +3,7 @@ Configuration for the Django admin site
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from models import Category, Sample, Question, Answer
|
from three_d_viewer.models import Category, Sample, Question, Answer
|
||||||
|
|
||||||
admin.site.register(Category)
|
admin.site.register(Category)
|
||||||
admin.site.register(Sample)
|
admin.site.register(Sample)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ Handle asynchronous calls from the web pages
|
||||||
from django.utils import simplejson
|
from django.utils import simplejson
|
||||||
from dajaxice.decorators import dajaxice_register
|
from dajaxice.decorators import dajaxice_register
|
||||||
|
|
||||||
from models import Question
|
from three_d_viewer.models import Question
|
||||||
|
|
||||||
|
|
||||||
@dajaxice_register
|
@dajaxice_register
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ Replace this with more appropriate tests for your application.
|
||||||
|
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
from three_d_viewer.models import Category, Question, Answer
|
from three_d_viewer.models import Category, Question, Answer
|
||||||
from three_d_viewer.views import DetailView
|
|
||||||
import ajax
|
import ajax
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue