Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Commit

Permalink
Fully functional, bare-bones LIDE Web Services
Browse files Browse the repository at this point in the history
Based on initial new DB design; needs refining.
  • Loading branch information
aaronstephenson committed Jun 4, 2017
1 parent 9de2fc6 commit 442cb99
Show file tree
Hide file tree
Showing 8 changed files with 378 additions and 140 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"#LIDE"
#LIDE
2 changes: 1 addition & 1 deletion lide/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

# SECURITY WARNING: don't run with debug turned on in production!
#DEBUG = CONFIG.get('general', 'DEBUG')
DEBUG = False
DEBUG = True

#ALLOWED_HOSTS = CONFIG.get('general', 'ALLOWED_HOSTS')
ALLOWED_HOSTS: ['127.0.0.1', 'localhost']
Expand Down
20 changes: 19 additions & 1 deletion lideservices/admin.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
from django.contrib import admin
from lideservices.models import *

# Register your models here.

admin.site.register(Sample, SimpleHistoryAdmin)
admin.site.register(SampleType, SimpleHistoryAdmin)
admin.site.register(SampleEnvironment, SimpleHistoryAdmin)
admin.site.register(SampleLocation, SimpleHistoryAdmin)
admin.site.register(FilterType, SimpleHistoryAdmin)
admin.site.register(WaterType, SimpleHistoryAdmin)
admin.site.register(Study, SimpleHistoryAdmin)
admin.site.register(AnalysisBatch, SimpleHistoryAdmin)
admin.site.register(Extraction, SimpleHistoryAdmin)
admin.site.register(Inhibition, SimpleHistoryAdmin)
admin.site.register(ReverseTranscription, SimpleHistoryAdmin)
admin.site.register(PCRReplicate, SimpleHistoryAdmin)
admin.site.register(StandardCurve, SimpleHistoryAdmin)
admin.site.register(Target, SimpleHistoryAdmin)
admin.site.register(ControlType, SimpleHistoryAdmin)
admin.site.register(Control, SimpleHistoryAdmin)
admin.site.register(OtherAnalysis, SimpleHistoryAdmin)
Loading

0 comments on commit 442cb99

Please sign in to comment.