#402 closed defect (wontfix)
Site Domain Hardcoded
Reported by: | anonymous | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | trivial | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The Site domain (for the admin interface) seems to be hardcoded in the admin-templates.
This should be changeable with the domainname from the database.
Change History (2)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This is intentional, because it's very possible to use one admin for multiple sites.
Note:
See TracTickets
for help on using tickets.
I'm not sure I agree. How would django know what the domain name is? The host header provided? I access my development site via different domain names based on where I am, and it'll look silly for it to keep changing between www, io, io.xxx.yy.zz www.xyz.net etc. If it's something that bothers you, it's easily changed. It's even used as an example in the Admin interface tutorial here