diff --git a/django_example_euclid/euclid/__init__.py b/django_example_euclid/euclid_example/__init__.py similarity index 100% rename from django_example_euclid/euclid/__init__.py rename to django_example_euclid/euclid_example/__init__.py diff --git a/django_example_euclid/euclid/settings.py b/django_example_euclid/euclid_example/settings.py similarity index 98% rename from django_example_euclid/euclid/settings.py rename to django_example_euclid/euclid_example/settings.py index 7481b46da119dac2c744da1dccfcc052f6b6c03e..b8194d57b5ac977df878c602d10c0c7ae6cbddfe 100644 --- a/django_example_euclid/euclid/settings.py +++ b/django_example_euclid/euclid_example/settings.py @@ -38,7 +38,7 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.staticfiles', 'django_extensions', - 'imagedb', + 'imagedb.apps.ImagedbConfig', 'rest_framework', 'url_filter', ] diff --git a/django_example_euclid/euclid/urls.py b/django_example_euclid/euclid_example/urls.py similarity index 100% rename from django_example_euclid/euclid/urls.py rename to django_example_euclid/euclid_example/urls.py diff --git a/django_example_euclid/euclid/wsgi.py b/django_example_euclid/euclid_example/wsgi.py similarity index 100% rename from django_example_euclid/euclid/wsgi.py rename to django_example_euclid/euclid_example/wsgi.py diff --git a/django_example_euclid/imagedb/models.py b/django_example_euclid/imagedb/models.py index 3c72de582a2eb5cd906be16a3e7df4b6b752dcc7..7bd48b6d084dd0fbaf125b1b64bc7e212af5a89c 100644 --- a/django_example_euclid/imagedb/models.py +++ b/django_example_euclid/imagedb/models.py @@ -200,12 +200,12 @@ class DataContainer(models.Model): class NispRawFrame(ImageSpaceFrame): filterWheelPosition = models.CharField( - max_length=10, + max_length=15, choices = [(d,d) for d in NISP_FILTER_WHEEL] ) grismWheelPosition = models.CharField( - max_length=10, + max_length=15, choices = [(d,d) for d in NISP_GRISM_WHEEL] ) frameFile = models.OneToOneField(DataContainer,