refactor the models import
This commit is contained in:
parent
c2758afb00
commit
ed0649f5fc
|
@ -3,12 +3,8 @@ from django.shortcuts import get_object_or_404, render
|
||||||
from django.contrib.auth.decorators import login_required
|
from django.contrib.auth.decorators import login_required
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
from django.contrib.auth.forms import UserCreationForm
|
from django.contrib.auth.forms import UserCreationForm
|
||||||
from webshop.models import (Article,
|
from webshop.models import (Article, Category, ArticleStatus, Person,
|
||||||
Category,
|
City, Picture)
|
||||||
ArticleStatus,
|
|
||||||
Person,
|
|
||||||
City,
|
|
||||||
Picture)
|
|
||||||
from webshop.forms import RegistrationForm
|
from webshop.forms import RegistrationForm
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue