Opened 10 years ago
Last modified 10 years ago
#23583 closed Bug
makemessages for javascript no longer works — at Version 3
Reported by: | Michal Čihař | Owned by: | nobody |
---|---|---|---|
Component: | Internationalization | Version: | 1.7 |
Severity: | Release blocker | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
makemessages ignores any in-app paths that begin with static because of this line:
https://github.com/django/django/blob/master/django/core/management/commands/makemessages.py#L233
it should ignore something like "<path>/*" but not "<path>*"
reproducible:
https://github.com/blodone/django_static_broken
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
STATIC_ROOT
is not supposed to point to where your static files are located in your source code, but where you deploy them. I think you might be misusing the static files framework.
https://docs.djangoproject.com/en/1.7/ref/settings/#std:setting-STATIC_ROOT
comment:3 by , 10 years ago
Description: | modified (diff) |
---|---|
Has patch: | unset |
Resolution: | invalid |
Status: | closed → new |
Pull request: https://github.com/django/django/pull/3298