issue #23 add docu in readme #27
@ -1,12 +1,13 @@
|
|||||||
annotated-types==0.7.0
|
annotated-types==0.7.0
|
||||||
asgiref==3.8.1
|
asgiref==3.8.1
|
||||||
astroid==2.6.5
|
astroid==3.3.5
|
||||||
certifi==2024.8.30
|
certifi==2024.8.30
|
||||||
charset-normalizer==3.4.0
|
charset-normalizer==3.4.0
|
||||||
crispy-bootstrap5==2024.10
|
crispy-bootstrap5==2024.10
|
||||||
|
dill==0.3.9
|
||||||
Django==5.1.3
|
Django==5.1.3
|
||||||
django-crispy-forms==2.3
|
django-crispy-forms==2.3
|
||||||
django-filter==2.4.0
|
django-filter==24.3
|
||||||
django-qr-code==4.1.0
|
django-qr-code==4.1.0
|
||||||
django-rest-framework==0.1.0
|
django-rest-framework==0.1.0
|
||||||
django-tex==1.1.10
|
django-tex==1.1.10
|
||||||
@ -21,15 +22,17 @@ mccabe==0.6.1
|
|||||||
packaging==24.2
|
packaging==24.2
|
||||||
Pillow==8.3.1
|
Pillow==8.3.1
|
||||||
pipdeptree==2.23.4
|
pipdeptree==2.23.4
|
||||||
|
platformdirs==4.3.6
|
||||||
psycopg2-binary==2.9.9
|
psycopg2-binary==2.9.9
|
||||||
pydantic==2.9.2
|
pydantic==2.9.2
|
||||||
pydantic_core==2.23.4
|
pydantic_core==2.23.4
|
||||||
pylint==2.9.6
|
pylint==3.3.1
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
segno==1.6.1
|
segno==1.6.1
|
||||||
setuptools==75.3.0
|
setuptools==75.3.0
|
||||||
sqlparse==0.4.1
|
sqlparse==0.4.1
|
||||||
toml==0.10.2
|
toml==0.10.2
|
||||||
|
tomlkit==0.13.2
|
||||||
typing_extensions==4.12.2
|
typing_extensions==4.12.2
|
||||||
tzdata==2024.2
|
tzdata==2024.2
|
||||||
urllib3==2.2.3
|
urllib3==2.2.3
|
||||||
|
@ -376,6 +376,12 @@ def auto_apply_template_structure(sender, instance, created, **kwargs):
|
|||||||
If there are nested sub-storages these will be added when the sub-storages
|
If there are nested sub-storages these will be added when the sub-storages
|
||||||
are created automatically.
|
are created automatically.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# Skip recursion if the model is saved 'raw' e.g. when imported
|
||||||
|
if 'raw' in kwargs:
|
||||||
|
if kwargs['raw']:
|
||||||
|
return
|
||||||
|
|
||||||
if created:
|
if created:
|
||||||
if instance.template:
|
if instance.template:
|
||||||
for sub_storage in instance.template.storage_set.all():
|
for sub_storage in instance.template.storage_set.all():
|
||||||
|
Loading…
Reference in New Issue
Block a user