Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#14374 closed (fixed)

Missing templates on contrib.auth makes tests in a new project fail (startproject)

Reported by: henriquebastos Owned by: nobody
Component: Contrib apps Version: 1.2
Severity: Keywords: startproject auth test
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


After installing django and creating a project runing " startproject", if I setup a sqlite3 database and try to run the tests (python test) it will fail.

Seems that contrib.auth tests are missing 2 template files, making it dependent of contrib.admin templates, however, the admin app isn't installed by default on the generated

If I uncomment the contrib.admin line on the generated settings the tests will work properly. It happens on both v1.2.3 and trunk.

It was solved creating the missing template files inside contrib.auth tests. The patch is attached.

Attachments (2)

0001-Added-missing-templates-for-contrib.auth-tests.patch (1.2 KB) - added by henriquebastos 6 years ago.
0001-Added-missing-templates-for-contrib.auth-tests.diff (1.2 KB) - added by henriquebastos 6 years ago.
Just fixing the file extension.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by henriquebastos

Just fixing the file extension.

comment:1 Changed 6 years ago by russellm

  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 6 years ago by russellm

  • milestone set to 1.3
  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 6 years ago by Alex

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [14003].

comment:4 Changed 5 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top