remove tagulous
This commit is contained in:
@@ -15,8 +15,6 @@ from .models import (
|
||||
Presentation,
|
||||
)
|
||||
|
||||
#import tagulous.admin
|
||||
|
||||
from django.forms import ModelForm
|
||||
|
||||
from reversion.admin import VersionAdmin
|
||||
|
||||
@@ -7,8 +7,6 @@ from django.db.models.fields.related import ForeignKey
|
||||
from django.db import models
|
||||
from django.shortcuts import get_object_or_404
|
||||
from django.utils import timezone
|
||||
#import tagulous
|
||||
#import tagulous.models
|
||||
|
||||
|
||||
import pydicom
|
||||
|
||||
@@ -10,9 +10,6 @@ from django.urls import reverse
|
||||
from django.views.generic.edit import CreateView
|
||||
from reversion.views import RevisionMixin
|
||||
|
||||
#import tagulous
|
||||
#import tagulous.models
|
||||
|
||||
from sortedm2m.fields import SortedManyToManyField
|
||||
from django.conf import settings
|
||||
|
||||
@@ -67,13 +64,6 @@ class Site(models.Model):
|
||||
return self.short_code
|
||||
|
||||
|
||||
#class Condition(tagulous.models.TagModel):
|
||||
# pass
|
||||
#
|
||||
#
|
||||
#class Sign(tagulous.models.TagModel):
|
||||
# pass
|
||||
|
||||
class QuestionBase(models.Model):
|
||||
|
||||
authors_only = models.BooleanField(
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
from django.contrib import admin
|
||||
from .models import AnswerMarks, Long, LongSeries, LongSeriesImage, LongCreationDefault, Exam, CidUserAnswer
|
||||
|
||||
#import tagulous.admin
|
||||
|
||||
from django.forms import ModelForm
|
||||
|
||||
from reversion.admin import VersionAdmin
|
||||
@@ -88,8 +86,6 @@ class LongSeriesAdmin(VersionAdmin):
|
||||
admin.site.register(LongSeries, LongSeriesAdmin)
|
||||
|
||||
admin.site.register(Exam, ExamAdmin)
|
||||
# tagulous.admin.register(Long.condition)
|
||||
|
||||
|
||||
#@admin.register(AnswerMarks)
|
||||
#class AnswerMarksAdmin(admin.ModelAdmin):
|
||||
|
||||
@@ -6,8 +6,6 @@ from django.db.models.fields.related import ForeignKey
|
||||
from django.db import models
|
||||
from django.shortcuts import get_object_or_404
|
||||
from django.utils import timezone
|
||||
#import tagulous
|
||||
#import tagulous.models
|
||||
|
||||
|
||||
from django.core.files.storage import FileSystemStorage
|
||||
|
||||
@@ -67,7 +67,6 @@ INSTALLED_APPS = [
|
||||
"django.contrib.messages",
|
||||
"django.contrib.staticfiles",
|
||||
"debug_toolbar",
|
||||
#"tagulous",
|
||||
"dbbackup",
|
||||
"rest_framework",
|
||||
"tinymce",
|
||||
@@ -150,13 +149,6 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||
},
|
||||
]
|
||||
|
||||
#SERIALIZATION_MODULES = {
|
||||
# "xml": "tagulous.serializers.xml_serializer",
|
||||
# "json": "tagulous.serializers.json",
|
||||
# "python": "tagulous.serializers.python",
|
||||
# "yaml": "tagulous.serializers.pyyaml",
|
||||
#}
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.11/topics/i18n/
|
||||
|
||||
@@ -194,15 +186,6 @@ MEDIA_ROOT = "media/"
|
||||
LOGIN_REDIRECT_URL = "/"
|
||||
LOGOUT_REDIRECT_URL = "/"
|
||||
|
||||
#TAGULOUS_AUTOCOMPLETE_JS = (
|
||||
# "tagulous/lib/jquery.js",
|
||||
# "tagulous/lib/select2-3/select2.min.js",
|
||||
# "tagulous/tagulous.js",
|
||||
# "tagulous/adaptor/select2-3.js",
|
||||
#)
|
||||
#
|
||||
#TAGULOUS_AUTOCOMPLETE_CSS = {"all": ["tagulous/lib/select2-3/select2.css"]}
|
||||
|
||||
INTERNAL_IPS = ["localhost", "127.0.0.1"]
|
||||
|
||||
#LOGGING = {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
from django.contrib import admin
|
||||
from .models import Rapid, RapidImage, Examination, Site, Abnormality, Region, RapidCreationDefault, Answer, Exam, CidUserAnswer
|
||||
|
||||
#import tagulous.admin
|
||||
|
||||
from django.forms import ModelForm
|
||||
|
||||
from reversion.admin import VersionAdmin
|
||||
@@ -73,8 +71,6 @@ class ExamAdmin(VersionAdmin, admin.ModelAdmin):
|
||||
admin.site.register(Rapid, RapidAdmin)
|
||||
admin.site.register(Exam, ExamAdmin)
|
||||
|
||||
#tagulous.admin.register(Rapid.condition)
|
||||
|
||||
class CidUserAnswerAdmin(admin.ModelAdmin):
|
||||
exclude = []
|
||||
readonly_fields = ["created", "updated"]
|
||||
|
||||
@@ -6,8 +6,6 @@ from django.db import models
|
||||
from django.http.response import JsonResponse
|
||||
from django.shortcuts import get_object_or_404
|
||||
from django.utils import timezone
|
||||
#import tagulous
|
||||
#import tagulous.models
|
||||
|
||||
|
||||
from django.core.files.storage import FileSystemStorage
|
||||
|
||||
@@ -3,7 +3,6 @@ Django==4.1.4
|
||||
django_debug_toolbar
|
||||
django_jquery
|
||||
django_reversion
|
||||
#django_tagulous
|
||||
Pillow
|
||||
django-cors-headers
|
||||
plotly
|
||||
|
||||
@@ -3,8 +3,6 @@ from django.contrib import admin
|
||||
# Register your models here.
|
||||
from .models import Question, Exam, CidUserAnswer, Category
|
||||
|
||||
#import tagulous.admin
|
||||
|
||||
from django.forms import ModelForm
|
||||
|
||||
from reversion.admin import VersionAdmin
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
||||
|
||||
<link href="{% static 'css/widgets.css' %}" type="text/css" media="all" rel="stylesheet">
|
||||
{% comment %} <link rel="stylesheet" href="{% static 'tagulous/lib/select2-3/select2.css' %}"> {% endcomment %}
|
||||
<link rel="stylesheet" href="{% static 'css/dicomViewer.css' %}">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.css" integrity="sha512-6S2HWzVFxruDlZxI3sXOZZ4/eJ8AcxkQH1+JjSe/ONCEqR9L4Ysq5JdT5ipqtzU7WHalNwzwBv+iE51gNHJNqQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||
|
||||
@@ -43,7 +42,6 @@
|
||||
<script src="{% static 'autocomplete_light/i18n/en.js' %}"></script>
|
||||
<script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> </script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/dexie/3.0.3/dexie.min.js" integrity="sha512-aEtNzq8X5E0ambgeM68H174SOXaANJ6wDqJ0TuVIx4R2J4fRdUA0nLzx0faA1mmViqb+r0VX7cOXkskxyJENUA==" crossorigin="anonymous"></script>
|
||||
{% comment %} <!-- <script src="{% static 'tagulous/lib/jquery.js' %}"></script> --> {% endcomment %}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5sortable/0.10.0/html5sortable.min.js" integrity="sha512-tBlVMq89XaEC9iU5LyRjP2Vxs8SmVhEHGbv2Co6SbGa14Wsxy2qZN0jadrN+Xn5AifORaUbvZcG21/ExcNfWDA==" crossorigin="anonymous"></script>
|
||||
<script src="{% static 'tesseract.min.js' %}"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.js" integrity="sha512-lbwH47l/tPXJYG9AcFNoJaTMhGvYWhVM9YI43CT+uteTRRaiLCui8snIgyAN8XWgNjNhCqlAUdzZptso6OCoFQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
|
||||
Reference in New Issue
Block a user