Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2022
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.14 KB | None | 0 0
  1. /opt/mayan-edms/lib/python3.9/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.11) or chardet (5.0.0)/charset_normalizer (2.0.12) doesn't match a supported version!
  2. warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
  3. # This is an auto-generated Django model module.
  4. # You'll have to do the following manually to clean this up:
  5. # * Rearrange models' order
  6. # * Make sure each model has one field with primary_key=True
  7. # * Make sure each ForeignKey and OneToOneField has `on_delete` set to the desired behavior
  8. # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table
  9. # Feel free to rename the models, but don't rename db_table values or field names.
  10. from django.db import models
  11.  
  12.  
  13. class AclsAccesscontrollist(models.Model):
  14. object_id = models.IntegerField()
  15. content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING)
  16. role = models.ForeignKey('PermissionsRole', models.DO_NOTHING)
  17.  
  18. class Meta:
  19. managed = False
  20. db_table = 'acls_accesscontrollist'
  21. unique_together = (('content_type', 'object_id', 'role'),)
  22.  
  23.  
  24. class AclsAccesscontrollistPermissions(models.Model):
  25. accesscontrollist = models.ForeignKey(AclsAccesscontrollist, models.DO_NOTHING)
  26. storedpermission = models.ForeignKey('PermissionsStoredpermission', models.DO_NOTHING)
  27.  
  28. class Meta:
  29. managed = False
  30. db_table = 'acls_accesscontrollist_permissions'
  31. unique_together = (('accesscontrollist', 'storedpermission'),)
  32.  
  33.  
  34. class ActstreamAction(models.Model):
  35. actor_object_id = models.CharField(max_length=255)
  36. verb = models.CharField(max_length=255)
  37. description = models.TextField(blank=True, null=True)
  38. target_object_id = models.CharField(max_length=255, blank=True, null=True)
  39. action_object_object_id = models.CharField(max_length=255, blank=True, null=True)
  40. timestamp = models.DateTimeField()
  41. public = models.BooleanField()
  42. action_object_content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING, blank=True, null=True)
  43. actor_content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING)
  44. target_content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING, blank=True, null=True)
  45.  
  46. class Meta:
  47. managed = False
  48. db_table = 'actstream_action'
  49.  
  50.  
  51. class ActstreamFollow(models.Model):
  52. object_id = models.CharField(max_length=255)
  53. actor_only = models.BooleanField()
  54. started = models.DateTimeField()
  55. content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING)
  56. user = models.ForeignKey('AuthUser', models.DO_NOTHING)
  57. flag = models.CharField(max_length=255)
  58.  
  59. class Meta:
  60. managed = False
  61. db_table = 'actstream_follow'
  62. unique_together = (('user', 'content_type', 'object_id', 'flag'),)
  63.  
  64.  
  65. class AnnouncementsAnnouncement(models.Model):
  66. label = models.CharField(max_length=32)
  67. text = models.TextField()
  68. enabled = models.BooleanField()
  69. start_datetime = models.DateTimeField(blank=True, null=True)
  70. end_datetime = models.DateTimeField(blank=True, null=True)
  71.  
  72. class Meta:
  73. managed = False
  74. db_table = 'announcements_announcement'
  75.  
  76.  
  77. class AppearanceTheme(models.Model):
  78. label = models.CharField(unique=True, max_length=128)
  79. stylesheet = models.TextField()
  80.  
  81. class Meta:
  82. managed = False
  83. db_table = 'appearance_theme'
  84.  
  85.  
  86. class AppearanceUserthemesetting(models.Model):
  87. theme = models.ForeignKey(AppearanceTheme, models.DO_NOTHING, blank=True, null=True)
  88. user = models.OneToOneField('AuthUser', models.DO_NOTHING)
  89.  
  90. class Meta:
  91. managed = False
  92. db_table = 'appearance_userthemesetting'
  93.  
  94.  
  95. class AuthGroup(models.Model):
  96. name = models.CharField(unique=True, max_length=150)
  97.  
  98. class Meta:
  99. managed = False
  100. db_table = 'auth_group'
  101.  
  102.  
  103. class AuthGroupPermissions(models.Model):
  104. group = models.ForeignKey(AuthGroup, models.DO_NOTHING)
  105. permission = models.ForeignKey('AuthPermission', models.DO_NOTHING)
  106.  
  107. class Meta:
  108. managed = False
  109. db_table = 'auth_group_permissions'
  110. unique_together = (('group', 'permission'),)
  111.  
  112.  
  113. class AuthPermission(models.Model):
  114. name = models.CharField(max_length=255)
  115. content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING)
  116. codename = models.CharField(max_length=100)
  117.  
  118. class Meta:
  119. managed = False
  120. db_table = 'auth_permission'
  121. unique_together = (('content_type', 'codename'),)
  122.  
  123.  
  124. class AuthUser(models.Model):
  125. password = models.CharField(max_length=128)
  126. last_login = models.DateTimeField(blank=True, null=True)
  127. is_superuser = models.BooleanField()
  128. username = models.CharField(unique=True, max_length=150)
  129. first_name = models.CharField(max_length=150)
  130. last_name = models.CharField(max_length=150)
  131. email = models.CharField(max_length=254)
  132. is_staff = models.BooleanField()
  133. is_active = models.BooleanField()
  134. date_joined = models.DateTimeField()
  135.  
  136. class Meta:
  137. managed = False
  138. db_table = 'auth_user'
  139.  
  140.  
  141. class AuthUserGroups(models.Model):
  142. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  143. group = models.ForeignKey(AuthGroup, models.DO_NOTHING)
  144.  
  145. class Meta:
  146. managed = False
  147. db_table = 'auth_user_groups'
  148. unique_together = (('user', 'group'),)
  149.  
  150.  
  151. class AuthUserUserPermissions(models.Model):
  152. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  153. permission = models.ForeignKey(AuthPermission, models.DO_NOTHING)
  154.  
  155. class Meta:
  156. managed = False
  157. db_table = 'auth_user_user_permissions'
  158. unique_together = (('user', 'permission'),)
  159.  
  160.  
  161. class AuthenticationOtpUserotpdata(models.Model):
  162. secret = models.CharField(max_length=96)
  163. user = models.OneToOneField(AuthUser, models.DO_NOTHING)
  164.  
  165. class Meta:
  166. managed = False
  167. db_table = 'authentication_otp_userotpdata'
  168.  
  169.  
  170. class AuthtokenToken(models.Model):
  171. key = models.CharField(primary_key=True, max_length=40)
  172. created = models.DateTimeField()
  173. user = models.OneToOneField(AuthUser, models.DO_NOTHING)
  174.  
  175. class Meta:
  176. managed = False
  177. db_table = 'authtoken_token'
  178.  
  179.  
  180. class AutoadminAutoadminsingleton(models.Model):
  181. password = models.CharField(max_length=128, blank=True, null=True)
  182. password_hash = models.CharField(max_length=128, blank=True, null=True)
  183. account = models.ForeignKey(AuthUser, models.DO_NOTHING, blank=True, null=True)
  184.  
  185. class Meta:
  186. managed = False
  187. db_table = 'autoadmin_autoadminsingleton'
  188.  
  189.  
  190. class CabinetsCabinet(models.Model):
  191. label = models.CharField(max_length=128)
  192. lft = models.IntegerField()
  193. rght = models.IntegerField()
  194. tree_id = models.IntegerField()
  195. level = models.IntegerField()
  196. parent = models.ForeignKey('self', models.DO_NOTHING, blank=True, null=True)
  197.  
  198. class Meta:
  199. managed = False
  200. db_table = 'cabinets_cabinet'
  201. unique_together = (('parent', 'label'),)
  202.  
  203.  
  204. class CabinetsCabinetDocuments(models.Model):
  205. cabinet = models.ForeignKey(CabinetsCabinet, models.DO_NOTHING)
  206. document = models.ForeignKey('DocumentsDocument', models.DO_NOTHING)
  207.  
  208. class Meta:
  209. managed = False
  210. db_table = 'cabinets_cabinet_documents'
  211. unique_together = (('cabinet', 'document'),)
  212.  
  213.  
  214. class CheckoutsDocumentcheckout(models.Model):
  215. checkout_datetime = models.DateTimeField()
  216. expiration_datetime = models.DateTimeField()
  217. block_new_file = models.BooleanField()
  218. document = models.OneToOneField('DocumentsDocument', models.DO_NOTHING)
  219. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  220.  
  221. class Meta:
  222. managed = False
  223. db_table = 'checkouts_documentcheckout'
  224.  
  225.  
  226. class ConverterAsset(models.Model):
  227. label = models.CharField(unique=True, max_length=96)
  228. internal_name = models.CharField(unique=True, max_length=255)
  229. file = models.CharField(max_length=100)
  230.  
  231. class Meta:
  232. managed = False
  233. db_table = 'converter_asset'
  234.  
  235.  
  236. class ConverterLayertransformation(models.Model):
  237. order = models.IntegerField()
  238. name = models.CharField(max_length=128)
  239. arguments = models.TextField()
  240. enabled = models.BooleanField()
  241. object_layer = models.ForeignKey('ConverterObjectlayer', models.DO_NOTHING)
  242.  
  243. class Meta:
  244. managed = False
  245. db_table = 'converter_layertransformation'
  246. unique_together = (('object_layer', 'order'),)
  247.  
  248.  
  249. class ConverterObjectlayer(models.Model):
  250. object_id = models.IntegerField()
  251. enabled = models.BooleanField()
  252. content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING)
  253. stored_layer = models.ForeignKey('ConverterStoredlayer', models.DO_NOTHING)
  254.  
  255. class Meta:
  256. managed = False
  257. db_table = 'converter_objectlayer'
  258. unique_together = (('content_type', 'object_id', 'stored_layer'),)
  259.  
  260.  
  261. class ConverterStoredlayer(models.Model):
  262. name = models.CharField(unique=True, max_length=64)
  263. order = models.IntegerField(unique=True)
  264.  
  265. class Meta:
  266. managed = False
  267. db_table = 'converter_storedlayer'
  268.  
  269.  
  270. class DjangoAdminLog(models.Model):
  271. action_time = models.DateTimeField()
  272. object_id = models.TextField(blank=True, null=True)
  273. object_repr = models.CharField(max_length=200)
  274. action_flag = models.SmallIntegerField()
  275. change_message = models.TextField()
  276. content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING, blank=True, null=True)
  277. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  278.  
  279. class Meta:
  280. managed = False
  281. db_table = 'django_admin_log'
  282.  
  283.  
  284. class DjangoCeleryBeatClockedschedule(models.Model):
  285. clocked_time = models.DateTimeField()
  286.  
  287. class Meta:
  288. managed = False
  289. db_table = 'django_celery_beat_clockedschedule'
  290.  
  291.  
  292. class DjangoCeleryBeatCrontabschedule(models.Model):
  293. minute = models.CharField(max_length=240)
  294. hour = models.CharField(max_length=96)
  295. day_of_week = models.CharField(max_length=64)
  296. day_of_month = models.CharField(max_length=124)
  297. month_of_year = models.CharField(max_length=64)
  298. timezone = models.CharField(max_length=63)
  299.  
  300. class Meta:
  301. managed = False
  302. db_table = 'django_celery_beat_crontabschedule'
  303.  
  304.  
  305. class DjangoCeleryBeatIntervalschedule(models.Model):
  306. every = models.IntegerField()
  307. period = models.CharField(max_length=24)
  308.  
  309. class Meta:
  310. managed = False
  311. db_table = 'django_celery_beat_intervalschedule'
  312.  
  313.  
  314. class DjangoCeleryBeatPeriodictask(models.Model):
  315. name = models.CharField(unique=True, max_length=200)
  316. task = models.CharField(max_length=200)
  317. args = models.TextField()
  318. kwargs = models.TextField()
  319. queue = models.CharField(max_length=200, blank=True, null=True)
  320. exchange = models.CharField(max_length=200, blank=True, null=True)
  321. routing_key = models.CharField(max_length=200, blank=True, null=True)
  322. expires = models.DateTimeField(blank=True, null=True)
  323. enabled = models.BooleanField()
  324. last_run_at = models.DateTimeField(blank=True, null=True)
  325. total_run_count = models.IntegerField()
  326. date_changed = models.DateTimeField()
  327. description = models.TextField()
  328. crontab = models.ForeignKey(DjangoCeleryBeatCrontabschedule, models.DO_NOTHING, blank=True, null=True)
  329. interval = models.ForeignKey(DjangoCeleryBeatIntervalschedule, models.DO_NOTHING, blank=True, null=True)
  330. solar = models.ForeignKey('DjangoCeleryBeatSolarschedule', models.DO_NOTHING, blank=True, null=True)
  331. one_off = models.BooleanField()
  332. start_time = models.DateTimeField(blank=True, null=True)
  333. priority = models.IntegerField(blank=True, null=True)
  334. headers = models.TextField()
  335. clocked = models.ForeignKey(DjangoCeleryBeatClockedschedule, models.DO_NOTHING, blank=True, null=True)
  336. expire_seconds = models.IntegerField(blank=True, null=True)
  337.  
  338. class Meta:
  339. managed = False
  340. db_table = 'django_celery_beat_periodictask'
  341.  
  342.  
  343. class DjangoCeleryBeatPeriodictasks(models.Model):
  344. ident = models.SmallIntegerField(primary_key=True)
  345. last_update = models.DateTimeField()
  346.  
  347. class Meta:
  348. managed = False
  349. db_table = 'django_celery_beat_periodictasks'
  350.  
  351.  
  352. class DjangoCeleryBeatSolarschedule(models.Model):
  353. event = models.CharField(max_length=24)
  354. latitude = models.DecimalField(max_digits=9, decimal_places=6)
  355. longitude = models.DecimalField(max_digits=9, decimal_places=6)
  356.  
  357. class Meta:
  358. managed = False
  359. db_table = 'django_celery_beat_solarschedule'
  360. unique_together = (('event', 'latitude', 'longitude'),)
  361.  
  362.  
  363. class DjangoContentType(models.Model):
  364. app_label = models.CharField(max_length=100)
  365. model = models.CharField(max_length=100)
  366.  
  367. class Meta:
  368. managed = False
  369. db_table = 'django_content_type'
  370. unique_together = (('app_label', 'model'),)
  371.  
  372.  
  373. class DjangoGpgKey(models.Model):
  374. creation_date = models.DateTimeField()
  375. expiration_date = models.DateTimeField(blank=True, null=True)
  376. fingerprint = models.CharField(unique=True, max_length=40)
  377. length = models.IntegerField()
  378. algorithm = models.IntegerField()
  379. user_id = models.TextField()
  380. key_type = models.CharField(max_length=3)
  381. key_data = models.TextField()
  382.  
  383. class Meta:
  384. managed = False
  385. db_table = 'django_gpg_key'
  386.  
  387.  
  388. class DjangoMigrations(models.Model):
  389. app = models.CharField(max_length=255)
  390. name = models.CharField(max_length=255)
  391. applied = models.DateTimeField()
  392.  
  393. class Meta:
  394. managed = False
  395. db_table = 'django_migrations'
  396.  
  397.  
  398. class DjangoSession(models.Model):
  399. session_key = models.CharField(primary_key=True, max_length=40)
  400. session_data = models.TextField()
  401. expire_date = models.DateTimeField()
  402.  
  403. class Meta:
  404. managed = False
  405. db_table = 'django_session'
  406.  
  407.  
  408. class DjangoSite(models.Model):
  409. domain = models.CharField(unique=True, max_length=100)
  410. name = models.CharField(max_length=50)
  411.  
  412. class Meta:
  413. managed = False
  414. db_table = 'django_site'
  415.  
  416.  
  417. class DocumentCommentsComment(models.Model):
  418. text = models.TextField()
  419. submit_date = models.DateTimeField()
  420. document = models.ForeignKey('DocumentsDocument', models.DO_NOTHING)
  421. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  422.  
  423. class Meta:
  424. managed = False
  425. db_table = 'document_comments_comment'
  426.  
  427.  
  428. class DocumentIndexingIndexinstancenode(models.Model):
  429. value = models.CharField(max_length=128)
  430. lft = models.IntegerField()
  431. rght = models.IntegerField()
  432. tree_id = models.IntegerField()
  433. level = models.IntegerField()
  434. index_template_node = models.ForeignKey('DocumentIndexingIndextemplatenode', models.DO_NOTHING)
  435. parent = models.ForeignKey('self', models.DO_NOTHING, blank=True, null=True)
  436.  
  437. class Meta:
  438. managed = False
  439. db_table = 'document_indexing_indexinstancenode'
  440. unique_together = (('index_template_node', 'parent', 'value'),)
  441.  
  442.  
  443. class DocumentIndexingIndexinstancenodeDocuments(models.Model):
  444. indexinstancenode = models.ForeignKey(DocumentIndexingIndexinstancenode, models.DO_NOTHING)
  445. document = models.ForeignKey('DocumentsDocument', models.DO_NOTHING)
  446.  
  447. class Meta:
  448. managed = False
  449. db_table = 'document_indexing_indexinstancenode_documents'
  450. unique_together = (('indexinstancenode', 'document'),)
  451.  
  452.  
  453. class DocumentIndexingIndextemplate(models.Model):
  454. label = models.CharField(unique=True, max_length=128)
  455. enabled = models.BooleanField()
  456. slug = models.CharField(unique=True, max_length=128)
  457.  
  458. class Meta:
  459. managed = False
  460. db_table = 'document_indexing_indextemplate'
  461.  
  462.  
  463. class DocumentIndexingIndextemplateDocumentTypes(models.Model):
  464. indextemplate = models.ForeignKey(DocumentIndexingIndextemplate, models.DO_NOTHING)
  465. documenttype = models.ForeignKey('DocumentsDocumenttype', models.DO_NOTHING)
  466.  
  467. class Meta:
  468. managed = False
  469. db_table = 'document_indexing_indextemplate_document_types'
  470. unique_together = (('indextemplate', 'documenttype'),)
  471.  
  472.  
  473. class DocumentIndexingIndextemplateeventtrigger(models.Model):
  474. index_template = models.ForeignKey(DocumentIndexingIndextemplate, models.DO_NOTHING)
  475. stored_event_type = models.ForeignKey('EventsStoredeventtype', models.DO_NOTHING)
  476.  
  477. class Meta:
  478. managed = False
  479. db_table = 'document_indexing_indextemplateeventtrigger'
  480. unique_together = (('index_template', 'stored_event_type'),)
  481.  
  482.  
  483. class DocumentIndexingIndextemplatenode(models.Model):
  484. expression = models.TextField()
  485. enabled = models.BooleanField()
  486. link_documents = models.BooleanField()
  487. lft = models.IntegerField()
  488. rght = models.IntegerField()
  489. tree_id = models.IntegerField()
  490. level = models.IntegerField()
  491. index = models.ForeignKey(DocumentIndexingIndextemplate, models.DO_NOTHING)
  492. parent = models.ForeignKey('self', models.DO_NOTHING, blank=True, null=True)
  493.  
  494. class Meta:
  495. managed = False
  496. db_table = 'document_indexing_indextemplatenode'
  497.  
  498.  
  499. class DocumentParsingDocumentfilepagecontent(models.Model):
  500. content = models.TextField()
  501. document_file_page = models.OneToOneField('DocumentsDocumentfilepage', models.DO_NOTHING)
  502.  
  503. class Meta:
  504. managed = False
  505. db_table = 'document_parsing_documentfilepagecontent'
  506.  
  507.  
  508. class DocumentParsingDocumenttypesettings(models.Model):
  509. auto_parsing = models.BooleanField()
  510. document_type = models.OneToOneField('DocumentsDocumenttype', models.DO_NOTHING)
  511.  
  512. class Meta:
  513. managed = False
  514. db_table = 'document_parsing_documenttypesettings'
  515.  
  516.  
  517. class DocumentSignaturesDetachedsignature(models.Model):
  518. signaturebasemodel_ptr = models.OneToOneField('DocumentSignaturesSignaturebasemodel', models.DO_NOTHING, primary_key=True)
  519. signature_file = models.CharField(max_length=100, blank=True, null=True)
  520.  
  521. class Meta:
  522. managed = False
  523. db_table = 'document_signatures_detachedsignature'
  524.  
  525.  
  526. class DocumentSignaturesEmbeddedsignature(models.Model):
  527. signaturebasemodel_ptr = models.OneToOneField('DocumentSignaturesSignaturebasemodel', models.DO_NOTHING, primary_key=True)
  528.  
  529. class Meta:
  530. managed = False
  531. db_table = 'document_signatures_embeddedsignature'
  532.  
  533.  
  534. class DocumentSignaturesSignaturebasemodel(models.Model):
  535. key_id = models.CharField(max_length=40)
  536. signature_id = models.CharField(max_length=64, blank=True, null=True)
  537. public_key_fingerprint = models.CharField(max_length=40, blank=True, null=True)
  538. document_file = models.ForeignKey('DocumentsDocumentfile', models.DO_NOTHING)
  539. date_time = models.DateTimeField(blank=True, null=True)
  540.  
  541. class Meta:
  542. managed = False
  543. db_table = 'document_signatures_signaturebasemodel'
  544.  
  545.  
  546. class DocumentStatesWorkflow(models.Model):
  547. label = models.CharField(unique=True, max_length=255)
  548. internal_name = models.CharField(unique=True, max_length=255)
  549. auto_launch = models.BooleanField()
  550.  
  551. class Meta:
  552. managed = False
  553. db_table = 'document_states_workflow'
  554.  
  555.  
  556. class DocumentStatesWorkflowDocumentTypes(models.Model):
  557. workflow = models.ForeignKey(DocumentStatesWorkflow, models.DO_NOTHING)
  558. documenttype = models.ForeignKey('DocumentsDocumenttype', models.DO_NOTHING)
  559.  
  560. class Meta:
  561. managed = False
  562. db_table = 'document_states_workflow_document_types'
  563. unique_together = (('workflow', 'documenttype'),)
  564.  
  565.  
  566. class DocumentStatesWorkflowinstance(models.Model):
  567. document = models.ForeignKey('DocumentsDocument', models.DO_NOTHING)
  568. workflow = models.ForeignKey(DocumentStatesWorkflow, models.DO_NOTHING)
  569. context = models.TextField()
  570. datetime = models.DateTimeField()
  571.  
  572. class Meta:
  573. managed = False
  574. db_table = 'document_states_workflowinstance'
  575. unique_together = (('document', 'workflow'),)
  576.  
  577.  
  578. class DocumentStatesWorkflowinstancelogentry(models.Model):
  579. datetime = models.DateTimeField()
  580. comment = models.TextField()
  581. transition = models.ForeignKey('DocumentStatesWorkflowtransition', models.DO_NOTHING)
  582. user = models.ForeignKey(AuthUser, models.DO_NOTHING, blank=True, null=True)
  583. workflow_instance = models.ForeignKey(DocumentStatesWorkflowinstance, models.DO_NOTHING)
  584. extra_data = models.TextField()
  585.  
  586. class Meta:
  587. managed = False
  588. db_table = 'document_states_workflowinstancelogentry'
  589.  
  590.  
  591. class DocumentStatesWorkflowstate(models.Model):
  592. label = models.CharField(max_length=255)
  593. initial = models.BooleanField()
  594. workflow = models.ForeignKey(DocumentStatesWorkflow, models.DO_NOTHING)
  595. completion = models.IntegerField()
  596.  
  597. class Meta:
  598. managed = False
  599. db_table = 'document_states_workflowstate'
  600. unique_together = (('workflow', 'label'),)
  601.  
  602.  
  603. class DocumentStatesWorkflowstateaction(models.Model):
  604. label = models.CharField(max_length=255)
  605. enabled = models.BooleanField()
  606. when = models.IntegerField()
  607. action_path = models.CharField(max_length=128)
  608. action_data = models.TextField()
  609. state = models.ForeignKey(DocumentStatesWorkflowstate, models.DO_NOTHING)
  610. condition = models.TextField()
  611.  
  612. class Meta:
  613. managed = False
  614. db_table = 'document_states_workflowstateaction'
  615. unique_together = (('state', 'label'),)
  616.  
  617.  
  618. class DocumentStatesWorkflowstateescalation(models.Model):
  619. condition = models.TextField()
  620. priority = models.IntegerField()
  621. enabled = models.BooleanField()
  622. unit = models.CharField(max_length=32)
  623. amount = models.IntegerField()
  624. comment = models.TextField()
  625. state = models.ForeignKey(DocumentStatesWorkflowstate, models.DO_NOTHING)
  626. transition = models.ForeignKey('DocumentStatesWorkflowtransition', models.DO_NOTHING)
  627.  
  628. class Meta:
  629. managed = False
  630. db_table = 'document_states_workflowstateescalation'
  631. unique_together = (('state', 'transition'),)
  632.  
  633.  
  634. class DocumentStatesWorkflowtransition(models.Model):
  635. label = models.CharField(max_length=255)
  636. destination_state = models.ForeignKey(DocumentStatesWorkflowstate, models.DO_NOTHING)
  637. origin_state = models.ForeignKey(DocumentStatesWorkflowstate, models.DO_NOTHING)
  638. workflow = models.ForeignKey(DocumentStatesWorkflow, models.DO_NOTHING)
  639. condition = models.TextField()
  640.  
  641. class Meta:
  642. managed = False
  643. db_table = 'document_states_workflowtransition'
  644. unique_together = (('workflow', 'label', 'origin_state', 'destination_state'),)
  645.  
  646.  
  647. class DocumentStatesWorkflowtransitionfield(models.Model):
  648. field_type = models.IntegerField()
  649. name = models.CharField(max_length=128)
  650. label = models.CharField(max_length=128)
  651. help_text = models.TextField()
  652. required = models.BooleanField()
  653. transition = models.ForeignKey(DocumentStatesWorkflowtransition, models.DO_NOTHING)
  654. widget = models.IntegerField(blank=True, null=True)
  655. widget_kwargs = models.TextField()
  656.  
  657. class Meta:
  658. managed = False
  659. db_table = 'document_states_workflowtransitionfield'
  660. unique_together = (('transition', 'name'),)
  661.  
  662.  
  663. class DocumentStatesWorkflowtransitiontriggerevent(models.Model):
  664. event_type = models.ForeignKey('EventsStoredeventtype', models.DO_NOTHING)
  665. transition = models.ForeignKey(DocumentStatesWorkflowtransition, models.DO_NOTHING)
  666.  
  667. class Meta:
  668. managed = False
  669. db_table = 'document_states_workflowtransitiontriggerevent'
  670. unique_together = (('transition', 'event_type'),)
  671.  
  672.  
  673. class DocumentsDocument(models.Model):
  674. uuid = models.UUIDField()
  675. label = models.CharField(max_length=255)
  676. description = models.TextField()
  677. datetime_created = models.DateTimeField()
  678. language = models.CharField(max_length=8)
  679. document_type = models.ForeignKey('DocumentsDocumenttype', models.DO_NOTHING)
  680. in_trash = models.BooleanField()
  681. trashed_date_time = models.DateTimeField(blank=True, null=True)
  682. is_stub = models.BooleanField()
  683.  
  684. class Meta:
  685. managed = False
  686. db_table = 'documents_document'
  687.  
  688.  
  689. class DocumentsDocumentfile(models.Model):
  690. timestamp = models.DateTimeField()
  691. comment = models.TextField()
  692. file = models.CharField(max_length=100)
  693. mimetype = models.CharField(max_length=255, blank=True, null=True)
  694. encoding = models.CharField(max_length=64, blank=True, null=True)
  695. checksum = models.CharField(max_length=64, blank=True, null=True)
  696. document = models.ForeignKey(DocumentsDocument, models.DO_NOTHING)
  697. filename = models.CharField(max_length=255)
  698. size = models.IntegerField(blank=True, null=True)
  699.  
  700. class Meta:
  701. managed = False
  702. db_table = 'documents_documentfile'
  703.  
  704.  
  705. class DocumentsDocumentfilepage(models.Model):
  706. page_number = models.IntegerField()
  707. document_file = models.ForeignKey(DocumentsDocumentfile, models.DO_NOTHING)
  708.  
  709. class Meta:
  710. managed = False
  711. db_table = 'documents_documentfilepage'
  712.  
  713.  
  714. class DocumentsDocumenttype(models.Model):
  715. label = models.CharField(unique=True, max_length=196)
  716. delete_time_period = models.IntegerField(blank=True, null=True)
  717. delete_time_unit = models.CharField(max_length=8, blank=True, null=True)
  718. trash_time_period = models.IntegerField(blank=True, null=True)
  719. trash_time_unit = models.CharField(max_length=8, blank=True, null=True)
  720. filename_generator_backend = models.CharField(max_length=224)
  721. filename_generator_backend_arguments = models.TextField()
  722.  
  723. class Meta:
  724. managed = False
  725. db_table = 'documents_documenttype'
  726.  
  727.  
  728. class DocumentsDocumenttypefilename(models.Model):
  729. filename = models.CharField(max_length=128)
  730. enabled = models.BooleanField()
  731. document_type = models.ForeignKey(DocumentsDocumenttype, models.DO_NOTHING)
  732.  
  733. class Meta:
  734. managed = False
  735. db_table = 'documents_documenttypefilename'
  736. unique_together = (('document_type', 'filename'),)
  737.  
  738.  
  739. class DocumentsDocumentversion(models.Model):
  740. timestamp = models.DateTimeField()
  741. comment = models.TextField()
  742. document = models.ForeignKey(DocumentsDocument, models.DO_NOTHING)
  743. active = models.BooleanField()
  744.  
  745. class Meta:
  746. managed = False
  747. db_table = 'documents_documentversion'
  748.  
  749.  
  750. class DocumentsDocumentversionpage(models.Model):
  751. page_number = models.IntegerField()
  752. object_id = models.IntegerField()
  753. content_type = models.ForeignKey(DjangoContentType, models.DO_NOTHING)
  754. document_version = models.ForeignKey(DocumentsDocumentversion, models.DO_NOTHING)
  755.  
  756. class Meta:
  757. managed = False
  758. db_table = 'documents_documentversionpage'
  759. unique_together = (('document_version', 'page_number'),)
  760.  
  761.  
  762. class DocumentsFavoritedocument(models.Model):
  763. document = models.ForeignKey(DocumentsDocument, models.DO_NOTHING)
  764. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  765. datetime_added = models.DateTimeField()
  766.  
  767. class Meta:
  768. managed = False
  769. db_table = 'documents_favoritedocument'
  770.  
  771.  
  772. class DocumentsRecentlyaccesseddocument(models.Model):
  773. datetime_accessed = models.DateTimeField()
  774. document = models.ForeignKey(DocumentsDocument, models.DO_NOTHING)
  775. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  776.  
  777. class Meta:
  778. managed = False
  779. db_table = 'documents_recentlyaccesseddocument'
  780.  
  781.  
  782. class DuplicatesDuplicatebackendentry(models.Model):
  783. document = models.ForeignKey(DocumentsDocument, models.DO_NOTHING)
  784. stored_backend = models.ForeignKey('DuplicatesStoredduplicatebackend', models.DO_NOTHING)
  785.  
  786. class Meta:
  787. managed = False
  788. db_table = 'duplicates_duplicatebackendentry'
  789. unique_together = (('stored_backend', 'document'),)
  790.  
  791.  
  792. class DuplicatesDuplicatebackendentryDocuments(models.Model):
  793. duplicatebackendentry = models.ForeignKey(DuplicatesDuplicatebackendentry, models.DO_NOTHING)
  794. document = models.ForeignKey(DocumentsDocument, models.DO_NOTHING)
  795.  
  796. class Meta:
  797. managed = False
  798. db_table = 'duplicates_duplicatebackendentry_documents'
  799. unique_together = (('duplicatebackendentry', 'document'),)
  800.  
  801.  
  802. class DuplicatesStoredduplicatebackend(models.Model):
  803. backend_path = models.CharField(max_length=128)
  804. backend_data = models.TextField()
  805.  
  806. class Meta:
  807. managed = False
  808. db_table = 'duplicates_storedduplicatebackend'
  809.  
  810.  
  811. class EventsEventsubscription(models.Model):
  812. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  813. stored_event_type = models.ForeignKey('EventsStoredeventtype', models.DO_NOTHING)
  814.  
  815. class Meta:
  816. managed = False
  817. db_table = 'events_eventsubscription'
  818.  
  819.  
  820. class EventsNotification(models.Model):
  821. read = models.BooleanField()
  822. action = models.ForeignKey(ActstreamAction, models.DO_NOTHING)
  823. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  824.  
  825. class Meta:
  826. managed = False
  827. db_table = 'events_notification'
  828.  
  829.  
  830. class EventsObjecteventsubscription(models.Model):
  831. object_id = models.IntegerField()
  832. content_type = models.ForeignKey(DjangoContentType, models.DO_NOTHING)
  833. stored_event_type = models.ForeignKey('EventsStoredeventtype', models.DO_NOTHING)
  834. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  835.  
  836. class Meta:
  837. managed = False
  838. db_table = 'events_objecteventsubscription'
  839.  
  840.  
  841. class EventsStoredeventtype(models.Model):
  842. name = models.CharField(unique=True, max_length=64)
  843.  
  844. class Meta:
  845. managed = False
  846. db_table = 'events_storedeventtype'
  847.  
  848.  
  849. class FileCachingCache(models.Model):
  850. maximum_size = models.BigIntegerField()
  851. defined_storage_name = models.CharField(unique=True, max_length=96)
  852.  
  853. class Meta:
  854. managed = False
  855. db_table = 'file_caching_cache'
  856.  
  857.  
  858. class FileCachingCachepartition(models.Model):
  859. name = models.CharField(max_length=128)
  860. cache = models.ForeignKey(FileCachingCache, models.DO_NOTHING)
  861.  
  862. class Meta:
  863. managed = False
  864. db_table = 'file_caching_cachepartition'
  865. unique_together = (('cache', 'name'),)
  866.  
  867.  
  868. class FileCachingCachepartitionfile(models.Model):
  869. datetime = models.DateTimeField()
  870. filename = models.CharField(max_length=255)
  871. file_size = models.IntegerField()
  872. partition = models.ForeignKey(FileCachingCachepartition, models.DO_NOTHING)
  873. hits = models.IntegerField()
  874.  
  875. class Meta:
  876. managed = False
  877. db_table = 'file_caching_cachepartitionfile'
  878. unique_together = (('partition', 'filename'),)
  879.  
  880.  
  881. class FileMetadataDocumentfiledriverentry(models.Model):
  882. document_file = models.ForeignKey(DocumentsDocumentfile, models.DO_NOTHING)
  883. driver = models.ForeignKey('FileMetadataStoreddriver', models.DO_NOTHING)
  884.  
  885. class Meta:
  886. managed = False
  887. db_table = 'file_metadata_documentfiledriverentry'
  888. unique_together = (('driver', 'document_file'),)
  889.  
  890.  
  891. class FileMetadataDocumenttypesettings(models.Model):
  892. auto_process = models.BooleanField()
  893. document_type = models.OneToOneField(DocumentsDocumenttype, models.DO_NOTHING)
  894.  
  895. class Meta:
  896. managed = False
  897. db_table = 'file_metadata_documenttypesettings'
  898.  
  899.  
  900. class FileMetadataFilemetadataentry(models.Model):
  901. key = models.CharField(max_length=255)
  902. value = models.CharField(max_length=255)
  903. document_file_driver_entry = models.ForeignKey(FileMetadataDocumentfiledriverentry, models.DO_NOTHING)
  904.  
  905. class Meta:
  906. managed = False
  907. db_table = 'file_metadata_filemetadataentry'
  908.  
  909.  
  910. class FileMetadataStoreddriver(models.Model):
  911. driver_path = models.CharField(unique=True, max_length=255)
  912. internal_name = models.CharField(unique=True, max_length=128)
  913.  
  914. class Meta:
  915. managed = False
  916. db_table = 'file_metadata_storeddriver'
  917.  
  918.  
  919. class LinkingSmartlink(models.Model):
  920. label = models.CharField(max_length=128)
  921. dynamic_label = models.CharField(max_length=96)
  922. enabled = models.BooleanField()
  923.  
  924. class Meta:
  925. managed = False
  926. db_table = 'linking_smartlink'
  927.  
  928.  
  929. class LinkingSmartlinkDocumentTypes(models.Model):
  930. smartlink = models.ForeignKey(LinkingSmartlink, models.DO_NOTHING)
  931. documenttype = models.ForeignKey(DocumentsDocumenttype, models.DO_NOTHING)
  932.  
  933. class Meta:
  934. managed = False
  935. db_table = 'linking_smartlink_document_types'
  936. unique_together = (('smartlink', 'documenttype'),)
  937.  
  938.  
  939. class LinkingSmartlinkcondition(models.Model):
  940. inclusion = models.CharField(max_length=16)
  941. foreign_document_data = models.CharField(max_length=128)
  942. operator = models.CharField(max_length=16)
  943. expression = models.TextField()
  944. negated = models.BooleanField()
  945. enabled = models.BooleanField()
  946. smart_link = models.ForeignKey(LinkingSmartlink, models.DO_NOTHING)
  947.  
  948. class Meta:
  949. managed = False
  950. db_table = 'linking_smartlinkcondition'
  951.  
  952.  
  953. class LocalesUserlocaleprofile(models.Model):
  954. timezone = models.CharField(max_length=48)
  955. language = models.CharField(max_length=8)
  956. user = models.OneToOneField(AuthUser, models.DO_NOTHING)
  957.  
  958. class Meta:
  959. managed = False
  960. db_table = 'locales_userlocaleprofile'
  961.  
  962.  
  963. class LockManagerLock(models.Model):
  964. creation_datetime = models.DateTimeField()
  965. timeout = models.IntegerField()
  966. name = models.CharField(unique=True, max_length=255)
  967.  
  968. class Meta:
  969. managed = False
  970. db_table = 'lock_manager_lock'
  971.  
  972.  
  973. class LoggingErrorlogpartition(models.Model):
  974. name = models.CharField(max_length=128)
  975. error_log = models.ForeignKey('LoggingStorederrorlog', models.DO_NOTHING)
  976. content_type = models.ForeignKey(DjangoContentType, models.DO_NOTHING)
  977. object_id = models.IntegerField()
  978.  
  979. class Meta:
  980. managed = False
  981. db_table = 'logging_errorlogpartition'
  982. unique_together = (('error_log', 'content_type', 'object_id'), ('error_log', 'name'),)
  983.  
  984.  
  985. class LoggingErrorlogpartitionentry(models.Model):
  986. datetime = models.DateTimeField()
  987. text = models.TextField(blank=True, null=True)
  988. error_log_partition = models.ForeignKey(LoggingErrorlogpartition, models.DO_NOTHING)
  989.  
  990. class Meta:
  991. managed = False
  992. db_table = 'logging_errorlogpartitionentry'
  993.  
  994.  
  995. class LoggingStorederrorlog(models.Model):
  996. name = models.CharField(unique=True, max_length=128)
  997.  
  998. class Meta:
  999. managed = False
  1000. db_table = 'logging_storederrorlog'
  1001.  
  1002.  
  1003. class MailerUsermailer(models.Model):
  1004. label = models.CharField(unique=True, max_length=128)
  1005. default = models.BooleanField()
  1006. backend_path = models.CharField(max_length=128)
  1007. backend_data = models.TextField()
  1008. enabled = models.BooleanField()
  1009.  
  1010. class Meta:
  1011. managed = False
  1012. db_table = 'mailer_usermailer'
  1013.  
  1014.  
  1015. class MayanStatisticsStatisticresult(models.Model):
  1016. slug = models.CharField(unique=True, max_length=50)
  1017. datetime = models.DateTimeField()
  1018. serialize_data = models.TextField()
  1019.  
  1020. class Meta:
  1021. managed = False
  1022. db_table = 'mayan_statistics_statisticresult'
  1023.  
  1024.  
  1025. class MessagingMessage(models.Model):
  1026. sender_object_id = models.IntegerField(blank=True, null=True)
  1027. subject = models.CharField(max_length=255)
  1028. body = models.TextField()
  1029. read = models.BooleanField()
  1030. date_time = models.DateTimeField()
  1031. sender_content_type = models.ForeignKey(DjangoContentType, models.DO_NOTHING, blank=True, null=True)
  1032. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  1033.  
  1034. class Meta:
  1035. managed = False
  1036. db_table = 'messaging_message'
  1037.  
  1038.  
  1039. class MetadataDocumentmetadata(models.Model):
  1040. value = models.CharField(max_length=255, blank=True, null=True)
  1041. document = models.ForeignKey(DocumentsDocument, models.DO_NOTHING)
  1042. metadata_type = models.ForeignKey('MetadataMetadatatype', models.DO_NOTHING)
  1043.  
  1044. class Meta:
  1045. managed = False
  1046. db_table = 'metadata_documentmetadata'
  1047. unique_together = (('document', 'metadata_type'),)
  1048.  
  1049.  
  1050. class MetadataDocumenttypemetadatatype(models.Model):
  1051. required = models.BooleanField()
  1052. document_type = models.ForeignKey(DocumentsDocumenttype, models.DO_NOTHING)
  1053. metadata_type = models.ForeignKey('MetadataMetadatatype', models.DO_NOTHING)
  1054.  
  1055. class Meta:
  1056. managed = False
  1057. db_table = 'metadata_documenttypemetadatatype'
  1058. unique_together = (('document_type', 'metadata_type'),)
  1059.  
  1060.  
  1061. class MetadataMetadatatype(models.Model):
  1062. name = models.CharField(unique=True, max_length=48)
  1063. label = models.CharField(max_length=48)
  1064. default = models.CharField(max_length=128, blank=True, null=True)
  1065. lookup = models.TextField(blank=True, null=True)
  1066. validation = models.CharField(max_length=224)
  1067. parser = models.CharField(max_length=224)
  1068. validation_arguments = models.TextField()
  1069. parser_arguments = models.TextField()
  1070.  
  1071. class Meta:
  1072. managed = False
  1073. db_table = 'metadata_metadatatype'
  1074.  
  1075.  
  1076. class OcrDocumenttypeocrsettings(models.Model):
  1077. auto_ocr = models.BooleanField()
  1078. document_type = models.OneToOneField(DocumentsDocumenttype, models.DO_NOTHING)
  1079.  
  1080. class Meta:
  1081. managed = False
  1082. db_table = 'ocr_documenttypeocrsettings'
  1083.  
  1084.  
  1085. class OcrDocumentversionpageocrcontent(models.Model):
  1086. content = models.TextField()
  1087. document_version_page = models.OneToOneField(DocumentsDocumentversionpage, models.DO_NOTHING)
  1088.  
  1089. class Meta:
  1090. managed = False
  1091. db_table = 'ocr_documentversionpageocrcontent'
  1092.  
  1093.  
  1094. class PermissionsRole(models.Model):
  1095. label = models.CharField(unique=True, max_length=128)
  1096.  
  1097. class Meta:
  1098. managed = False
  1099. db_table = 'permissions_role'
  1100.  
  1101.  
  1102. class PermissionsRoleGroups(models.Model):
  1103. role = models.ForeignKey(PermissionsRole, models.DO_NOTHING)
  1104. group = models.ForeignKey(AuthGroup, models.DO_NOTHING)
  1105.  
  1106. class Meta:
  1107. managed = False
  1108. db_table = 'permissions_role_groups'
  1109. unique_together = (('role', 'group'),)
  1110.  
  1111.  
  1112. class PermissionsRolePermissions(models.Model):
  1113. role = models.ForeignKey(PermissionsRole, models.DO_NOTHING)
  1114. storedpermission = models.ForeignKey('PermissionsStoredpermission', models.DO_NOTHING)
  1115.  
  1116. class Meta:
  1117. managed = False
  1118. db_table = 'permissions_role_permissions'
  1119. unique_together = (('role', 'storedpermission'),)
  1120.  
  1121.  
  1122. class PermissionsStoredpermission(models.Model):
  1123. namespace = models.CharField(max_length=64)
  1124. name = models.CharField(max_length=64)
  1125.  
  1126. class Meta:
  1127. managed = False
  1128. db_table = 'permissions_storedpermission'
  1129. unique_together = (('namespace', 'name'),)
  1130.  
  1131.  
  1132. class QuotasQuota(models.Model):
  1133. backend_path = models.CharField(max_length=255)
  1134. backend_data = models.TextField()
  1135. enabled = models.BooleanField()
  1136.  
  1137. class Meta:
  1138. managed = False
  1139. db_table = 'quotas_quota'
  1140.  
  1141.  
  1142. class SignatureCapturesSignaturecapture(models.Model):
  1143. data = models.TextField()
  1144. svg = models.TextField()
  1145. text = models.CharField(max_length=224)
  1146. date_time_created = models.DateTimeField()
  1147. date_time_edited = models.DateTimeField()
  1148. internal_name = models.CharField(max_length=255)
  1149. document = models.ForeignKey(DocumentsDocument, models.DO_NOTHING)
  1150. user = models.ForeignKey(AuthUser, models.DO_NOTHING)
  1151.  
  1152. class Meta:
  1153. managed = False
  1154. db_table = 'signature_captures_signaturecapture'
  1155. unique_together = (('document', 'internal_name'),)
  1156.  
  1157.  
  1158. class SourcesSource(models.Model):
  1159. label = models.CharField(unique=True, max_length=128)
  1160. enabled = models.BooleanField()
  1161. backend_data = models.TextField()
  1162. backend_path = models.CharField(max_length=128)
  1163.  
  1164. class Meta:
  1165. managed = False
  1166. db_table = 'sources_source'
  1167.  
  1168.  
  1169. class StorageDownloadfile(models.Model):
  1170. file = models.CharField(max_length=100)
  1171. filename = models.CharField(max_length=255)
  1172. datetime = models.DateTimeField()
  1173. object_id = models.IntegerField(blank=True, null=True)
  1174. label = models.CharField(max_length=192)
  1175. content_type = models.ForeignKey(DjangoContentType, models.DO_NOTHING, blank=True, null=True)
  1176. permission = models.ForeignKey(PermissionsStoredpermission, models.DO_NOTHING, blank=True, null=True)
  1177.  
  1178. class Meta:
  1179. managed = False
  1180. db_table = 'storage_downloadfile'
  1181.  
  1182.  
  1183. class StorageShareduploadedfile(models.Model):
  1184. file = models.CharField(max_length=100)
  1185. filename = models.CharField(max_length=255)
  1186. datetime = models.DateTimeField()
  1187.  
  1188. class Meta:
  1189. managed = False
  1190. db_table = 'storage_shareduploadedfile'
  1191.  
  1192.  
  1193. class TagsTag(models.Model):
  1194. label = models.CharField(unique=True, max_length=128)
  1195. color = models.CharField(max_length=7)
  1196.  
  1197. class Meta:
  1198. managed = False
  1199. db_table = 'tags_tag'
  1200.  
  1201.  
  1202. class TagsTagDocuments(models.Model):
  1203. tag = models.ForeignKey(TagsTag, models.DO_NOTHING)
  1204. document = models.ForeignKey(DocumentsDocument, models.DO_NOTHING)
  1205.  
  1206. class Meta:
  1207. managed = False
  1208. db_table = 'tags_tag_documents'
  1209. unique_together = (('tag', 'document'),)
  1210.  
  1211.  
  1212. class UserManagementUseroptions(models.Model):
  1213. block_password_change = models.BooleanField()
  1214. user = models.OneToOneField(AuthUser, models.DO_NOTHING)
  1215.  
  1216. class Meta:
  1217. managed = False
  1218. db_table = 'user_management_useroptions'
  1219.  
  1220.  
  1221. class WebLinksWeblink(models.Model):
  1222. label = models.CharField(unique=True, max_length=96)
  1223. template = models.TextField()
  1224. enabled = models.BooleanField()
  1225.  
  1226. class Meta:
  1227. managed = False
  1228. db_table = 'web_links_weblink'
  1229.  
  1230.  
  1231. class WebLinksWeblinkDocumentTypes(models.Model):
  1232. weblink = models.ForeignKey(WebLinksWeblink, models.DO_NOTHING)
  1233. documenttype = models.ForeignKey(DocumentsDocumenttype, models.DO_NOTHING)
  1234.  
  1235. class Meta:
  1236. managed = False
  1237. db_table = 'web_links_weblink_document_types'
  1238. unique_together = (('weblink', 'documenttype'),)
  1239. 
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement