axc_ul -> uplim
This commit is contained in:
parent
75dbd5a5aa
commit
07c97ff5ef
2
apps.py
2
apps.py
@ -3,4 +3,4 @@ from django.apps import AppConfig
|
|||||||
|
|
||||||
class AxcUlConfig(AppConfig):
|
class AxcUlConfig(AppConfig):
|
||||||
default_auto_field = 'django.db.models.BigAutoField'
|
default_auto_field = 'django.db.models.BigAutoField'
|
||||||
name = 'axc_ul'
|
name = 'uplim'
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
# axc_ul/management/commands/load_survey.py
|
# uplim/management/commands/load_survey.py
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from astropy.io import fits
|
from astropy.io import fits
|
||||||
|
|
||||||
from django.core.management.base import BaseCommand
|
from django.core.management.base import BaseCommand
|
||||||
from django.db import transaction
|
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 django.db.models import Max
|
||||||
|
|
||||||
from itertools import islice
|
from itertools import islice
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# axc_ul/models.py
|
# uplim/models.py
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.db.models import UniqueConstraint
|
from django.db.models import UniqueConstraint
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# axc_ul/serializers.py
|
# uplim/serializers.py
|
||||||
from rest_framework import serializers
|
from rest_framework import serializers
|
||||||
from axc_ul.models import Pixel
|
from uplim.models import Pixel
|
||||||
|
|
||||||
# class PixelSerializer(serializers.ModelSerializer):
|
# class PixelSerializer(serializers.ModelSerializer):
|
||||||
# class Meta:
|
# class Meta:
|
||||||
|
2
urls.py
2
urls.py
@ -1,4 +1,4 @@
|
|||||||
# axc_ul/urls.py
|
# uplim/urls.py
|
||||||
|
|
||||||
from django.urls import path
|
from django.urls import path
|
||||||
from .views import PixelAggregateView, UpperLimitView #, PixelDetailView
|
from .views import PixelAggregateView, UpperLimitView #, PixelDetailView
|
||||||
|
6
views.py
6
views.py
@ -1,4 +1,4 @@
|
|||||||
# axc_ul/views.py
|
# uplim/views.py
|
||||||
|
|
||||||
# from astropy_healpix import HEALPix does not have an option to
|
# from astropy_healpix import HEALPix does not have an option to
|
||||||
# search for pixels non-inclusively
|
# search for pixels non-inclusively
|
||||||
@ -16,8 +16,8 @@ from rest_framework import status
|
|||||||
|
|
||||||
from django.shortcuts import get_object_or_404
|
from django.shortcuts import get_object_or_404
|
||||||
|
|
||||||
from axc_ul.models import Pixel
|
from uplim.models import Pixel
|
||||||
#from axc_ul_server.axc_ul.serializers import PixelSerializer
|
|
||||||
|
|
||||||
|
|
||||||
# SURVEY PARAMETER PARSER
|
# SURVEY PARAMETER PARSER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user