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?

It is for situations that I don't control like the admin interface and 3rd 
party apps displaying the Site objects.

Any help would be much appreciated,
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0e6ad3d1-bc34-4724-80a7-e8879fd80c3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to