mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-31 16:46:03 +01:00
removing new_since_parsing and fixing tests
This commit is contained in:
@@ -31,11 +31,6 @@ but _also_, and peculiarly, in the troggle/admin.py files
|
||||
e.g.
|
||||
class TroggleModelAdmin(admin.ModelAdmin):
|
||||
|
||||
def save_model(self, request, obj, form, change):
|
||||
"""overriding admin save to fill the new_since parsing_field"""
|
||||
obj.new_since_parsing=True
|
||||
obj.save()
|
||||
|
||||
class Media:
|
||||
js = ('jquery/jquery.min.js','js/QM_helper.js')
|
||||
|
||||
|
||||
@@ -9,18 +9,13 @@ but _also_, and peculiarly, in the troggle/admin.py files (which are dead links)
|
||||
i.e.
|
||||
class TroggleModelAdmin(admin.ModelAdmin):
|
||||
|
||||
def save_model(self, request, obj, form, change):
|
||||
"""overriding admin save to fill the new_since parsing_field"""
|
||||
obj.new_since_parsing=True
|
||||
obj.save()
|
||||
|
||||
class Media:
|
||||
js = ('jquery/jquery.min.js','js/QM_helper.js')
|
||||
|
||||
NB any *Admin class is used in the Django control panel only.
|
||||
|
||||
The jquery links have been REMOVED from the templates as they were not used anywhere.
|
||||
Martin include jQuery in his HTML editor though, using the default copy provided by Djangon in the
|
||||
Martin include jQuery in his HTML editor though, using the default copy provided by Django in the
|
||||
/media/admin/js/vendor/jquery/ folder
|
||||
which is
|
||||
"jQuery JavaScript Library v3.5.1"
|
||||
@@ -28,7 +23,7 @@ Date: 2020-05-04T22:49Z
|
||||
as distributed with Django 4.2 I think.
|
||||
|
||||
CaveView is big, so we do not include it with the troggle software repo.
|
||||
It is Debian packed software and installed ont he server as a Debian package.
|
||||
It is Debian packed software and installed on the server as a Debian package.
|
||||
|
||||
templates/editentrance.html:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user