#32158: loaddata crashes on SQLite when table names are SQL keywords.
-------------------------------------+-------------------------------------
Reporter: Scott Herriman | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 3.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: loaddata SqlLite3 | Triage Stage: Accepted
check_constraints |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
> shall i wrap "table_name" in "quote_name" as in
"quote_name(table_name)"?
yes, `self.ops.quote_name(table_name)`
--
Ticket URL: <https://code.djangoproject.com/ticket/32158#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.528b810c0b5948a047fd585fc01fabb3%40djangoproject.com.