Compare commits

..

No commits in common. "84e64681b0ecadc6023b8d99b2a16c36f38ffb08" and "1c930354c075c19e2e47b469b47d6bd6cca3b3bd" have entirely different histories.

9 changed files with 2 additions and 28 deletions

View File

@ -72,7 +72,6 @@ INSTALLED_APPS = [
"api",
"rest_framework",
"frontImages",
"object",
]
MIDDLEWARE = [

View File

@ -1,5 +1,6 @@
from django.contrib import admin
from .models import Element3D, ClickableArea
from .models import Image, Element3D, ClickableArea
admin.site.register(Image)
admin.site.register(Element3D)
admin.site.register(ClickableArea)

View File

@ -1,5 +0,0 @@
from django.contrib import admin
from .models import object
admin.site.register(object)

View File

@ -1,6 +0,0 @@
from django.apps import AppConfig
class ObjectConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'object'

View File

@ -1,9 +0,0 @@
from django.db import models
class Image(models.Model):
file = models.ImageField(upload_to='images/')
alt = models.CharField(max_length=255)
title = models.CharField(max_length=255)
def __str__(self):
return self.title

View File

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View File

@ -1,3 +0,0 @@
from django.shortcuts import render
# Create your views here.