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

Add optional created kwarg to djstripe_sync_models management command #1853

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

Commits on Dec 18, 2022

  1. Added optional kwarg created to models sync management command

        `created` optional kwarg will allow dj-stripe users to sync models
        after the last sync or after a particulat datetime. This would
        be far better than initiating every sync from the beginning
        every single time.
    arnav13081994 committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    057c013 View commit details
    Browse the repository at this point in the history
  2. Updated StripeBaseModel.api_list with created kwarg

    This approach was taken as it is very difficult to manage
    exactly what all models' list calls support the `created`
    field. And that is why we run `list()` as is and in case the
    given model doesn't support `created` param we catch and remove
    it from the kwargs dict and re-run `list()`
    arnav13081994 committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    e46d631 View commit details
    Browse the repository at this point in the history
  3. Updated docs.

    arnav13081994 committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    0a7d6fd View commit details
    Browse the repository at this point in the history
  4. Updated changelog

    arnav13081994 committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    44baabf View commit details
    Browse the repository at this point in the history