diff --git a/pyapp/pyapp/__pycache__/admin.cpython-311.pyc b/pyapp/pyapp/__pycache__/admin.cpython-311.pyc index 8c3a6d7..e04bd06 100644 Binary files a/pyapp/pyapp/__pycache__/admin.cpython-311.pyc and b/pyapp/pyapp/__pycache__/admin.cpython-311.pyc differ diff --git a/pyapp/pyapp/__pycache__/apps.cpython-311.pyc b/pyapp/pyapp/__pycache__/apps.cpython-311.pyc index 691e1f0..31cf470 100644 Binary files a/pyapp/pyapp/__pycache__/apps.cpython-311.pyc and b/pyapp/pyapp/__pycache__/apps.cpython-311.pyc differ diff --git a/pyapp/pyapp/__pycache__/urls.cpython-311.pyc b/pyapp/pyapp/__pycache__/urls.cpython-311.pyc index c890846..047a373 100644 Binary files a/pyapp/pyapp/__pycache__/urls.cpython-311.pyc and b/pyapp/pyapp/__pycache__/urls.cpython-311.pyc differ diff --git a/pyapp/pyapp/__pycache__/wsgi.cpython-311.pyc b/pyapp/pyapp/__pycache__/wsgi.cpython-311.pyc old mode 100755 new mode 100644 index 84dc60a..f2b18ed Binary files a/pyapp/pyapp/__pycache__/wsgi.cpython-311.pyc and b/pyapp/pyapp/__pycache__/wsgi.cpython-311.pyc differ diff --git a/pyapp/pyapp/admin.py b/pyapp/pyapp/admin.py index 9576532..edba562 100755 --- a/pyapp/pyapp/admin.py +++ b/pyapp/pyapp/admin.py @@ -1,5 +1,5 @@ from django.contrib import admin -from app.pyapp.models import ShoppingItem +from pyapp.models import ShoppingItem # Register your models here. admin.site.register(ShoppingItem) diff --git a/pyapp/pyapp/apps.py b/pyapp/pyapp/apps.py index 227ed08..7731d55 100755 --- a/pyapp/pyapp/apps.py +++ b/pyapp/pyapp/apps.py @@ -1,6 +1,5 @@ from django.apps import AppConfig - class PyappConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'pyapp' diff --git a/pyapp/pyapp/serializers.py b/pyapp/pyapp/serializers.py index de95be6..8577bf9 100755 --- a/pyapp/pyapp/serializers.py +++ b/pyapp/pyapp/serializers.py @@ -1,5 +1,5 @@ from rest_framework import serializers -from .models import ShoppingItem +from pyapp.models import ShoppingItem class ShoppingItemSerializer(serializers.ModelSerializer): class Meta: diff --git a/pyapp/pyapp/templates/pyapp.html b/pyapp/pyapp/templates/pyapp.html index 22a0443..49ffa6f 100755 --- a/pyapp/pyapp/templates/pyapp.html +++ b/pyapp/pyapp/templates/pyapp.html @@ -34,7 +34,7 @@