Skip to content
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

Open
wants to merge 224 commits into
base: master
Choose a base branch
from

Commits on Apr 22, 2011

  1. Adding a modeladmin class allowing one to restrict access to the admi…

    …n per-site.
    Adam Coddington committed Apr 22, 2011
    Configuration menu
    Copy the full SHA
    0c7e800 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2011

  1. Adding a subclass of CurrentSiteManager accepting a path to a 'site'/…

    …'sites' field.
    Adam Coddington committed Apr 29, 2011
    Configuration menu
    Copy the full SHA
    c4717c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a606f1 View commit details
    Browse the repository at this point in the history
  3. Moving managers to the proper place.

    Adam Coddington committed Apr 29, 2011
    Configuration menu
    Copy the full SHA
    a6ee0eb View commit details
    Browse the repository at this point in the history

Commits on May 16, 2011

  1. Configuration menu
    Copy the full SHA
    3c30e4e View commit details
    Browse the repository at this point in the history
  2. 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".
    coddingtonbear committed May 16, 2011
    Configuration menu
    Copy the full SHA
    a52f873 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2011

  1. new template loader

    plazix committed Jul 6, 2011
    Configuration menu
    Copy the full SHA
    ddbf6ab View commit details
    Browse the repository at this point in the history
  2. update README

    plazix committed Jul 6, 2011
    Configuration menu
    Copy the full SHA
    76dc037 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2011

  1. Now hiding change list site filters which your user isn't allowed to …

    …use.
    Robert Hall committed Jul 8, 2011
    Configuration menu
    Copy the full SHA
    f814205 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from robthehall/master

    Pull to get auto-hiding site filters on the change list pages.  Thanks Robert!
    coddingtonbear committed Jul 8, 2011
    Configuration menu
    Copy the full SHA
    d5f497c View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2011

  1. Added option to limit FK fields to objects that belong to the same site

    as the current object being edited.
    Robert Hall committed Jul 10, 2011
    Configuration menu
    Copy the full SHA
    cfc049e View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2011

  1. pep8

    plazix committed Jul 11, 2011
    Configuration menu
    Copy the full SHA
    9a130ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c20a854 View commit details
    Browse the repository at this point in the history
  3. Updated README

    Robert Hall committed Jul 11, 2011
    Configuration menu
    Copy the full SHA
    64cc32b View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2012

  1. Merge branch 'master' of git://github.com/robthehall/django-multisite

    Conflicts:
    	multisite/admin.py
    sfllaw committed Feb 1, 2012
    Configuration menu
    Copy the full SHA
    21c5ffe View commit details
    Browse the repository at this point in the history
  2. SiteIDHook supports comparisons to int and long.

    This makes django.contrib.sites.tests pass.
    sfllaw committed Feb 1, 2012
    Configuration menu
    Copy the full SHA
    d73c379 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2012

  1. Configuration menu
    Copy the full SHA
    e1cfa4e View commit details
    Browse the repository at this point in the history

Commits on May 28, 2012

  1. Tests for SiteIDHook.

    sfllaw committed May 28, 2012
    Configuration menu
    Copy the full SHA
    77cd208 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49d6ef2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b2b63ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    222b586 View commit details
    Browse the repository at this point in the history
  5. 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.
    sfllaw committed May 28, 2012
    Configuration menu
    Copy the full SHA
    1fee71c View commit details
    Browse the repository at this point in the history
  6. 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
    sfllaw committed May 28, 2012
    Configuration menu
    Copy the full SHA
    3455ed7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7e2259d View commit details
    Browse the repository at this point in the history

Commits on May 29, 2012

  1. Configuration menu
    Copy the full SHA
    866f17e View commit details
    Browse the repository at this point in the history
  2. 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.
    sfllaw committed May 29, 2012
    Configuration menu
    Copy the full SHA
    bd7809a View commit details
    Browse the repository at this point in the history

