Hi Michael,
As you said, it sounds like monkey patching is your best option, besides
re-writing the whole sites app.
You could, if you wanted to, explain your use-case on the django-developers
mailing list and propose having "swappable" site models, which would help
you out.
See this ticket:
Hi,
I am using the sites framework and finding it very useful but I would
prefer the Site.__str__ method to return the site name instead of the
domain. What is the best way of going about that? Is it reasonable to
monkey patch it or do I need to make my own sites app with a copy of the
code?
2 matches
Mail list logo