- Timestamp:
- 01/18/12 09:35:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3D/openPLM/document3D/models.py
r653 r655 57 57 stp = models.ForeignKey(DocumentFile) 58 58 index = models.IntegerField() 59 count = models.IntegerField(0) 59 60 60 61 #sirve para algo el index? … … 201 202 202 203 if not ok: 204 query_jss=stp_to_jss.objects.filter(stp=doc_file) 205 files_js=list(query_jss.values_list("js", flat=True)) 206 query_jss=stp_to_jss_arborescense.objects.filter(stp=doc_file) 207 arborescense_js=list(query_jss.values_list("js", flat=True)) 203 208 #effacer touts les fichiers generes 204 eliminer_associes( doc_file)209 eliminer_associes(files_js,arborescense_js) 205 210 print "Error: It was not possible to generate a sight 3D of the file." 206 211 return False
Note: See TracChangeset
for help on using the changeset viewer.