Commits on May 30, 2012

  1. Configuration menu
    Copy the full SHA
    ddc9db0 View commit details
    Browse the repository at this point in the history
  2. middleware.py: DynamicSiteMiddleware raises TypeError on bad settings…

    ….SITE_ID
    
    settings.SITE_ID must now resemble multisite.SiteID.
    sfllaw committed May 30, 2012
    Configuration menu
    Copy the full SHA
    cf9869c View commit details
    Browse the repository at this point in the history
  3. 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.
    sfllaw committed May 30, 2012
    Configuration menu
    Copy the full SHA
    9bc0d58 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2012

  1. models.py: Alias model for domain name aliases of Site.domain

    Includes South migrations, for those using South.
    sfllaw committed Jun 1, 2012
    Configuration menu
    Copy the full SHA
    4d24608 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    914c914 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    259f916 View commit details
    Browse the repository at this point in the history
  4. 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.
    sfllaw committed Jun 1, 2012
    Configuration menu
    Copy the full SHA
    6e1b4dc View commit details
    Browse the repository at this point in the history
  5. 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.
    sfllaw committed Jun 1, 2012
    Configuration menu
    Copy the full SHA
    56fdb60 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1ed04aa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b46a841 View commit details
    Browse the repository at this point in the history
  8. admin.py: PEP8 and PyFlakes

    sfllaw committed Jun 1, 2012
    Configuration menu
    Copy the full SHA
    43ff35d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2bfa170 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    177a555 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e6076ef View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2012

  1. Configuration menu
    Copy the full SHA
    0d7b07f View commit details
    Browse the repository at this point in the history
  2. Convert README.markdown to README.rst: reStructuredText

    --HG--
    rename : README.markdown => README.rst
    sfllaw committed Jun 4, 2012
    Configuration menu
    Copy the full SHA
    b2ff78b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a25734 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92fbf39 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    283eb44 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2012

  1. Configuration menu
    Copy the full SHA
    d12e40d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69a4a27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    88716a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e4481ac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    38712b2 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2012

  1. Version 0.2.

    Add [email protected] as a maintainer.
    sfllaw committed Jun 6, 2012
    Configuration menu
    Copy the full SHA
    007721c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8802769 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2012

  1. Configuration menu
    Copy the full SHA
    f9ec719 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2012

  1. Configuration menu
    Copy the full SHA
    1803065 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2012

  1. Fix get_development_alias for Django 1.3.4 and 1.4.2 by adding admins…

    …ite.com
    Maxime Dupuis committed Oct 29, 2012
    Configuration menu
    Copy the full SHA
    66949de View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2012

  1. Bump version to 0.2.1

    sfllaw committed Oct 31, 2012
    Configuration menu
    Copy the full SHA
    366b4aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1b1930 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2012

  1. 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.
    sfllaw committed Nov 12, 2012
    Configuration menu
    Copy the full SHA
    d1bfcea View commit details
    Browse the repository at this point in the history
  2. Bump version to 0.2.2

    sfllaw committed Nov 12, 2012
    Configuration menu
    Copy the full SHA
    06218fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a84ba36 View commit details
    Browse the repository at this point in the history
  4. admin.py: Fix typo

    sfllaw committed Nov 12, 2012
    Configuration menu
    Copy the full SHA
    3932abc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8f0851c View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2012

  1. Configuration menu
    Copy the full SHA
    4890495 View commit details
    Browse the repository at this point in the history
  2. Bump version to 0.2.3

    sfllaw committed Dec 12, 2012
    Configuration menu
    Copy the full SHA
    4e7fcce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e462961 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2013

  1. 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.
    sfllaw committed Feb 26, 2013
    Configuration menu
    Copy the full SHA
    90ac573 View commit details
    Browse the repository at this point in the history
  2. Bump version to 0.2.4

    sfllaw committed Feb 26, 2013
    Configuration menu
    Copy the full SHA
    d2a2f3e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b2659c3 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2013

  1. Cross-domain cookie support.

    Prepend multisite.middleware.CookieDomainMiddleware to
    settings.MIDDLEWARE_CLASSES to handle cross-domain cookies.
        http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Path
    sfllaw committed Mar 27, 2013
    Configuration menu
    Copy the full SHA
    6d536bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b27afc View commit details
    Browse the repository at this point in the history

