Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Bump Django requirement to >= 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Mar 13, 2017
1 parent c5d0a8f commit e9fb3e0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Features
* Subscription management
* Designed for easy implementation of post-registration subscription forms
* Single-unit purchases
* Works with Django ~=1.9.1, 1.8
* Works with Django >= 1.10
* Works with Python 3.5, 3.4, 2.7
* Works with Bootstrap 3
* Built-in migrations
Expand Down
11 changes: 0 additions & 11 deletions djstripe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,7 @@
:synopsis: dj-stripe - Django + Stripe Made Easy
"""
from __future__ import unicode_literals
import pkg_resources

from django import VERSION as django_version


__version__ = pkg_resources.require("dj-stripe")[0].version


if django_version < (1, 8):
import warnings
msg = "dj-stripe deprecation notice: Django 1.7 and lower are no longer\n" \
"supported. Please upgrade to Django 1.8 or higher.\n" \
"Reference: https://github.com/kavdev/dj-stripe/issues/275"
warnings.warn(msg)
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Django + Stripe Made Easy
* Subscription management
* Subscription during registration
* Single-unit purchases
* Works with Django ~=1.9.1, 1.8
* Works with Django >= 1.10
* Works with Python 3.5, 3.4, 2.7
* Works with Bootstrap 3
* Built-in migrations
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ classifiers =
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Framework :: Django
Framework :: Django :: 1.8
Framework :: Django :: 1.10

[options]
packages = find:
include_package_data = True
zip_safe = False
install_requires =
Django >= 1.8
Django >= 1.10
django-braces >= 1.9.0
django-model-utils >= 2.5.2
django-polymorphic >= 1.0
Expand Down

0 comments on commit e9fb3e0

Please sign in to comment.