Hello
I didn't find the equivalent commands in python (script) for this two dmtl
commands:
<dtml-try>
...
<dtml-except DatabaseError>
<dtml-if "error_type == 'IntegrityError'">
...
</dtml-if>
<dtml-else>
...
</dtml-try>
---
try:
...
except DatabaseError:
if error_type == 'IntegrityError':
...
else:
...
doesn't work. Have I to import something to access the variables, or what am
I missing?
Thanks
Dieter