id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 7358,[patch] create_default_site: configurable default domain name,Etienne Robillard,nobody," Hi, The ``create_default_site`` function in the ``django.contrib.sites.management`` module hardcodes ''example.com'' as the default site. I think this is potentially harmful for users because it can be exploited remotely. A better hardcoded value would be to use 'localhost' or ``socket.gethostname`` as the default domain name. The attached patch implements the later for resolving the default domain name. ",,closed,Contrib apps,dev,,invalid,,,Unreviewed,1,0,0,0,0,0