mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 14:51:51 +00:00
to-do comments updated
This commit is contained in:
parent
11756fa0bb
commit
2cb665e141
@ -25,16 +25,7 @@ Gcave_count = None
|
||||
"""
|
||||
|
||||
todo = """
|
||||
- Find out why we have separate objects CaveSlug and why
|
||||
these are not just a single field on the Model. This was Martin's idea,
|
||||
but we are using text aliases now so we only need one slug in the data model
|
||||
|
||||
- Can we rewrite things to eliminate the CaveSlug and objects? Surely
|
||||
foreign keys work fine ?!
|
||||
|
||||
- Why do we have CaveAndEntrance objects ? These do not need to be explcit for a many:many relationship these days
|
||||
|
||||
- move the aliases list from the code and put into an editable file
|
||||
|
||||
- Restore constraint: unique_together = (("area", "kataster_number"), ("area", "unofficial_number"))
|
||||
or replace by a unique 'slug' field, better.
|
||||
|
@ -15,10 +15,6 @@ from troggle.core.models.troggle import Expedition, TroggleModel
|
||||
"""
|
||||
|
||||
todo = """
|
||||
|
||||
Foreign keys do not allow for there being multiple ways to refer to a cave, eg 1623-1999-03 aka 1623-204
|
||||
Having slugs allows for much more loose coupling to caves, which removes alot of the need to reset the database, which interupts work flow.
|
||||
It also means we do not have to be creating temporary cave objects in the database, where we do not have the underlying file in cave_data.
|
||||
|
||||
"""
|
||||
|
||||
|
@ -29,9 +29,6 @@ todo = """
|
||||
Validate image files using a magic recogniser in walletedit()
|
||||
https://pypi.org/project/reportlab/ or
|
||||
https://stackoverflow.com/questions/889333/how-to-check-if-a-file-is-a-valid-image-file
|
||||
|
||||
- Write equivalent GPX upload form system, similar to walletedit() but in expofiles/gpslogs/
|
||||
Need to validate it as being a valid GPX file using an XML parser, not a dubious script or hack
|
||||
|
||||
- Validate Tunnel & Therion files using an XML parser in dwgupload(). Though Julian says
|
||||
tunnel is only mostly correct XML, and it does fail at least one XML parser.
|
||||
|
Loading…
Reference in New Issue
Block a user