fixing pylint recommendations
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user