Commits

Author Commit Message Labels Comments Date
Jerome Leclanche
Prevent another race condition that would turn up invalid checks in ENV_HOSTNAMES by caching the domain in lookup()
Jerome Leclanche
Check for a "." in target_domain before splitting it. This avoids running
Jerome Leclanche
Avoir a race condition in the dynamicsites middleware where sometimes
Jerome Leclanche
Fix importing urlconf from within a site
Andrew Nelis
More setup.py twiddling.
Andrew Nelis
Fix stupid syntax error.
Andrew Nelis
Fixup version, remove unused imports.
Andrew Nelis
Added basic setup.py so we can install via pip or buildout.
uy...@uysrc.com
Added site_info view to README file
uy...@uysrc.com
more tidbits
uy...@uysrc.com
now supports a no subdomain option, using a pair of single quotes "''" in the subdomain config
uy...@uysrc.com
ifixin it up
uy...@uysrc.com
fixed bug w/ django 1.3.1
crass
Reset TEMPLATE_DIRS to pre-request value when processing the response because we do not want modifications from the request processing to propagate to future requests. Set SITE_ID and TEMPLATE_DIRS TLS properties on Settings object instead of wrapper LazySettings object, which would never call the property __set__ due to __setattr__ hook.
crass
optimization
crass
If the site is deleted from the database, it could still be in the cache, which would throw an exception.
crass
Remove need to catch NameError because of bug where folder_name was referenced but never assigned to. Also TEMPLATE_DIRS is a TLSProperty so we must set its "value" property otherwise the global is reassigned and settings is unaffected.
crass
Set default for TEMPLATE_DIRS to the value resolved from settings module, since making TEMPLATE_DIRS a tls property overwrites the old value.
crass
Rename TEMPLATES_DIR -> TEMPLATE_DIRS, which is the correct name for the setting.
crass
If SITE_ID is not set {} should be returned or an exception is thrown from django.template.context.Context.update which expects an object with __getitem__ attribute.
crass
Allow folder name field to be blank, since this will just mean that it has no special customizations.
uysrc
fixed typos
uysrc
added SITES_DIR
uysrc
..
uysrc
..
uysrc
..
uysrc
first commit