mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-15 21:34:46 +00:00
Update syntax for relative imports
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
from django.contrib import admin
|
||||
from models import Survey, SurveyLock, SurveyAnswer
|
||||
from .models import Survey, SurveyLock, SurveyAnswer
|
||||
|
||||
|
||||
class SurveyAdmin(admin.ModelAdmin):
|
||||
|
@ -8,7 +8,7 @@ from pgweb.util.contexts import render_pgweb
|
||||
from pgweb.util.misc import get_client_ip, varnish_purge
|
||||
from pgweb.util.helpers import HttpServerError
|
||||
|
||||
from models import Survey, SurveyAnswer, SurveyLock
|
||||
from .models import Survey, SurveyAnswer, SurveyLock
|
||||
|
||||
|
||||
def results(request, surveyid, junk=None):
|
||||
|
Reference in New Issue
Block a user