From 07c97ff5efd73f8b59c8abbe8a69f135f1d4b67c Mon Sep 17 00:00:00 2001 From: tyrin Date: Thu, 8 May 2025 16:01:37 +0300 Subject: [PATCH] axc_ul -> uplim --- README.md | 2 +- apps.py | 2 +- management/commands/load_survey.py | 4 ++-- models.py | 2 +- serializers.py | 4 ++-- urls.py | 2 +- views.py | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c954540..dd1309e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# axc_ul +# uplim test diff --git a/apps.py b/apps.py index 86dbda5..9a84079 100644 --- a/apps.py +++ b/apps.py @@ -3,4 +3,4 @@ from django.apps import AppConfig class AxcUlConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' - name = 'axc_ul' + name = 'uplim' diff --git a/management/commands/load_survey.py b/management/commands/load_survey.py index 1005255..ad4e91f 100644 --- a/management/commands/load_survey.py +++ b/management/commands/load_survey.py @@ -1,11 +1,11 @@ -# axc_ul/management/commands/load_survey.py +# uplim/management/commands/load_survey.py import numpy as np from astropy.io import fits from django.core.management.base import BaseCommand from django.db import transaction -from axc_ul.models import Pixel, Survey +from uplim.models import Pixel, Survey from django.db.models import Max from itertools import islice diff --git a/models.py b/models.py index 13953e9..ca08383 100644 --- a/models.py +++ b/models.py @@ -1,4 +1,4 @@ -# axc_ul/models.py +# uplim/models.py from django.db import models from django.db.models import UniqueConstraint diff --git a/serializers.py b/serializers.py index 3832f1b..3a68ff1 100644 --- a/serializers.py +++ b/serializers.py @@ -1,6 +1,6 @@ -# axc_ul/serializers.py +# uplim/serializers.py from rest_framework import serializers -from axc_ul.models import Pixel +from uplim.models import Pixel # class PixelSerializer(serializers.ModelSerializer): # class Meta: diff --git a/urls.py b/urls.py index 30be168..ac44885 100644 --- a/urls.py +++ b/urls.py @@ -1,4 +1,4 @@ -# axc_ul/urls.py +# uplim/urls.py from django.urls import path from .views import PixelAggregateView, UpperLimitView #, PixelDetailView diff --git a/views.py b/views.py index b07a72c..a70c713 100644 --- a/views.py +++ b/views.py @@ -1,4 +1,4 @@ -# axc_ul/views.py +# uplim/views.py # from astropy_healpix import HEALPix does not have an option to # search for pixels non-inclusively @@ -16,8 +16,8 @@ from rest_framework import status from django.shortcuts import get_object_or_404 -from axc_ul.models import Pixel -#from axc_ul_server.axc_ul.serializers import PixelSerializer +from uplim.models import Pixel + # SURVEY PARAMETER PARSER