Commits on May 6, 2013

  1. Configuration menu
    Copy the full SHA
    f70fd38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d090a75 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2013

  1. Configuration menu
    Copy the full SHA
    00e4062 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2013

  1. 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 committed Oct 17, 2013
    Configuration menu
    Copy the full SHA
    ccddf70 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2014

  1. Added cached template loader.

    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 committed Mar 3, 2014
    Configuration menu
    Copy the full SHA
    d526076 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2014

  1. Configuration menu
    Copy the full SHA
    10ab5c9 View commit details
    Browse the repository at this point in the history
  2. tests.py: Fix a test that was failing because Site object creation ha…

    …s changed
    
    in Django 1.6
    Maxime Dupuis committed Mar 14, 2014
    Configuration menu
    Copy the full SHA
    079020b View commit details
    Browse the repository at this point in the history

Commits on May 26, 2014

  1. setup.py: Added missing packages.

    Maxime Dupuis committed May 26, 2014
    Configuration menu
    Copy the full SHA
    35c1a11 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2014

  1. 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 committed Aug 1, 2014
    Configuration menu
    Copy the full SHA
    62a4a23 View commit details
    Browse the repository at this point in the history
  2. Added tag version-0.4.0 for changeset 2da6336d70b0

    Maxime Dupuis committed Aug 1, 2014
    Configuration menu
    Copy the full SHA
    f65ce43 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2014

  1. hacks.py: Added get() method to DictCache

    The get() method has the same semantics as BaseCache.get().
    Maxime Dupuis committed Oct 6, 2014
    Configuration menu
    Copy the full SHA
    97ecd3d View commit details
    Browse the repository at this point in the history
  2. setup.py: Bumped version to 0.4.1

    Maxime Dupuis committed Oct 6, 2014
    Configuration menu
    Copy the full SHA
    d1e5806 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2015

  1. Configuration menu
    Copy the full SHA
    5a47c2f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #8 from rebkwok/master

    Use default key prefix if multisite key prefix is not set
    rory-geoghegan-ecometrica committed Sep 2, 2015
    Configuration menu
    Copy the full SHA
    846fb6b View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2015

  1. Configuration menu
    Copy the full SHA
    575e659 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2015

  1. Configuration menu
    Copy the full SHA
    98f51a7 View commit details
    Browse the repository at this point in the history
  2. Tests for cache key prefixes

    rebkwok committed Sep 7, 2015
    Configuration menu
    Copy the full SHA
    7441d70 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2015

  1. Merge pull request #9 from rebkwok/keyprefix_tests

    Cache key prefix tests
    mghughes committed Sep 9, 2015
    Configuration menu
    Copy the full SHA
    434a9cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6485995 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2015

  1. Configuration menu
    Copy the full SHA
    93e02b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a36219 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #10 from jordiecometrica/rename-get-query-set

    rename get_query_set to get_query_set
    rory-geoghegan-ecometrica committed Oct 2, 2015
    Configuration menu
    Copy the full SHA
    2ec85d7 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2015

  1. 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
    jordiecometrica committed Oct 9, 2015
    Configuration menu
    Copy the full SHA
    bf81805 View commit details
    Browse the repository at this point in the history
  2. release 1.1.0

    jordiecometrica committed Oct 9, 2015
    Configuration menu
    Copy the full SHA
    c0a89c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0516569 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #11 from jordiecometrica/master

    Added post-South migrations
    rory-geoghegan-ecometrica committed Oct 9, 2015
    Configuration menu
    Copy the full SHA
    b8491e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2015

  1. Configuration menu
    Copy the full SHA
    eaaa24f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46a06bc View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2015

  1. Merge pull request #13 from eddiejessup/master

    Cleanup site override even if exception occurs
    mghughes committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    049a741 View commit details
    Browse the repository at this point in the history
  2. Bump up version to 1.1.1

    mghughes committed Nov 6, 2015
    Configuration menu
    Copy the full SHA
    6188e3e View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2015

  1. 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
    jordiecometrica committed Nov 16, 2015
    Configuration menu
    Copy the full SHA
    d9c550f View commit details
    Browse the repository at this point in the history
  2. 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
    jordiecometrica committed Nov 16, 2015
    Configuration menu
    Copy the full SHA
    b57a470 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #16 from jordiecometrica/catch_templates

    templates: don't error out if template isn't in a particular path
    jordiecometrica committed Nov 16, 2015
    Configuration menu
    Copy the full SHA
    115b1ee View commit details
    Browse the repository at this point in the history
  4. Merge pull request #15 from jordiecometrica/better_error

    DynamicSiteMiddleware: error out more gracefully in Django 1.8
    jordiecometrica committed Nov 16, 2015
    Configuration menu
    Copy the full SHA
    db030e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    110c7e5 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2015

  1. Add Python 3.3 support

    avbasov committed Nov 29, 2015
    Configuration menu
    Copy the full SHA
    7f2f55b View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2015

  1. Use "six" package instead of "future"

    avbasov authored and basovav committed Dec 2, 2015
    Configuration menu
    Copy the full SHA
    031b480 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #18 from DemonVex/master

    Add Python 3.3 support
    jordiecometrica committed Dec 2, 2015
    Configuration menu
    Copy the full SHA
    2777011 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2015

  1. Use cache instead of get_cache for Django >= 1.7

    django.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()`.
    mghughes committed Dec 4, 2015
    Configuration menu
    Copy the full SHA
    5e8d516 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2015

  1. Merge pull request #19 from mghughes/master

    Use `caches` instead of `get_cache` for Django >= 1.7
    mghughes committed Dec 7, 2015
    Configuration menu
    Copy the full SHA
    e798690 View commit details
    Browse the repository at this point in the history
  2. Bump up version to 1.2.0

    mghughes committed Dec 7, 2015
    Configuration menu
    Copy the full SHA
    cf58283 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2015

  1. Use python unittest instead of django.utils.unittest

    django.utils.unittest was removed in Django 1.9
    mghughes committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    d6956eb View commit details
    Browse the repository at this point in the history
  2. 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`.
    mghughes committed Dec 9, 2015
    Configuration menu
    Copy the full SHA
    4310dad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ca622b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2015

  1. Merge pull request #20 from mghughes/master

    Two more Django 1.9 fixes
    mghughes committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    ad9ed12 View commit details
    Browse the repository at this point in the history
  2. Bump up version to 1.2.1

    mghughes committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    136fd26 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2015

  1. 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()
    mghughes committed Dec 11, 2015
    Configuration menu
    Copy the full SHA
    0acb281 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2015

  1. Use continue instead of pass when catching non-fatal errors

    If 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()
    mghughes committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    64d1bbf View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2015

  1. Change Origin import to support django < 1.9

    If 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.
    mghughes committed Dec 17, 2015
    Configuration menu
    Copy the full SHA
    d2d38fb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #21 from mghughes/master

    Change return type of get_template_sources() in filesystem loader
    mghughes committed Dec 17, 2015
    Configuration menu
    Copy the full SHA
    3e7fdc5 View commit details
    Browse the repository at this point in the history
  3. Bump up version to 1.2.2

    mghughes committed Dec 17, 2015
    Configuration menu
    Copy the full SHA
    9d159f3 View commit details
    Browse the repository at this point in the history
  4. 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.
    mghughes committed Dec 17, 2015
    Configuration menu
    Copy the full SHA
    7a22876 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2016

  1. Merge pull request #22 from mghughes/master

    Fix a 'unique constraint' exception raised during tests
    mghughes committed Jan 5, 2016
    Configuration menu
    Copy the full SHA
    94614a2 View commit details
    Browse the repository at this point in the history
  2. Bump up version to 1.2.3

    mghughes committed Jan 5, 2016
    Configuration menu
    Copy the full SHA
    c06e0ce View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2016

  1. Move validation of domain to save so it is called after the pre_save …

    …site_domain_changed_hook
    rebkwok committed Jan 11, 2016
    Configuration menu
    Copy the full SHA
    30c96d2 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2016

  1. Configuration menu
    Copy the full SHA
    36ceb4a View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2016

  1. Merge pull request #23 from rebkwok/master

    Move validation of domain to save so it is called after the pre_save signal
    mghughes committed Jan 13, 2016
    Configuration menu
    Copy the full SHA
    2b1601f View commit details
    Browse the repository at this point in the history
  2. Bump up version to 1.2.4

    mghughes committed Jan 13, 2016
    Configuration menu
    Copy the full SHA
    930a6da View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2016

  1. Configuration menu
    Copy the full SHA
    e752be4 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2016

  1. Update documentation.

    Django 1.8 has deprecated all of the TEMPLATE_ variables.
    
        https://docs.djangoproject.com/en/dev/releases/1.8/#template-related-settings
    jordiecometrica authored and jbazik committed Feb 2, 2016
    Configuration menu
    Copy the full SHA
    d645915 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2016

  1. Merge pull request #26 from jbazik/fix-loader

    Avoid template loader details for better django version compatibility.
    mghughes committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    68a3022 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2016

  1. Bump up version to 1.2.5

    mghughes committed May 2, 2016
    Configuration menu
    Copy the full SHA
    216552d View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2016

  1. Configuration menu
    Copy the full SHA
    4441043 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2016

  1. Configuration menu
    Copy the full SHA
    0e0b5f5 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2016

  1. 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 committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    bb3424a View commit details
    Browse the repository at this point in the history
  2. Update minimum tldextract requirement

    The `update` method of TLDExtract was added in 1.2
    Matthieu Hughes committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    ceb5728 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #28 from mghughes/master

    Fix "error reading TLD cache file" error
    mghughes authored Jul 11, 2016
    Configuration menu
    Copy the full SHA
    4c7b8a5 View commit details
    Browse the repository at this point in the history
  4. remove fetch arg for tldextract.TLDExtract

    fetch is deprecated in 1.7.5, and is True by default
    in older versions of tldextract anyway
    Matthieu Hughes committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    ee289f9 View commit details
    Browse the repository at this point in the history
  5. Remove upper limit for tldextract requirement

    Matthieu Hughes committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    f68be87 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2016

  1. Merge pull request #30 from mghughes/master

    Support for new versions of tldextract
    mghughes authored Jul 15, 2016
    Configuration menu
    Copy the full SHA
    32efe3f View commit details
    Browse the repository at this point in the history
  2. Bump up version to 1.3.0

    Matthieu Hughes committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    c7a0a16 View commit details
    Browse the repository at this point in the history
  3. Added tag version-1.3.0 for changeset 16618d8dfaa8

    Matthieu Hughes committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    4c029db View commit details
    Browse the repository at this point in the history
  4. Missing comma

    Matthieu Hughes committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    d00da8d View commit details
    Browse the repository at this point in the history
  5. Added tag version-1.3.0 for changeset efe5daef3c88

    Matthieu Hughes committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    ebf3333 View commit details
    Browse the repository at this point in the history
  6. Update README.rst

    jedie authored Jul 15, 2016
    Configuration menu
    Copy the full SHA
    ec24a3b View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2016

  1. Configuration menu
    Copy the full SHA
    de23687 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2016

  1. Bugfix: respect CACHE_MULTISITE_ALIAS

    This typo will result in usage the 'default' cache and ignore CACHE_MULTISITE_ALIAS
    jedie authored Jul 22, 2016
    Configuration menu
    Copy the full SHA
    2401962 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2016

  1. Merge pull request #31 from jedie/patch-1

    Insert 'default=1' in README.rst
    mghughes authored Aug 2, 2016
    Configuration menu
    Copy the full SHA
    c999a6c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #34 from jedie/patch-2

    Bugfix: respect CACHE_MULTISITE_ALIAS
    mghughes authored Aug 2, 2016
    Configuration menu
    Copy the full SHA
    ec568f4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #32 from rebkwok/master

    Replace deprecated ExtractResult().tld with .suffix
    mghughes authored Aug 2, 2016
    Configuration menu
    Copy the full SHA
    780bf22 View commit details
    Browse the repository at this point in the history
  4. Bump up version to 1.3.1

    mghughes committed Aug 2, 2016
    Configuration menu
    Copy the full SHA
    93e637c View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2017

  1. Configuration menu
    Copy the full SHA
    07f45ee View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2017

  1. 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 committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    04e742e View commit details
    Browse the repository at this point in the history
  2. 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 committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    a370190 View commit details
    Browse the repository at this point in the history
  3. test_versions, to prevent bitrot

    nguenthe committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    0b8304b View commit details
    Browse the repository at this point in the history
  4. Repair tests for Django 1.9

    nguenthe committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    1140076 View commit details
    Browse the repository at this point in the history
  5. 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 committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    85a263c View commit details
    Browse the repository at this point in the history
  6. Insist on absolute imports, since python3 does.

    nguenthe committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    113dc87 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4939d2d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    67983fa View commit details
    Browse the repository at this point in the history
  9. Python3 fixes.

    nguenthe committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    d427776 View commit details
    Browse the repository at this point in the history
  10. Update changelog

    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 committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    f57be9c View commit details
    Browse the repository at this point in the history
  11. README syntax

    nguenthe committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    6f3302a View commit details
    Browse the repository at this point in the history
  12. Remove years-dead tests

    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 committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    c03ae06 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2017

  1. 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 committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    b435c13 View commit details
    Browse the repository at this point in the history
  2. Scrap these redundant tearDown methods.

    @override_settings already resets the settings when done.
    Nick Guenther committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    d778950 View commit details
    Browse the repository at this point in the history
  3. 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 committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    960d756 View commit details
    Browse the repository at this point in the history
  4. Update documentation to match reality.

    Nick Guenther committed Feb 6, 2017
    Configuration menu
    Copy the full SHA
    bf5b92e View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2017

  1. 960d756 wasn't quite working.

    Nick Guenther committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    e040172 View commit details
    Browse the repository at this point in the history
  2. Repair the caching test.

    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 committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    f54915e View commit details
    Browse the repository at this point in the history
  3. 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 committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    084e0a3 View commit details
    Browse the repository at this point in the history
  4. Repair tests.

    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 committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    b78a2a7 View commit details
    Browse the repository at this point in the history
  5. 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 committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    562da70 View commit details
    Browse the repository at this point in the history
  6. 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 committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    b3206d6 View commit details
    Browse the repository at this point in the history
  7. 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 committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    d15555b View commit details
    Browse the repository at this point in the history
  8. 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+.
    JordanReiter authored and Nick Guenther committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    7452c20 View commit details
    Browse the repository at this point in the history
  9. 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 committed Feb 7, 2017
    Configuration menu
    Copy the full SHA
    4b6e309 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2017

  1. Run tests with pytest

    rebkwok committed Apr 18, 2017
    Configuration menu
    Copy the full SHA
    0788dc5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93410a2 View commit details
    Browse the repository at this point in the history
  3. 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.
    rebkwok committed Apr 18, 2017
    Configuration menu
    Copy the full SHA
    550213c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1db2c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    de7e31a View commit details
    Browse the repository at this point in the history
  6. Update README to clarify CACHE_MULTISITE_KEY_PREFIX defaults;

    updates to test_settings
    rebkwok committed Apr 18, 2017
    Configuration menu
    Copy the full SHA
    960a442 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5747fac View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2017

  1. Configuration menu
    Copy the full SHA
    aa64f16 View commit details
    Browse the repository at this point in the history
  2. Add coverage and coveralls

    rebkwok committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    9cec9c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b365d8c View commit details
    Browse the repository at this point in the history
  4. Remove get_cache

    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.
    rebkwok committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    b234d66 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    77f103b View commit details
    Browse the repository at this point in the history
  6. 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.
    rebkwok committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    7298c6b View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2017

  1. Configuration menu
    Copy the full SHA
    5e92191 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2017

  1. Merge pull request #45 from rebkwok/master

    Upgrade to django 1.11 and improve testing for python/django versions
    rebkwok authored Apr 26, 2017
    Configuration menu
    Copy the full SHA
    56525a8 View commit details
    Browse the repository at this point in the history
  2. Bump up version to 1.4.0

    rebkwok authored Apr 26, 2017
    Configuration menu
    Copy the full SHA
    afa5270 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2017

  1. Add mock to test requirements

    Padraic Harley committed Jun 25, 2017
    Configuration menu
    Copy the full SHA
    a04c53f View commit details
    Browse the repository at this point in the history
  2. Remove try for override_settings

    It's been part of django since ~1.4
    Padraic Harley committed Jun 25, 2017
    Configuration menu
    Copy the full SHA
    04e6dd1 View commit details
    Browse the repository at this point in the history
  3. Add logging, StringIO, and call_command imports

    Will be used to test output from management commands
    Padraic Harley committed Jun 25, 2017
    Configuration menu
    Copy the full SHA
    3f3c1b5 View commit details
    Browse the repository at this point in the history
  4. Move imports to top of file

    Padraic Harley committed Jun 25, 2017
    Configuration menu
    Copy the full SHA
    8b50002 View commit details
    Browse the repository at this point in the history
  5. Remove deprecated NoArgsCommand

    Padraic Harley committed Jun 25, 2017
    Configuration menu
    Copy the full SHA
    625b5c4 View commit details
    Browse the repository at this point in the history
  6. Add test of management command and tldextract output

    Padraic Harley committed Jun 25, 2017
    Configuration menu
    Copy the full SHA
    fe184a1 View commit details
    Browse the repository at this point in the history
  7. Add mock to tox requirements

    Padraic Harley committed Jun 25, 2017
    Configuration menu
    Copy the full SHA
    c0e04d5 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2017

  1. Limit mock dependency in tox to python 2.7

    Padraic Harley committed Jun 26, 2017
    Configuration menu
    Copy the full SHA
    3d28b61 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #46 from pauricthelodger/noargs

    Remove deprecated NoArgsCommand from update_public_suffix_list management command
    Adds tests for the management command also.
    pauricthelodger authored Jun 26, 2017
    Configuration menu
    Copy the full SHA
    6a2a97a View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2017

  1. Update setup.py to specify Django<2.0

    Becky Smith committed Dec 22, 2017
    Configuration menu
    Copy the full SHA
    b356f21 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. Configuration menu
    Copy the full SHA
    ed03de3 View commit details
    Browse the repository at this point in the history
  2. Instead of ForeignObjectRel.to, use model. Also renamed rel_to to rem…

    …ote_model for further clarity
    JordanReiter committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    5fa2486 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2018

  1. Merge pull request #47 from JordanReiter/RelToRemovedInDjango20

    rel.to removed in Django 2.0
    rebkwok authored Apr 19, 2018
    Configuration menu
    Copy the full SHA
    2ad523b View commit details
    Browse the repository at this point in the history
  2. Updates to support Django 2.0

    Becky Smith committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    7020dcb View commit details
    Browse the repository at this point in the history
  3. Update setup.py and tox to install/test with Django 2.0

    Becky Smith committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    5f47820 View commit details
    Browse the repository at this point in the history
  4. Remove old deprecated PathAssistedCurrentSiteManager

    It's incompatible with the versions of django that we now support
    Becky Smith committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    ccdd848 View commit details
    Browse the repository at this point in the history
  5. Remove template.loaders.cached

    Undocumented, and broken since Django 1.6, which is no loger supported
    Becky Smith committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    cabfab9 View commit details
    Browse the repository at this point in the history
  6. Pin pytest-django version for Django 1.7

    Becky Smith committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    70d5b00 View commit details
    Browse the repository at this point in the history
  7. Remove code for unsupported Django versions (<1.7)

    Becky Smith committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    8037ec5 View commit details
    Browse the repository at this point in the history
  8. Update .gitignore

    Becky Smith committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    3596326 View commit details
    Browse the repository at this point in the history
  9. Update README to document development mode

    see #5
    Becky Smith committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    0d496bf View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2018

  1. Bump to version 1.5.0

    Becky Smith committed Apr 20, 2018
    Configuration menu
    Copy the full SHA
    dda2c3f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #52 from ecometrica/supportDjango2.0

    Support django2.0
    rebkwok authored Apr 20, 2018
    Configuration menu
    Copy the full SHA
    866f69a View commit details
    Browse the repository at this point in the history
  3. Fix typos in README

    Becky Smith committed Apr 20, 2018
    Configuration menu
    Copy the full SHA
    618ba14 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2018

  1. 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 committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    0d1e94a View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2018

  1. Remove unnecessary cache type warnings

    Becky Smith committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    10366f8 View commit details
    Browse the repository at this point in the history
  2. Remove deprecated SiteIDHook

    Becky Smith committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    5ceea6d View commit details
    Browse the repository at this point in the history
  3. Drop support for Django 1.7, bump version to 1.6.0

    Becky Smith committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    ddff3ec View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. 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 committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    eec65e9 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2018

  1. Merge pull request #55 from ecometrica/fix_keyerror

    Fix KeyError
    rebkwok authored Sep 21, 2018
    Configuration menu
    Copy the full SHA
    ced3d20 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2019

  1. compatibility with dajngo 2.2

    Zohreh committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    a9106fa View commit details
    Browse the repository at this point in the history