Permalink
Commits on Jun 13, 2018
  1. Fix typo (#1556)

    pengwk authored and georgedorn committed Jun 13, 2018
    mke sure -> make sure
Commits on Apr 9, 2018
  1. Bump version number to release to PyPI

    georgedorn committed Apr 9, 2018
  2. Fix for ToManyField.dehydrate with a null value regression. (#1544)

    georgedorn committed Apr 9, 2018
    * Fix for #1537 with test
    
    * Add test ensuring a bad attribute name raises an exception
  3. Tests/test num queries get multiple (#1549)

    georgedorn committed Apr 9, 2018
    * Unit test to ensure number of queries for get_multiple remains one
    
    * Prefer assertNumQueries as number is always fixed
  4. Get multiple in one query (#1548)

    jorgeecardona authored and georgedorn committed Apr 9, 2018
    * Use the method obj_get_list if implemented in get_multiple.
    
    * Move code outside the try/except block
    
    * Filter the queryset that return obj_get_list instead that uses the apply_filters mechanism, because it deletes the pk__in field
    
    * Add my name in AUTHORS
    
    * In get_multiple, return the objects in the same order as the pk are sent
    
    * Add test for get_multiple without a queryset
    
    * Remove whitespaces and blank lines
Commits on Mar 19, 2018
  1. Django compatibility note update

    georgedorn committed Mar 19, 2018
  2. Set up CI tests for Django 2.0 (#1542)

    georgedorn committed Mar 19, 2018
    * Set up CI tests for Django 2.0
    
    * Run tests in python 3.5 and 3.6; tweaks for django dev version
    
    * More test combos
Commits on Feb 5, 2018
  1. Reorder blank, null checks in full_hydrate - #1489 (#1539)

    pawelswiecki authored and georgedorn committed Feb 5, 2018
    This is a copy of original commit by @aaronelliotross. Resubmitting to make it
    easier to pick up (old one did not pass flake8 tests and stayed hanging).
    
    Original commit:
    aaronelliotross@bd46c5a
    
    Original pull request:
    #1494.
  2. Deal with bare except statements. See #1540. (#1541)

    pawelswiecki authored and georgedorn committed Feb 5, 2018
    Notes about the changes:
    
    * `tastypie.authentication.Authentication.get_authorization_data` change
    
        This is about re-raising the ValueError with a custom message in case of
        .split() returning one item (instead of two). Made it explicit.
    
    * `tastypie.resources.BaseModelResource.obj_update` change
    
        I left this as is, because pinpointing **all the possible exceptions** that
        may be raised during data hydration is error-prone. "# flake8: noqa"
        prevents flake8 error.
    
    * `tests.core.tests.resources.ResourceTestCase.test_auth_check` change
    
        BasicResource.is_authenticated() (without a custom authentication defined
        in "meta") can only raise ImmediateHttpResponse exception. Catch it
        explicitly.
    
    * `tests.core.tests.resources.ModelResourceTestCase.test_is_valid` change
    
        Current implementation of Resource.is_valid() won't -- in case of errors --
        raise an exception, but will return False. Changed the test to check for
        that.
Commits on Sep 11, 2017
  1. Fix docstring for put_list (#1528)

    georgedorn committed Sep 11, 2017
  2. Update geodjango.rst (#1521)

    mikaeilorfanian authored and georgedorn committed Sep 11, 2017
    Add missing import for `ALL`.
Commits on Sep 4, 2017
  1. Add validate_jsonp doctests to core suite (#1527)

    georgedorn committed Sep 4, 2017
  2. Abstract Resources (#1519)

    georgedorn committed Sep 4, 2017
    * Add explicit error when ModelResource lacks object_class and queryset
    
    * Start of implementation of abstract base ModelResources
    
    * Fallback on deleting resource_uri for abstract classes
    
    * flake8
    
    * Added tests of subclassing abstract resources
    
    * Add docs for abstract Resource
    
    * Minor clarification
Commits on Aug 7, 2017
  1. Fix Advanced Filtering example; test (#1525)

    georgedorn committed Aug 7, 2017
    * Fix Advanced Filtering example; test
    
    * flake8
Commits on Jul 31, 2017
  1. Alter length of URL field in ApiAccess model (#1522)

    georgedorn committed Jul 31, 2017
    * Alter length of URL field in ApiAccess model
    
    * Added no-op test for ApiAccess.url length
  2. Update resources.rst (#1523)

    emmanuelobo authored and georgedorn committed Jul 31, 2017
Commits on Jul 12, 2017
  1. Fix djdev tests (#1520)

    mattbriancon authored and georgedorn committed Jul 12, 2017
    * Fix djdev tests
    
    * Use is_authenticated compat
    
    * Conditionally remove SessionAuthenticationMiddleware
    
    * Pass app_name to include()
    
    * Use the tuple form of include()
    
    * sigh
    
    * This time with feeling!
    
    * FOR REAL THIS TIME
    
    * Try to fix the geo
    
    * forgot import
    
    * uuuuugh
    
    * Add myself to contributors
Commits on Jul 10, 2017
  1. Add explicit error when ModelResource lacks object_class and queryset (

    georgedorn committed Jul 10, 2017
    …#1518)
    
    * Add explicit error when ModelResource lacks object_class and queryset
Commits on Jul 3, 2017
  1. 0.14.0 changelog: add note for removing ResourceTestCase (#1516)

    nikolas authored and georgedorn committed Jul 3, 2017
  2. Bump version number

    georgedorn committed Jul 3, 2017
  3. Bump version in README

    georgedorn committed Jul 3, 2017
  4. Prepare documentation for PyPI release (#1515)

    georgedorn committed Jul 3, 2017
  5. Rebase fix warnings (#1512)

    georgedorn committed Jul 3, 2017
    * Fix (some) deprecation warnings, compatibility for 1.8 and 1.11
    
    * Check for remote_field first
    
    * on_delete=models.CASCADE
    
    * Fix middleware warnings
    
    * Timezones in fixtures
    
    * More on_delete=models.CASCADE
    
    * urlresolvers
    
    * on_delete=models.CASCADE in migration
    
    * ResourceTestCaseMixin
    
    * user.is_authenticated property compat
    
    * More tz aware warnings
    
    * Some settings fixes
    
    * PYTHONWARNINGS = always
    
    * Test against Python 3.5
    
    * flake8 py3.5
    
    * Remove support for Django 1.7
    
    * Fix more flakes
    
    * Show warnings during tests, fix a handful
    
    flake8
    
    * Disable timezones during tests with fixtures
    
    One more TZ
    
    * Handle 1.8 and 1.11 urls module differences
    
    * Compatability fixes to silence warnings
    
    * Broken merge
    
    * Prefer USE_TZ=True fixes
    
    * Silence MIDDLEWARE_CLASSES deprecation
    
    * Actually use property properly
    
    * Return a strict boolean from is_authenticated()
    
    * flake8
Commits on Jun 16, 2017
  1. Merge pull request #761 from roblinton/bigintegerfield

    georgedorn committed Jun 16, 2017
    Add BigIntegerField to the Django model types supported for IntegerField...
  2. Merge pull request #662 from achur/cookbook_search

    georgedorn committed Jun 16, 2017
    Improve cookbook 'Adding Search Functionality'
  3. Merge pull request #320 from rmaceissoft/master

    georgedorn committed Jun 16, 2017
    updated example of nested resources by lightly overriding the override_urls method & adding on a new method to handle the children
  4. Merge pull request #271 from ryankask/apifield-dehydrate

    georgedorn committed Jun 16, 2017
    Fields with null=True should dehydrate to None before returning the default
  5. Merge pull request #1509 from django-tastypie/django-1.11

    georgedorn committed Jun 16, 2017
    Django 1.11 Tests
Commits on Jun 14, 2017
  1. Don't run tests for Django dev (2.0) on unsupported python (2.7)

    georgedorn committed Jun 14, 2017
    Also exclude django 2.0 from python 2.7 on travis
    
    Cope with StrictVersion vs 2.0's dev status