-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from laurenmarietta/web-app-dev
Integrate Django web application
- Loading branch information
Showing
58 changed files
with
2,889 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
*.pyc | ||
*.fits | ||
*.ipynb_checkpoints/ | ||
utils/config.json | ||
/jwql/utils/config.json | ||
build/ | ||
dist/ | ||
jwql.egg-info/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ python setup.py develop | |
|
||
or, if you would rather use `SSH` instead of `https`, type | ||
``` | ||
git clone [email protected]:spacetelescope/jwql.git | ||
git clone [email protected]:spacetelescope/jwql.git | ||
cd jwql | ||
python setup.py develop | ||
``` | ||
|
@@ -122,7 +122,7 @@ Any questions about the `jwql` project or its software can be directed to `jwql@ | |
- Catherine Gosmeyer (INS) [@cgosmeyer](https://github.com/cgosmeyer) | ||
- Phil Grant (ITSD) | ||
- Dean Hines (INS) | ||
- Sherrie Holfeltz (INS) [@stholfeltz](https://github.com/stholfeltz) | ||
- Sherie Holfeltz (INS) [@stholfeltz](https://github.com/stholfeltz) | ||
- Joe Hunkeler (OED) [@jhunkeler](https://github.com/jhunkeler) | ||
- Catherine Kaleida (OED) | ||
- Mark Kyprianou (OED) [@mkyp](https://github.com/mkyp) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
"""Customizes the ``jwql`` web app administrative page. | ||
** CURRENTLY NOT IN USE ** | ||
Used to customize django's admin interface, and how the data contained | ||
in specific models is portrayed. | ||
Authors | ||
------- | ||
- Lauren Chambers | ||
References | ||
---------- | ||
For more information please see: | ||
``https://docs.djangoproject.com/en/2.0/ref/contrib/admin/`` | ||
""" | ||
|
||
from django.contrib import admin | ||
|
||
from .models import ImageData | ||
|
||
|
||
class ImageDataAdmin(admin.ModelAdmin): | ||
# fieldsets = [('Filepath', {'fields': ['filepath']}), | ||
# ('Instrument', {'fields': ['inst']}), | ||
# ('Date information', {'fields': ['pub_date']})] | ||
list_display = ('filename', 'inst', 'pub_date') | ||
list_filter = ['pub_date'] | ||
|
||
admin.site.register(ImageData, ImageDataAdmin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
"""Customizes the ``jwql`` app settings. | ||
** CURRENTLY NOT IN USE ** | ||
Optionally defines an ``AppConfig`` class that can be called in | ||
``INSTALLED_APPS`` in settings.py to configure the web app. | ||
Authors | ||
------- | ||
- Lauren Chambers | ||
Use | ||
--- | ||
This module is called in ``settings.py`` as such: | ||
:: | ||
INSTALLED_APPS = ['apps.jwql.PlotsExampleConfig', | ||
... | ||
] | ||
References | ||
---------- | ||
For more information please see: | ||
``https://docs.djangoproject.com/en/2.0/ref/applications/`` | ||
""" | ||
|
||
from django.apps import AppConfig | ||
|
||
|
||
class PlotsExampleConfig(AppConfig): | ||
name = 'jwql' |
Oops, something went wrong.