mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-25 16:52:00 +00:00
handbook updates
This commit is contained in:
parent
5eec040b18
commit
186cf8cb8a
@ -15,7 +15,7 @@
|
||||
<br><figcaption>Class Diagram<br />(Click to enlarge)</figcaption>
|
||||
</figure>
|
||||
Auto-generated on 3 April 2020 with <var>troggle$ python3 manage.py inspectdb</var>. (Omitting all the 'Meta' sub-classes. )<br>
|
||||
Several classes have been edited out of this file between then and 6 September 2023 as they have been deleted as troggle has been tidied up.
|
||||
Several classes have been edited out of this file between then and 14 September 2023 as they have been deleted as troggle has been tidied up.
|
||||
<p>All the classes below inherit from the django class (models.Model) and are thereby made persistent in the database. All <a href="https://docs.djangoproject.com/en/1.11/ref/models/fields/">persistent instance variables</a> are defined with e.g. "models.BooleanField()" types which is why they look so strange to a normal python programmer.
|
||||
<p>See <a href="/admin/doc/models/">the online auto-documentation</a> for the current set of core objects and their instance variables and foreign keys (anything below with "models.ForeignKey" in the type field is a foreign key. <br>
|
||||
This webpage is manually maintained and may be out of date.<code><pre><span style="color: green"># This is an auto-generated Django model module.
|
||||
@ -230,16 +230,6 @@ from django.db import models
|
||||
cave_id = models.IntegerField(blank=True, null=True)
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>Survexleg</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
block_id = models.IntegerField()
|
||||
<span style="color:blue">stationfrom</span> = models.<span style="color:blue">ForeignKey</span> ('CoreSurvexstation')
|
||||
<span style="color:blue">stationto</span> = models.<span style="color:blue">ForeignKey</span> ('CoreSurvexstation')
|
||||
tape = models.FloatField()
|
||||
compass = models.FloatField()
|
||||
clino = models.FloatField()
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>Survexpersonrole</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
<span style="color:blue">survexblock</span> = models.<span style="color:blue">ForeignKey</span> (CoreSurvexblock)
|
||||
@ -273,13 +263,6 @@ from django.db import models
|
||||
z = models.FloatField(blank=True, null=True)
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>Survextitle</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
<span style="color:blue">survexblock</span> = models.<span style="color:blue">ForeignKey</span> (CoreSurvexblock)
|
||||
title = models.CharField(max_length=200)
|
||||
cave_id = models.IntegerField(blank=True, null=True)
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>Dwgfile</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
dwgpath = models.CharField(max_length=200)
|
||||
@ -288,37 +271,6 @@ from django.db import models
|
||||
filesize = models.IntegerField()
|
||||
npaths = models.IntegerField()
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>DwgfileSurvexblocks</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
dwgfile_id = models.IntegerField()
|
||||
<span style="color:blue">survexblock</span> = models.<span style="color:blue">ForeignKey</span> (CoreSurvexblock)
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>DwgfileSurvexscans</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
dwgfile_id = models.IntegerField()
|
||||
<span style="color:blue">survexscansingle</span> = models.<span style="color:blue">ForeignKey</span> (CoreSurvexscansingle)
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>DwgfileSurvexscansfolders</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
dwgfile_id = models.IntegerField()
|
||||
<span style="color:blue">survexscansfolder</span> = models.<span style="color:blue">ForeignKey</span> (CoreSurvexscansfolder)
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>DwgfileSurvextitles</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
dwgfile_id = models.IntegerField()
|
||||
<span style="color:blue">survextitle</span> = models.<span style="color:blue">ForeignKey</span> (CoreSurvextitle)
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>DwgfileDwgcontains</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
from_dwgfile_id = models.IntegerField()
|
||||
to_dwgfile_id = models.IntegerField()
|
||||
|
||||
|
||||
<span style="color: lime">class</span> <span style="color:blue"><b>DjangoAdminLog</b></span>(models.Model):
|
||||
id = models.IntegerField(<span style="color: magenta">primary_key</span> =True) <span style="color: green"># AutoField?</span>
|
||||
action_time = models.DateTimeField()
|
||||
|
Loading…
Reference in New Issue
Block a user