Fixed the import errors hacking warning

This commit is contained in:
Monty Taylor 2013-07-15 13:56:36 -04:00
parent a49f74bc11
commit 8f50ee9469
4 changed files with 14 additions and 5 deletions

View File

@ -13,9 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from storyboard.projects.models import Project, Series, Milestone
from django.contrib import admin from django.contrib import admin
from storyboard.projects.models import Milestone
from storyboard.projects.models import Project
from storyboard.projects.models import Series
admin.site.register(Project) admin.site.register(Project)
admin.site.register(Series) admin.site.register(Series)

View File

@ -13,9 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from storyboard.stories.models import Story, Task, Comment, StoryTag
from django.contrib import admin from django.contrib import admin
from storyboard.stories.models import Comment
from storyboard.stories.models import Story
from storyboard.stories.models import StoryTag
from storyboard.stories.models import Task
admin.site.register(Story) admin.site.register(Story)
admin.site.register(Task) admin.site.register(Task)

View File

@ -13,9 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from django.db import models
from django.contrib.auth.models import User from django.contrib.auth.models import User
from storyboard.projects.models import Project, Series, Milestone from django.db import models
from storyboard.projects.models import Milestone
from storyboard.projects.models import Project
from storyboard.projects.models import Series
class Story(models.Model): class Story(models.Model):

View File

@ -25,6 +25,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
downloadcache = ~/cache/pip downloadcache = ~/cache/pip
[flake8] [flake8]
ignore = E125,E128,H102,H30 ignore = E125,E128,H102,H302
show-source = True show-source = True
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build