make imports more explicit
This commit is contained in:
parent
f48c316f39
commit
f9f1c89a01
|
@ -3,8 +3,9 @@ from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
|
|||
from django.contrib.auth.models import User
|
||||
|
||||
# Register your models here.
|
||||
from .models import (Article, Order, OrderPosition, Person, City, Picture,
|
||||
OrderOfGoods, Category, Option, Setting)
|
||||
from webshop.models import (Article, Order, OrderPosition,
|
||||
Person, City, Picture, OrderOfGoods,
|
||||
Category, Option, Setting)
|
||||
|
||||
|
||||
class PersonInline(admin.StackedInline):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from django.conf.urls import url
|
||||
|
||||
from . import views
|
||||
from webshop import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', views.index, name='index'),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from django.shortcuts import get_object_or_404, render
|
||||
from .models import Article, Category, ArticleStatus
|
||||
from webshop.models import Article, Category, ArticleStatus
|
||||
|
||||
# Create your views here.
|
||||
|
||||
|
|
Loading…
Reference in New Issue