Opened 2 years ago

Closed 2 years ago

#22779 closed New feature (needsinfo)

Swappable Site

Reported by: Kronuz Owned by: nobody
Component: contrib.sites Version: 1.6
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


As noted by #15089 and #21381, it'd be nice to have more flexibility regarding the sites contrib app. I'm attaching a patch that makes django.contrib.sites Site model swappable under v1.6. The patch requires an accepted ticket (#21391) abut lazy signals (I backported it from 1.7 to 1.6), and with that it passes all tests.

Attachments (1)

#22779-swappable_sites.diff (17.6 KB) - added by Kronuz 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by Kronuz

comment:1 Changed 2 years ago by aaugustin

  • Component changed from Uncategorized to contrib.sites
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Type changed from Uncategorized to New feature

Interesting idea. Can you explain your use case and why you're suggestion this solution on django-developers?

comment:2 Changed 2 years ago by timo

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

Closing as "needs info" until the required discussion happens.

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