﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28875	SQL: Creation of Index fails with '/' in app_label	Jens L.	nobody	"Django 2's creation of SQLite indicies doesn't escape the index name, which causes issues when you use for example '/' in your app_labels.

Offending file is db/backends/sqlite3/schema.py , line 18.

If said line is swapped with this:


{{{
    sql_create_unique = ""CREATE UNIQUE INDEX \""%(name)s\"" ON %(table)s (%(columns)s)""
}}}

creation of indices works fine.


Update: This also happens on MySQL (tested on Python 3.5.3, Django 2.0, PyMySQL 0.7.11"	Bug	closed	Database layer (models, ORM)	2.0	Normal	wontfix			Unreviewed	1	0	0	0	0	0
