Update syntax for relative imports

This commit is contained in:
Magnus Hagander
2019-01-19 19:38:00 +01:00
parent 142f0805c2
commit 7547b6f766
46 changed files with 59 additions and 59 deletions

View File

@ -28,14 +28,14 @@ from pgweb.util.sitestruct import get_all_pages_struct
from pgweb.news.models import NewsArticle, NewsTag
from pgweb.events.models import Event
from pgweb.quotes.models import Quote
from models import Version, ImportedRSSItem
from .models import Version, ImportedRSSItem
# models needed for the pieces on the community page
from pgweb.survey.models import Survey
# models and forms needed for core objects
from models import Organisation
from forms import OrganisationForm, MergeOrgsForm
from .models import Organisation
from .forms import OrganisationForm, MergeOrgsForm
# Front page view