-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade django version #5
base: master
Are you sure you want to change the base?
Commits on Apr 22, 2011
-
Adding a modeladmin class allowing one to restrict access to the admi…
…n per-site.
Adam Coddington committedApr 22, 2011 Configuration menu - View commit details
-
Copy full SHA for 0c7e800 - Browse repository at this point
Copy the full SHA 0c7e800View commit details
Commits on Apr 29, 2011
-
Adding a subclass of CurrentSiteManager accepting a path to a 'site'/…
…'sites' field.
Adam Coddington committedApr 29, 2011 Configuration menu - View commit details
-
Copy full SHA for c4717c1 - Browse repository at this point
Copy the full SHA c4717c1View commit details -
Adding better handling of distant 'site' or 'sites' foreign keys.
Adam Coddington committedApr 29, 2011 Configuration menu - View commit details
-
Copy full SHA for 8a606f1 - Browse repository at this point
Copy the full SHA 8a606f1View commit details -
Moving managers to the proper place.
Adam Coddington committedApr 29, 2011 Configuration menu - View commit details
-
Copy full SHA for a6ee0eb - Browse repository at this point
Copy the full SHA a6ee0ebView commit details
Commits on May 16, 2011
-
Fixing admin to use "_default_manager", rather than the usual "objects".
Robert Hall committedMay 16, 2011 Configuration menu - View commit details
-
Copy full SHA for 3c30e4e - Browse repository at this point
Copy the full SHA 3c30e4eView commit details -
Merge pull request #1 from robthehall/master
I've fixed the admin file to filter using the actual default manager, rather than rely on the conventional "objects".
Configuration menu - View commit details
-
Copy full SHA for a52f873 - Browse repository at this point
Copy the full SHA a52f873View commit details
Commits on Jul 6, 2011
-
Configuration menu - View commit details
-
Copy full SHA for ddbf6ab - Browse repository at this point
Copy the full SHA ddbf6abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76dc037 - Browse repository at this point
Copy the full SHA 76dc037View commit details
Commits on Jul 8, 2011
-
Now hiding change list site filters which your user isn't allowed to …
…use.
Robert Hall committedJul 8, 2011 Configuration menu - View commit details
-
Copy full SHA for f814205 - Browse repository at this point
Copy the full SHA f814205View commit details -
Merge pull request #2 from robthehall/master
Pull to get auto-hiding site filters on the change list pages. Thanks Robert!
Configuration menu - View commit details
-
Copy full SHA for d5f497c - Browse repository at this point
Copy the full SHA d5f497cView commit details
Commits on Jul 10, 2011
-
Added option to limit FK fields to objects that belong to the same site
as the current object being edited.
Robert Hall committedJul 10, 2011 Configuration menu - View commit details
-
Copy full SHA for cfc049e - Browse repository at this point
Copy the full SHA cfc049eView commit details
Commits on Jul 11, 2011
-
Configuration menu - View commit details
-
Copy full SHA for 9a130ab - Browse repository at this point
Copy the full SHA 9a130abView commit details -
Configuration menu - View commit details
-
Copy full SHA for c20a854 - Browse repository at this point
Copy the full SHA c20a854View commit details -
Robert Hall committed
Jul 11, 2011 Configuration menu - View commit details
-
Copy full SHA for 64cc32b - Browse repository at this point
Copy the full SHA 64cc32bView commit details
Commits on Feb 1, 2012
-
Merge branch 'master' of git://github.com/robthehall/django-multisite
Conflicts: multisite/admin.py
Configuration menu - View commit details
-
Copy full SHA for 21c5ffe - Browse repository at this point
Copy the full SHA 21c5ffeView commit details -
SiteIDHook supports comparisons to int and long.
This makes django.contrib.sites.tests pass.
Configuration menu - View commit details
-
Copy full SHA for d73c379 - Browse repository at this point
Copy the full SHA d73c379View commit details
Commits on Apr 17, 2012
-
Configuration menu - View commit details
-
Copy full SHA for e1cfa4e - Browse repository at this point
Copy the full SHA e1cfa4eView commit details
Commits on May 28, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 77cd208 - Browse repository at this point
Copy the full SHA 77cd208View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49d6ef2 - Browse repository at this point
Copy the full SHA 49d6ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2b63ee - Browse repository at this point
Copy the full SHA b2b63eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 222b586 - Browse repository at this point
Copy the full SHA 222b586View commit details -
Make SiteIDHook into a threading.local object.
This is so that you can have multiple SiteIDHooks, if you so desire. The singleton should be enforced by settings.py, not by a module-level global.
Configuration menu - View commit details
-
Copy full SHA for 1fee71c - Browse repository at this point
Copy the full SHA 1fee71cView commit details -
Replace SiteIDHook with SiteID: a better name, as it's not really a h…
…ook. In addition, remove the need to know about threadlocals: >>> from multisite import SiteID
Configuration menu - View commit details
-
Copy full SHA for 3455ed7 - Browse repository at this point
Copy the full SHA 3455ed7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e2259d - Browse repository at this point
Copy the full SHA 7e2259dView commit details
Commits on May 29, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 866f17e - Browse repository at this point
Copy the full SHA 866f17eView commit details -
middleware.py: Use Django's cache framework for DynamicSiteMiddleware…
…'s cache. This replaces middleware.HOST_CACHE which was a module-level dictionary. These are undesirable because they're not shared between processes and because they cannot be expired properly.
Configuration menu - View commit details
-
Copy full SHA for bd7809a - Browse repository at this point
Copy the full SHA bd7809aView commit details
Commits on May 30, 2012
-
Configuration menu - View commit details
-
Copy full SHA for ddc9db0 - Browse repository at this point
Copy the full SHA ddc9db0View commit details -
middleware.py: DynamicSiteMiddleware raises TypeError on bad settings…
….SITE_ID settings.SITE_ID must now resemble multisite.SiteID.
Configuration menu - View commit details
-
Copy full SHA for cf9869c - Browse repository at this point
Copy the full SHA cf9869cView commit details -
middleware.py: settings.MULTISITE_FALLBACK lets you define a fallback…
… view. When request.get_host() does not resolve to a known Site, django-multisite will now respond with an HTTP 404 Not Found. If settings.MULTISITE_FALLBACK is defined, django-multisite will call that view to decide how to continue.
Configuration menu - View commit details
-
Copy full SHA for 9bc0d58 - Browse repository at this point
Copy the full SHA 9bc0d58View commit details
Commits on Jun 1, 2012
-
models.py: Alias model for domain name aliases of Site.domain
Includes South migrations, for those using South.
Configuration menu - View commit details
-
Copy full SHA for 4d24608 - Browse repository at this point
Copy the full SHA 4d24608View commit details -
Configuration menu - View commit details
-
Copy full SHA for 914c914 - Browse repository at this point
Copy the full SHA 914c914View commit details -
Configuration menu - View commit details
-
Copy full SHA for 259f916 - Browse repository at this point
Copy the full SHA 259f916View commit details -
models.py: Move DynamicSiteMiddleware methods to AliasManager:
* DynamicSiteMiddleware.get_site() -> AliasManager.resolve() AliasManager.resolve now returns an Alias object, not a Site object. * DynamicSiteMiddleware._expand_netloc() -> AliasManager._expand_netloc() Implementation unchanged.
Configuration menu - View commit details
-
Copy full SHA for 6e1b4dc - Browse repository at this point
Copy the full SHA 6e1b4dcView commit details -
AliasManager.resolve() and _expand_netloc() take 'host' and 'port' pa…
…rams. This replaces the 'netloc' parameter, as it is more useful to parse it beforehand.
Configuration menu - View commit details
-
Copy full SHA for 56fdb60 - Browse repository at this point
Copy the full SHA 56fdb60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ed04aa - Browse repository at this point
Copy the full SHA 1ed04aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b46a841 - Browse repository at this point
Copy the full SHA b46a841View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43ff35d - Browse repository at this point
Copy the full SHA 43ff35dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bfa170 - Browse repository at this point
Copy the full SHA 2bfa170View commit details -
Configuration menu - View commit details
-
Copy full SHA for 177a555 - Browse repository at this point
Copy the full SHA 177a555View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6076ef - Browse repository at this point
Copy the full SHA e6076efView commit details
Commits on Jun 4, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 0d7b07f - Browse repository at this point
Copy the full SHA 0d7b07fView commit details -
Convert README.markdown to README.rst: reStructuredText
--HG-- rename : README.markdown => README.rst
Configuration menu - View commit details
-
Copy full SHA for b2ff78b - Browse repository at this point
Copy the full SHA b2ff78bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a25734 - Browse repository at this point
Copy the full SHA 2a25734View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92fbf39 - Browse repository at this point
Copy the full SHA 92fbf39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 283eb44 - Browse repository at this point
Copy the full SHA 283eb44View commit details
Commits on Jun 5, 2012
-
Configuration menu - View commit details
-
Copy full SHA for d12e40d - Browse repository at this point
Copy the full SHA d12e40dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69a4a27 - Browse repository at this point
Copy the full SHA 69a4a27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88716a3 - Browse repository at this point
Copy the full SHA 88716a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4481ac - Browse repository at this point
Copy the full SHA e4481acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38712b2 - Browse repository at this point
Copy the full SHA 38712b2View commit details
Commits on Jun 6, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 007721c - Browse repository at this point
Copy the full SHA 007721cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8802769 - Browse repository at this point
Copy the full SHA 8802769View commit details
Commits on Jun 7, 2012
-
Configuration menu - View commit details
-
Copy full SHA for f9ec719 - Browse repository at this point
Copy the full SHA f9ec719View commit details
Commits on Jun 8, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 1803065 - Browse repository at this point
Copy the full SHA 1803065View commit details
Commits on Oct 29, 2012
-
Fix get_development_alias for Django 1.3.4 and 1.4.2 by adding admins…
…ite.com
Maxime Dupuis committedOct 29, 2012 Configuration menu - View commit details
-
Copy full SHA for 66949de - Browse repository at this point
Copy the full SHA 66949deView commit details
Commits on Oct 31, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 366b4aa - Browse repository at this point
Copy the full SHA 366b4aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1b1930 - Browse repository at this point
Copy the full SHA e1b1930View commit details
Commits on Nov 12, 2012
-
Replace SiteAdmin.form with one that checks if Alias will fail valida…
…tion. Because Alias objects are created in the post_save signal for Site, creating or editing Site objects in the admin may cause validation failures that need to be reported.
Configuration menu - View commit details
-
Copy full SHA for d1bfcea - Browse repository at this point
Copy the full SHA d1bfceaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06218fb - Browse repository at this point
Copy the full SHA 06218fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a84ba36 - Browse repository at this point
Copy the full SHA a84ba36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3932abc - Browse repository at this point
Copy the full SHA 3932abcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f0851c - Browse repository at this point
Copy the full SHA 8f0851cView commit details
Commits on Dec 12, 2012
-
Configuration menu - View commit details
-
Copy full SHA for 4890495 - Browse repository at this point
Copy the full SHA 4890495View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e7fcce - Browse repository at this point
Copy the full SHA 4e7fcceView commit details -
Configuration menu - View commit details
-
Copy full SHA for e462961 - Browse repository at this point
Copy the full SHA e462961View commit details
Commits on Feb 26, 2013
-
Improve performance of DynamicSiteMiddleware.
Instead of asking the database if a Site object has changed, cache the original value and check it. As well, pre-populate the SITE_CACHE when resolving aliases. Writing to the cache too often is better than hitting the database.
Configuration menu - View commit details
-
Copy full SHA for 90ac573 - Browse repository at this point
Copy the full SHA 90ac573View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2a2f3e - Browse repository at this point
Copy the full SHA d2a2f3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2659c3 - Browse repository at this point
Copy the full SHA b2659c3View commit details
Commits on Mar 27, 2013
-
Prepend multisite.middleware.CookieDomainMiddleware to settings.MIDDLEWARE_CLASSES to handle cross-domain cookies. http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Path
Configuration menu - View commit details
-
Copy full SHA for 6d536bf - Browse repository at this point
Copy the full SHA 6d536bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b27afc - Browse repository at this point
Copy the full SHA 1b27afcView commit details
Commits on May 6, 2013
-
Configuration menu - View commit details
-
Copy full SHA for f70fd38 - Browse repository at this point
Copy the full SHA f70fd38View commit details -
Configuration menu - View commit details
-
Copy full SHA for d090a75 - Browse repository at this point
Copy the full SHA d090a75View commit details
Commits on Oct 16, 2013
-
test.py: Skip function-based views tests if using Django 1.5 or above.
Maxime Dupuis committedOct 16, 2013 Configuration menu - View commit details
-
Copy full SHA for 00e4062 - Browse repository at this point
Copy the full SHA 00e4062View commit details
Commits on Oct 17, 2013
-
hosts.py: Added ALLOWED_HOSTS lazy iterable object.
By default, Django 1.5 requires ALLOWED_HOSTS to be defined when DEBUG is False. This lazy iterable object allows us to query our aliases for hosts. We can also specify wild cards by setting `MULTISITE_EXTRA_HOSTS` if we so desire. The hosts specified in this variable will be verified first so we don't have to hit the database if we don't have to. To use, put the following in your Django settings file: from multisite.hosts import ALLOWED_HOSTS as AH ALLOWED_HOSTS = AH If you want to specify extra allowed hosts, add this line to your settings: MULTISITE_EXTRA_HOSTS = ['*.mydomain.com']
Maxime Dupuis committedOct 17, 2013 Configuration menu - View commit details
-
Copy full SHA for ccddf70 - Browse repository at this point
Copy the full SHA ccddf70View commit details
Commits on Mar 3, 2014
-
Re-did the template loaders modules to mimick Django's. This cached template loader caches on a per-domain basis. Kept a reference to the multisite template loader in template_loader.py for compatibilty.
Maxime Dupuis committedMar 3, 2014 Configuration menu - View commit details
-
Copy full SHA for d526076 - Browse repository at this point
Copy the full SHA d526076View commit details
Commits on Mar 14, 2014
-
middleware.py: Import md5_constructor from Python starting Django 1.6
Maxime Dupuis committedMar 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 10ab5c9 - Browse repository at this point
Copy the full SHA 10ab5c9View commit details -
tests.py: Fix a test that was failing because Site object creation ha…
…s changed in Django 1.6
Maxime Dupuis committedMar 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 079020b - Browse repository at this point
Copy the full SHA 079020bView commit details
Commits on May 26, 2014
-
setup.py: Added missing packages.
Maxime Dupuis committedMay 26, 2014 Configuration menu - View commit details
-
Copy full SHA for 35c1a11 - Browse repository at this point
Copy the full SHA 35c1a11View commit details
Commits on Aug 1, 2014
-
setup.py: Bump version to 0.4.0
In this release: - Django 1.6 support - ALLOWED_HOSTS iterable for Django 1.5+ populated with the sites defined - Per-domain cached template loader
Maxime Dupuis committedAug 1, 2014 Configuration menu - View commit details
-
Copy full SHA for 62a4a23 - Browse repository at this point
Copy the full SHA 62a4a23View commit details -
Added tag version-0.4.0 for changeset 2da6336d70b0
Maxime Dupuis committedAug 1, 2014 Configuration menu - View commit details
-
Copy full SHA for f65ce43 - Browse repository at this point
Copy the full SHA f65ce43View commit details
Commits on Oct 6, 2014
-
hacks.py: Added get() method to DictCache
The get() method has the same semantics as BaseCache.get().
Maxime Dupuis committedOct 6, 2014 Configuration menu - View commit details
-
Copy full SHA for 97ecd3d - Browse repository at this point
Copy the full SHA 97ecd3dView commit details -
setup.py: Bumped version to 0.4.1
Maxime Dupuis committedOct 6, 2014 Configuration menu - View commit details
-
Copy full SHA for d1e5806 - Browse repository at this point
Copy the full SHA d1e5806View commit details
Commits on Sep 2, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 5a47c2f - Browse repository at this point
Copy the full SHA 5a47c2fView commit details -
Merge pull request #8 from rebkwok/master
Use default key prefix if multisite key prefix is not set
Configuration menu - View commit details
-
Copy full SHA for 846fb6b - Browse repository at this point
Copy the full SHA 846fb6bView commit details
Commits on Sep 3, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 575e659 - Browse repository at this point
Copy the full SHA 575e659View commit details
Commits on Sep 7, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 98f51a7 - Browse repository at this point
Copy the full SHA 98f51a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7441d70 - Browse repository at this point
Copy the full SHA 7441d70View commit details
Commits on Sep 9, 2015
-
Merge pull request #9 from rebkwok/keyprefix_tests
Cache key prefix tests
Configuration menu - View commit details
-
Copy full SHA for 434a9cf - Browse repository at this point
Copy the full SHA 434a9cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6485995 - Browse repository at this point
Copy the full SHA 6485995View commit details
Commits on Oct 2, 2015
-
rename get_query_set to get_query_set
Django 1.6 had already deprecated it, and it got completely removed for Django 1.8: https://docs.djangoproject.com/en/dev/releases/1.6/#get-query-set-and-similar-methods-renamed-to-get-queryset https://docs.djangoproject.com/en/dev/releases/1.8/#features-removed-in-1-8
Configuration menu - View commit details
-
Copy full SHA for 93e02b1 - Browse repository at this point
Copy the full SHA 93e02b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a36219 - Browse repository at this point
Copy the full SHA 2a36219View commit details -
Merge pull request #10 from jordiecometrica/rename-get-query-set
rename get_query_set to get_query_set
Configuration menu - View commit details
-
Copy full SHA for 2ec85d7 - Browse repository at this point
Copy the full SHA 2ec85d7View commit details
Commits on Oct 9, 2015
-
add Django 1.7+ post-South migrations
Keeping the old South migrations under south_migrations is the recommended method: https://docs.djangoproject.com/en/1.8/topics/migrations/#libraries-third-party-apps
Configuration menu - View commit details
-
Copy full SHA for bf81805 - Browse repository at this point
Copy the full SHA bf81805View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0a89c6 - Browse repository at this point
Copy the full SHA c0a89c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0516569 - Browse repository at this point
Copy the full SHA 0516569View commit details -
Merge pull request #11 from jordiecometrica/master
Added post-South migrations
Configuration menu - View commit details
-
Copy full SHA for b8491e9 - Browse repository at this point
Copy the full SHA b8491e9View commit details
Commits on Oct 27, 2015
-
Configuration menu - View commit details
-
Copy full SHA for eaaa24f - Browse repository at this point
Copy the full SHA eaaa24fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46a06bc - Browse repository at this point
Copy the full SHA 46a06bcView commit details
Commits on Nov 6, 2015
-
Merge pull request #13 from eddiejessup/master
Cleanup site override even if exception occurs
Configuration menu - View commit details
-
Copy full SHA for 049a741 - Browse repository at this point
Copy the full SHA 049a741View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6188e3e - Browse repository at this point
Copy the full SHA 6188e3eView commit details
Commits on Nov 16, 2015
-
templates: don't error out if template isn't in a particular path
Django 1.8 changed what safe_join can raise: django/django@b8ba73cd0cb6#diff-3e12401856ca6b30d8d877de2e31cf3aL63 While their intention is for us to catch only SuspiciousFileOperation and not ValueError, it's relatively safe to catch both and keep compatibility with both Django 1.6 and 1.8
Configuration menu - View commit details
-
Copy full SHA for d9c550f - Browse repository at this point
Copy the full SHA d9c550fView commit details -
DynamicSiteMiddleware: error out more gracefully in Django 1.8
In Django 1.8, get_callable raises by default instead of returning the same string in case of failure. In order to not raise and do our own error handling, we need to pass can_fail=True to recover the old behaviour of returning the string in case of failure: django/django@91afc00#diff-f83d2617ed57b0c7608c5f5581fa6e7dL81
Configuration menu - View commit details
-
Copy full SHA for b57a470 - Browse repository at this point
Copy the full SHA b57a470View commit details -
Merge pull request #16 from jordiecometrica/catch_templates
templates: don't error out if template isn't in a particular path
Configuration menu - View commit details
-
Copy full SHA for 115b1ee - Browse repository at this point
Copy the full SHA 115b1eeView commit details -
Merge pull request #15 from jordiecometrica/better_error
DynamicSiteMiddleware: error out more gracefully in Django 1.8
Configuration menu - View commit details
-
Copy full SHA for db030e0 - Browse repository at this point
Copy the full SHA db030e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 110c7e5 - Browse repository at this point
Copy the full SHA 110c7e5View commit details
Commits on Nov 29, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 7f2f55b - Browse repository at this point
Copy the full SHA 7f2f55bView commit details
Commits on Dec 2, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 031b480 - Browse repository at this point
Copy the full SHA 031b480View commit details -
Merge pull request #18 from DemonVex/master
Add Python 3.3 support
Configuration menu - View commit details
-
Copy full SHA for 2777011 - Browse repository at this point
Copy the full SHA 2777011View commit details
Commits on Dec 4, 2015
-
Use
cache
instead ofget_cache
for Django >= 1.7django.core.cache.get_cache() has been deprecated in Django 1.7 in favour of django.core.cache.caches. The problem here is that `get_cache()` takes additional kwargs while `caches` doesn't (since it's dict-like). Multisite was taking advantage of this by supplying a KEY_PREFIX kwarg if CACHE_MULTISITE_kEY_PREFIX was defined in settings. As far as I can tell, though, the `key_prefix` property in multisite.hacks.SiteCache and multisite.middleware.DynamicSiteMiddleware takes care of the CACHE_MULTISITE_KEY_PREFIX properly, so it's not necessary to supply a KEY_PREFIX to `get_cache()`.
Configuration menu - View commit details
-
Copy full SHA for 5e8d516 - Browse repository at this point
Copy the full SHA 5e8d516View commit details
Commits on Dec 7, 2015
-
Merge pull request #19 from mghughes/master
Use `caches` instead of `get_cache` for Django >= 1.7
Configuration menu - View commit details
-
Copy full SHA for e798690 - Browse repository at this point
Copy the full SHA e798690View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf58283 - Browse repository at this point
Copy the full SHA cf58283View commit details
Commits on Dec 9, 2015
-
Use python unittest instead of django.utils.unittest
django.utils.unittest was removed in Django 1.9
Configuration menu - View commit details
-
Copy full SHA for d6956eb - Browse repository at this point
Copy the full SHA d6956ebView commit details -
Replace post_syncdb signal with post_migrate signal
post_syncdb has been deprecated since Django 1.7 and was removed in Django 1.9 The only caveat is that the post_migrate signal doesn't send a `created_models` argument like post_syncdb did. I've tried to preserve the old behaviour when `created_models` is present in the args sent to `db_table_created_hook`.
Configuration menu - View commit details
-
Copy full SHA for 4310dad - Browse repository at this point
Copy the full SHA 4310dadView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca622b0 - Browse repository at this point
Copy the full SHA ca622b0View commit details
Commits on Dec 10, 2015
-
Merge pull request #20 from mghughes/master
Two more Django 1.9 fixes
Configuration menu - View commit details
-
Copy full SHA for ad9ed12 - Browse repository at this point
Copy the full SHA ad9ed12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 136fd26 - Browse repository at this point
Copy the full SHA 136fd26View commit details
Commits on Dec 11, 2015
-
Change return type of get_template_sources() in filesystem loader
Django has changed some template loading code in 1.9, and it's now expected that a django.template.Origin object is returned from get_template_sources()
Configuration menu - View commit details
-
Copy full SHA for 0acb281 - Browse repository at this point
Copy the full SHA 0acb281View commit details
Commits on Dec 14, 2015
-
Use
continue
instead ofpass
when catching non-fatal errorsIf a `ValueError` or `SuspiciousFileOperation` was caught, `get_template_sources` was still trying to yield Origin/`name` even though `name` did not get defined. We want the behaviour of `continue` and not yield anything in this case, as django itself has done in django.template.loaders.filesystem.Loader.get_template_sources()
Configuration menu - View commit details
-
Copy full SHA for 64d1bbf - Browse repository at this point
Copy the full SHA 64d1bbfView commit details
Commits on Dec 17, 2015
-
Change
Origin
import to support django < 1.9If django is < 1.9, define a function that simply returns the name of the template. This is a bit cleaner, since we don't need to catch a `NameError` in `get_template_sources` anymore.
Configuration menu - View commit details
-
Copy full SHA for d2d38fb - Browse repository at this point
Copy the full SHA d2d38fbView commit details -
Merge pull request #21 from mghughes/master
Change return type of get_template_sources() in filesystem loader
Configuration menu - View commit details
-
Copy full SHA for 3e7fdc5 - Browse repository at this point
Copy the full SHA 3e7fdc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d159f3 - Browse repository at this point
Copy the full SHA 9d159f3View commit details -
Fix a 'unique constraint' exception raised during tests
Django 1.9 has made the `domain` field of Sites unique. This was causing an exception when trying to save a second site with a blank domain in AliasTest.test_hooks.
Configuration menu - View commit details
-
Copy full SHA for 7a22876 - Browse repository at this point
Copy the full SHA 7a22876View commit details
Commits on Jan 5, 2016
-
Merge pull request #22 from mghughes/master
Fix a 'unique constraint' exception raised during tests
Configuration menu - View commit details
-
Copy full SHA for 94614a2 - Browse repository at this point
Copy the full SHA 94614a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c06e0ce - Browse repository at this point
Copy the full SHA c06e0ceView commit details
Commits on Jan 11, 2016
-
Move validation of domain to save so it is called after the pre_save …
…site_domain_changed_hook
Configuration menu - View commit details
-
Copy full SHA for 30c96d2 - Browse repository at this point
Copy the full SHA 30c96d2View commit details
Commits on Jan 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 36ceb4a - Browse repository at this point
Copy the full SHA 36ceb4aView commit details
Commits on Jan 13, 2016
-
Merge pull request #23 from rebkwok/master
Move validation of domain to save so it is called after the pre_save signal
Configuration menu - View commit details
-
Copy full SHA for 2b1601f - Browse repository at this point
Copy the full SHA 2b1601fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 930a6da - Browse repository at this point
Copy the full SHA 930a6daView commit details
Commits on Feb 1, 2016
-
Configuration menu - View commit details
-
Copy full SHA for e752be4 - Browse repository at this point
Copy the full SHA e752be4View commit details
Commits on Feb 2, 2016
-
Django 1.8 has deprecated all of the TEMPLATE_ variables. https://docs.djangoproject.com/en/dev/releases/1.8/#template-related-settings
Configuration menu - View commit details
-
Copy full SHA for d645915 - Browse repository at this point
Copy the full SHA d645915View commit details
Commits on Apr 29, 2016
-
Merge pull request #26 from jbazik/fix-loader
Avoid template loader details for better django version compatibility.
Configuration menu - View commit details
-
Copy full SHA for 68a3022 - Browse repository at this point
Copy the full SHA 68a3022View commit details
Commits on May 2, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 216552d - Browse repository at this point
Copy the full SHA 216552dView commit details
Commits on Jun 13, 2016
-
restrict version of tldextract (#27)
Version 2.0 breaks API: https://github.com/john-kurkowski/tldextract/blob/master/CHANGELOG.md#20rc1-2016-04-04
Configuration menu - View commit details
-
Copy full SHA for 4441043 - Browse repository at this point
Copy the full SHA 4441043View commit details
Commits on Jun 15, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 0e0b5f5 - Browse repository at this point
Copy the full SHA 0e0b5f5View commit details
Commits on Jul 11, 2016
-
Fix "error reading TLD cache file" error
The cache_file argument to TLDExtract was an empty tempfile, so pickle complained about an EOF error when loading it. That was then logged as an "error reading TLD cache file" error by tldextract. Contrary to an empty cache_file, tldextract deals with a non-existent cache_file just fine, so we don't really need that intermediate step of creating a tempfile anyway. Use the TLDExtract `update` method to directly update multisite's public suffix list
Matthieu Hughes committedJul 11, 2016 Configuration menu - View commit details
-
Copy full SHA for bb3424a - Browse repository at this point
Copy the full SHA bb3424aView commit details -
Update minimum tldextract requirement
The `update` method of TLDExtract was added in 1.2
Matthieu Hughes committedJul 11, 2016 Configuration menu - View commit details
-
Copy full SHA for ceb5728 - Browse repository at this point
Copy the full SHA ceb5728View commit details -
Merge pull request #28 from mghughes/master
Fix "error reading TLD cache file" error
Configuration menu - View commit details
-
Copy full SHA for 4c7b8a5 - Browse repository at this point
Copy the full SHA 4c7b8a5View commit details -
remove
fetch
arg for tldextract.TLDExtractfetch is deprecated in 1.7.5, and is True by default in older versions of tldextract anyway
Matthieu Hughes committedJul 11, 2016 Configuration menu - View commit details
-
Copy full SHA for ee289f9 - Browse repository at this point
Copy the full SHA ee289f9View commit details -
Remove upper limit for tldextract requirement
Matthieu Hughes committedJul 11, 2016 Configuration menu - View commit details
-
Copy full SHA for f68be87 - Browse repository at this point
Copy the full SHA f68be87View commit details
Commits on Jul 15, 2016
-
Merge pull request #30 from mghughes/master
Support for new versions of tldextract
Configuration menu - View commit details
-
Copy full SHA for 32efe3f - Browse repository at this point
Copy the full SHA 32efe3fView commit details -
Matthieu Hughes committed
Jul 15, 2016 Configuration menu - View commit details
-
Copy full SHA for c7a0a16 - Browse repository at this point
Copy the full SHA c7a0a16View commit details -
Added tag version-1.3.0 for changeset 16618d8dfaa8
Matthieu Hughes committedJul 15, 2016 Configuration menu - View commit details
-
Copy full SHA for 4c029db - Browse repository at this point
Copy the full SHA 4c029dbView commit details -
Matthieu Hughes committed
Jul 15, 2016 Configuration menu - View commit details
-
Copy full SHA for d00da8d - Browse repository at this point
Copy the full SHA d00da8dView commit details -
Added tag version-1.3.0 for changeset efe5daef3c88
Matthieu Hughes committedJul 15, 2016 Configuration menu - View commit details
-
Copy full SHA for ebf3333 - Browse repository at this point
Copy the full SHA ebf3333View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec24a3b - Browse repository at this point
Copy the full SHA ec24a3bView commit details
Commits on Jul 19, 2016
-
Configuration menu - View commit details
-
Copy full SHA for de23687 - Browse repository at this point
Copy the full SHA de23687View commit details
Commits on Jul 22, 2016
-
Bugfix: respect CACHE_MULTISITE_ALIAS
This typo will result in usage the 'default' cache and ignore CACHE_MULTISITE_ALIAS
Configuration menu - View commit details
-
Copy full SHA for 2401962 - Browse repository at this point
Copy the full SHA 2401962View commit details
Commits on Aug 2, 2016
-
Merge pull request #31 from jedie/patch-1
Insert 'default=1' in README.rst
Configuration menu - View commit details
-
Copy full SHA for c999a6c - Browse repository at this point
Copy the full SHA c999a6cView commit details -
Merge pull request #34 from jedie/patch-2
Bugfix: respect CACHE_MULTISITE_ALIAS
Configuration menu - View commit details
-
Copy full SHA for ec568f4 - Browse repository at this point
Copy the full SHA ec568f4View commit details -
Merge pull request #32 from rebkwok/master
Replace deprecated ExtractResult().tld with .suffix
Configuration menu - View commit details
-
Copy full SHA for 780bf22 - Browse repository at this point
Copy the full SHA 780bf22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93e637c - Browse repository at this point
Copy the full SHA 93e637cView commit details
Commits on Jan 24, 2017
-
Enable "python setup.py test" by using setuptools over distutils.
nguenthe committedJan 24, 2017 Configuration menu - View commit details
-
Copy full SHA for 07f45ee - Browse repository at this point
Copy the full SHA 07f45eeView commit details
Commits on Jan 25, 2017
-
Repair and modernize tests to run standalone.
We have been doing maintainence this by accepting pull requests, testing them once under our dev environment, and praying. I hope that this change, especially with the additional documentation, helps make it easier to do more reliable tests.
nguenthe committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 04e742e - Browse repository at this point
Copy the full SHA 04e742eView commit details -
Repair under Django 1.6 / python2
This is an improved @jordiecometrica's b57a470 which special-cases the 1.6 branch. Note: our setup.py says we're only supporting back to Django 1.6. An equally good way to handle this would be to bump that to 1.7, and given that not even 1.7 is getting security patches anymore, maybe we should just go straight to 1.8. But for now, be conservative.
nguenthe committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for a370190 - Browse repository at this point
Copy the full SHA a370190View commit details -
test_versions, to prevent bitrot
nguenthe committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 0b8304b - Browse repository at this point
Copy the full SHA 0b8304bView commit details -
nguenthe committed
Jan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 1140076 - Browse repository at this point
Copy the full SHA 1140076View commit details -
Repairs for Django 1.10 on python2.
In light of #37 this is certainly not the only Django 1.10 issue. For now, the tests are passing, but clearly we need to add some.
nguenthe committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 85a263c - Browse repository at this point
Copy the full SHA 85a263cView commit details -
Insist on absolute imports, since python3 does.
nguenthe committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 113dc87 - Browse repository at this point
Copy the full SHA 113dc87View commit details -
ValueError -> TypeError, since this line is explicitly checking a type.
nguenthe committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 4939d2d - Browse repository at this point
Copy the full SHA 4939d2dView commit details -
Make it very obvious what platform is broken, when it's broken.
nguenthe committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 67983fa - Browse repository at this point
Copy the full SHA 67983faView commit details -
nguenthe committed
Jan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for d427776 - Browse repository at this point
Copy the full SHA d427776View commit details -
I have decided that supporting python3 and making reliable tests is worth a full minor version bump. That's not to say that this version *is* the final 1.4.
nguenthe committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for f57be9c - Browse repository at this point
Copy the full SHA f57be9cView commit details -
nguenthe committed
Jan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 6f3302a - Browse repository at this point
Copy the full SHA 6f3302aView commit details -
In #39 we're going to be moving to a minimum of django-1.8 soon, but we haven't supported 1.5 for years now. It's time to kill these.
nguenthe committedJan 25, 2017 Configuration menu - View commit details
-
Copy full SHA for c03ae06 - Browse repository at this point
Copy the full SHA c03ae06View commit details
Commits on Feb 6, 2017
-
Create middlewares per-test, to prevent accidental state leakage corr…
…upting the test. This is in line with what Django does for their own middlewares: https://github.com/django/django/blob/c688336ebcc1bddc65f2d48e15b981b6caa7ef1a/tests/csrf_tests/tests.py#L73
Nick Guenther committedFeb 6, 2017 Configuration menu - View commit details
-
Copy full SHA for b435c13 - Browse repository at this point
Copy the full SHA b435c13View commit details -
Scrap these redundant tearDown methods.
@override_settings already resets the settings when done.
Nick Guenther committedFeb 6, 2017 Configuration menu - View commit details
-
Copy full SHA for d778950 - Browse repository at this point
Copy the full SHA d778950View commit details -
Test the loading of the extension via MIDDLEWARE/MIDDLEWARE_CLASSES
Thanks to @JordanReiter for doing the critical legwork on this: https://github.com/ecometrica/django-multisite/pull/38/files
Nick Guenther committedFeb 6, 2017 Configuration menu - View commit details
-
Copy full SHA for 960d756 - Browse repository at this point
Copy the full SHA 960d756View commit details -
Update documentation to match reality.
Nick Guenther committedFeb 6, 2017 Configuration menu - View commit details
-
Copy full SHA for bf5b92e - Browse repository at this point
Copy the full SHA bf5b92eView commit details
Commits on Feb 7, 2017
-
Nick Guenther committed
Feb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for e040172 - Browse repository at this point
Copy the full SHA e040172View commit details -
b435c13 was too enthusiastic: avoiding all middleware state necessarily breaks a stateful thing like caching. So put it back, but constrained to the test.
Nick Guenther committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for f54915e - Browse repository at this point
Copy the full SHA f54915eView commit details -
Explain why the tests are checking for SiteID == 0
I at first thought this was irrelevant, but then I realized there's [this sketchy line](https://github.com/ecometrica/django-multisite/blob/113dc87fcd69ecb86b8dd7a993a4eeff80989c2d/multisite/middleware.py#L189) which forces the SiteID to the default value on..some..errors. Except now test_invalid_host is broken because it's *not* hitting this line. Was it only working before by accident?
Nick Guenther committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 084e0a3 - Browse repository at this point
Copy the full SHA 084e0a3View commit details -
I am not at all confident about this. After making the last batch of changes, these tests started failing. As far as I can tell, this test is expecting that an invalid hostname will trigger https://github.com/ecometrica/django-multisite/blob/113dc87fcd69ecb86b8dd7a993a4eeff80989c2d/multisite/middleware.py#L189 however the code there clearly does not flow like that: an invalid hostname fails with SuspiciousOperation at request.get_host(). Note too that before this recent batch of changes these tests were one single test; maybe that has something to do with why it didn't show up as obviously.
Nick Guenther committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for b78a2a7 - Browse repository at this point
Copy the full SHA b78a2a7View commit details -
These test settings are necessary to make the caching tests work.
But, as noted, maybe it would be better to merge these entirely into @override_settings calls.
Nick Guenther committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 562da70 - Browse repository at this point
Copy the full SHA 562da70View commit details -
Remove redundant and misleading third-assertEqual() argument
The third argument overrides the error message, and it was just setting it equal to the first thing. It's much, much, much more useful to let unittest do its thing in its own way.
Nick Guenther committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for b3206d6 - Browse repository at this point
Copy the full SHA b3206d6View commit details -
Weakly patch over a setting that broke one of our tests.
The reason this is here at all, by the way, is that I copied the instructions from our own README into our own settings.py, because you'd hope that the settings we're telling people to use would actually be tested.
Nick Guenther committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for d15555b - Browse repository at this point
Copy the full SHA d15555bView commit details -
Changes for Django 1.10+ compatibility
Backwards incompatible changes to Django 1.10 require Middleware classes to either be rewritten or to inherit from django.utils.deprecation.MiddlewareMixin. Code is rewritten to maintain compatibility with previous versions while working for Django 1.10+.
Configuration menu - View commit details
-
Copy full SHA for 7452c20 - Browse repository at this point
Copy the full SHA 7452c20View commit details -
Use a special testing prefix for the caches, to avoid breaking prod.
While here, make its tests more basic and explicit and obvious. "Caches are not cleared after each test, and can insert data into the cache of a live system if you run your tests in production" - https://docs.djangoproject.com/en/1.10/topics/testing/overview/#other-test-conditions
Nick Guenther committedFeb 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 4b6e309 - Browse repository at this point
Copy the full SHA 4b6e309View commit details
Commits on Apr 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 0788dc5 - Browse repository at this point
Copy the full SHA 0788dc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93410a2 - Browse repository at this point
Copy the full SHA 93410a2View commit details -
Return multisite fallback for hosts not in ALLOWED_HOSTS
Since version 1.11, Django has become more insistent about checking ALLOWED_HOSTS including in tests.
Configuration menu - View commit details
-
Copy full SHA for 550213c - Browse repository at this point
Copy the full SHA 550213cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1db2c8 - Browse repository at this point
Copy the full SHA d1db2c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for de7e31a - Browse repository at this point
Copy the full SHA de7e31aView commit details -
Update README to clarify CACHE_MULTISITE_KEY_PREFIX defaults;
updates to test_settings
Configuration menu - View commit details
-
Copy full SHA for 960a442 - Browse repository at this point
Copy the full SHA 960a442View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5747fac - Browse repository at this point
Copy the full SHA 5747facView commit details
Commits on Apr 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for aa64f16 - Browse repository at this point
Copy the full SHA aa64f16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cec9c2 - Browse repository at this point
Copy the full SHA 9cec9c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b365d8c - Browse repository at this point
Copy the full SHA b365d8cView commit details -
It was a leftover from a workaround for Django versions <1.7 which we no longer support and isn't required. Use caches[cache_alias] directly.
Configuration menu - View commit details
-
Copy full SHA for b234d66 - Browse repository at this point
Copy the full SHA b234d66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77f103b - Browse repository at this point
Copy the full SHA 77f103bView commit details -
Keep test_settings minimal for integration with other projects
If these tests are run from within another django project with ./manage.py test, the outer project's settings file is used, and some tests will fail because they were expecting settings specified in test_settings.py. Keep test_settings.py to minimal settings and use override_settings in tests.
Configuration menu - View commit details
-
Copy full SHA for 7298c6b - Browse repository at this point
Copy the full SHA 7298c6bView commit details
Commits on Apr 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5e92191 - Browse repository at this point
Copy the full SHA 5e92191View commit details
Commits on Apr 26, 2017
-
Merge pull request #45 from rebkwok/master
Upgrade to django 1.11 and improve testing for python/django versions
Configuration menu - View commit details
-
Copy full SHA for 56525a8 - Browse repository at this point
Copy the full SHA 56525a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for afa5270 - Browse repository at this point
Copy the full SHA afa5270View commit details
Commits on Jun 25, 2017
-
Padraic Harley committed
Jun 25, 2017 Configuration menu - View commit details
-
Copy full SHA for a04c53f - Browse repository at this point
Copy the full SHA a04c53fView commit details -
Remove try for override_settings
It's been part of django since ~1.4
Padraic Harley committedJun 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 04e6dd1 - Browse repository at this point
Copy the full SHA 04e6dd1View commit details -
Add logging, StringIO, and call_command imports
Will be used to test output from management commands
Padraic Harley committedJun 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 3f3c1b5 - Browse repository at this point
Copy the full SHA 3f3c1b5View commit details -
Padraic Harley committed
Jun 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 8b50002 - Browse repository at this point
Copy the full SHA 8b50002View commit details -
Remove deprecated NoArgsCommand
Padraic Harley committedJun 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 625b5c4 - Browse repository at this point
Copy the full SHA 625b5c4View commit details -
Add test of management command and tldextract output
Padraic Harley committedJun 25, 2017 Configuration menu - View commit details
-
Copy full SHA for fe184a1 - Browse repository at this point
Copy the full SHA fe184a1View commit details -
Padraic Harley committed
Jun 25, 2017 Configuration menu - View commit details
-
Copy full SHA for c0e04d5 - Browse repository at this point
Copy the full SHA c0e04d5View commit details
Commits on Jun 26, 2017
-
Limit mock dependency in tox to python 2.7
Padraic Harley committedJun 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 3d28b61 - Browse repository at this point
Copy the full SHA 3d28b61View commit details -
Merge pull request #46 from pauricthelodger/noargs
Remove deprecated NoArgsCommand from update_public_suffix_list management command Adds tests for the management command also.
Configuration menu - View commit details
-
Copy full SHA for 6a2a97a - Browse repository at this point
Copy the full SHA 6a2a97aView commit details
Commits on Dec 22, 2017
-
Update setup.py to specify Django<2.0
Becky Smith committedDec 22, 2017 Configuration menu - View commit details
-
Copy full SHA for b356f21 - Browse repository at this point
Copy the full SHA b356f21View commit details
Commits on Jan 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for ed03de3 - Browse repository at this point
Copy the full SHA ed03de3View commit details -
Instead of ForeignObjectRel.to, use model. Also renamed rel_to to rem…
…ote_model for further clarity
Configuration menu - View commit details
-
Copy full SHA for 5fa2486 - Browse repository at this point
Copy the full SHA 5fa2486View commit details
Commits on Apr 19, 2018
-
Merge pull request #47 from JordanReiter/RelToRemovedInDjango20
rel.to removed in Django 2.0
Configuration menu - View commit details
-
Copy full SHA for 2ad523b - Browse repository at this point
Copy the full SHA 2ad523bView commit details -
Becky Smith committed
Apr 19, 2018 Configuration menu - View commit details
-
Copy full SHA for 7020dcb - Browse repository at this point
Copy the full SHA 7020dcbView commit details -
Update setup.py and tox to install/test with Django 2.0
Becky Smith committedApr 19, 2018 Configuration menu - View commit details
-
Copy full SHA for 5f47820 - Browse repository at this point
Copy the full SHA 5f47820View commit details -
Remove old deprecated PathAssistedCurrentSiteManager
It's incompatible with the versions of django that we now support
Becky Smith committedApr 19, 2018 Configuration menu - View commit details
-
Copy full SHA for ccdd848 - Browse repository at this point
Copy the full SHA ccdd848View commit details -
Remove template.loaders.cached
Undocumented, and broken since Django 1.6, which is no loger supported
Becky Smith committedApr 19, 2018 Configuration menu - View commit details
-
Copy full SHA for cabfab9 - Browse repository at this point
Copy the full SHA cabfab9View commit details -
Pin pytest-django version for Django 1.7
Becky Smith committedApr 19, 2018 Configuration menu - View commit details
-
Copy full SHA for 70d5b00 - Browse repository at this point
Copy the full SHA 70d5b00View commit details -
Remove code for unsupported Django versions (<1.7)
Becky Smith committedApr 19, 2018 Configuration menu - View commit details
-
Copy full SHA for 8037ec5 - Browse repository at this point
Copy the full SHA 8037ec5View commit details -
Becky Smith committed
Apr 19, 2018 Configuration menu - View commit details
-
Copy full SHA for 3596326 - Browse repository at this point
Copy the full SHA 3596326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d496bf - Browse repository at this point
Copy the full SHA 0d496bfView commit details
Commits on Apr 20, 2018
-
Becky Smith committed
Apr 20, 2018 Configuration menu - View commit details
-
Copy full SHA for dda2c3f - Browse repository at this point
Copy the full SHA dda2c3fView commit details -
Merge pull request #52 from ecometrica/supportDjango2.0
Support django2.0
Configuration menu - View commit details
-
Copy full SHA for 866f69a - Browse repository at this point
Copy the full SHA 866f69aView commit details -
Becky Smith committed
Apr 20, 2018 Configuration menu - View commit details
-
Copy full SHA for 618ba14 - Browse repository at this point
Copy the full SHA 618ba14View commit details
Commits on Sep 3, 2018
-
Fix KeyError from _get_site_by_id
With multiple processes, we can run into a race condition where the site cache is invalidated while another process attempts to access it. This patches _get_site_by_id to retrieve the site from the database if it isn't found by when _get_site_by_id returns
Becky Smith committedSep 3, 2018 Configuration menu - View commit details
-
Copy full SHA for 0d1e94a - Browse repository at this point
Copy the full SHA 0d1e94aView commit details
Commits on Sep 4, 2018
-
Remove unnecessary cache type warnings
Becky Smith committedSep 4, 2018 Configuration menu - View commit details
-
Copy full SHA for 10366f8 - Browse repository at this point
Copy the full SHA 10366f8View commit details -
Becky Smith committed
Sep 4, 2018 Configuration menu - View commit details
-
Copy full SHA for 5ceea6d - Browse repository at this point
Copy the full SHA 5ceea6dView commit details -
Drop support for Django 1.7, bump version to 1.6.0
Becky Smith committedSep 4, 2018 Configuration menu - View commit details
-
Copy full SHA for ddff3ec - Browse repository at this point
Copy the full SHA ddff3ecView commit details
Commits on Sep 6, 2018
-
Better patch for _get_site_by_id
Avoid the race condition by fetching the site from the cache at the beginning of _get_site_by_id.
Becky Smith committedSep 6, 2018 Configuration menu - View commit details
-
Copy full SHA for eec65e9 - Browse repository at this point
Copy the full SHA eec65e9View commit details
Commits on Sep 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for ced3d20 - Browse repository at this point
Copy the full SHA ced3d20View commit details
Commits on Mar 25, 2019
-
Zohreh committed
Mar 25, 2019 Configuration menu - View commit details
-
Copy full SHA for a9106fa - Browse repository at this point
Copy the full SHA a9106faView commit details