#32285: AppConfig.label should raise an exception when it's not a valid Python
identifier.
-------------------------------------+-------------------------------------
Reporter: Federico Capoano | Owner: Hasan
Type: | Ramezani
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak):
Replying to [comment:4 Federico Capoano]:
> Have you already tried to create a new django app, put a dot in the
app_label field of the AppConfig, ensure the AppConfig is mentioned in the
__init__.py, then create a model and run ./manage.py makemigrations?
Yes. Can you share a stacktrace? I'm not even sure in which line or file
you encountered this issue 🤔
--
Ticket URL: <https://code.djangoproject.com/ticket/32285#comment:5>
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/071.2fd842f1b773d1abcdbb2d66a1d6f8ec%40djangoproject.com.