Properly include ddt's urls using include
#494
No reviewers
Labels
No labels
devtype -- backend
devtype -- docs
devtype -- frontend
devtype -- user interface
difficulty -- easy
difficulty -- hard
difficulty -- normal
Doing
domain -- bda
domain -- bds
domain -- cof
domain -- core
domain -- kfet
Good first issue
priority -- high
priority -- low
priority -- medium
priority -- staff-wanted
status -- development
status -- discussion
status -- need review
status -- production
status -- ready to merge
status -- todo
To Do
type -- bug
type -- hygiene
type -- improvement
type -- new feature
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/gestioCOF#494
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Kerl/1_11_urls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Django debug toolbar's urls were not included properly according to Django 1.11's standards. We now use the
include
function.C'est normal que
settings.DEBUG
est sauté ?Oui, on ne pouvait pas lancer les tests unitaires à cause de ça. Quand tu lances les tests il se met en
DEBUG = False
mais il charge quand même le fichiersettings_dev.py
(obviously), du coup ddt se retrouve dans les installed apps mais ne trouve pas ses urls et râle.Le workaround qu'on a trouvé a été de remplacer le
settings.DEBUG
par'debug_toolbar' in settings.INSTALLED_APPS
.resolved all discussions
merged
mentioned in commit
95b96d470f