This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Sets the Site object in django to something better then example.com. So when other apps like pinax use it to construct email links that they actually work.

  1. Installation.

To install either download the source and run ‘setup.py install’ like any other python module or install it from the cheese shop with ‘easy_install django-defaultsite’

Then add ‘defaultsite’ into your INSTALLED_APPS in your django settings.

  1. Configuration (Optional)

By default it will use socket.gethostname() to determine the host name of the site, and ‘defaultsite’ as the human readable version.

If you want to configure it further these settings are available, just put them in your settings.py:

SITE_ID: The primary key on which Site object to modify. Normally 1.

SITE_DOMAIN: The domain to use to replace ‘example.com’. Defaults to your machine’s hostname.

SITE_NAME: The sites name. Defaults to ‘defaultsite’.

Release History

Release History

1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-defaultsite-1.1.zip (7.0 kB) Copy SHA256 Checksum SHA256 Source Apr 16, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting