pinax / pinax-teams

an app for Django sites that supports open, by invitation, and by application teams
MIT License
49 stars 36 forks source link

Drop Django <=1.10 support #57

Closed grahamu closed 6 years ago

grahamu commented 6 years ago

Add namespacing to context_urls.py, remove patterns use. Remove compat.py. Add "PINAX_TEAMS" AppConf prefix for all settings. Expand documentation. Fix migration on_delete for null=True fields. Update test configuration

codecov[bot] commented 6 years ago

Codecov Report

Merging #57 into master will decrease coverage by 1.46%. The diff coverage is 27.27%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #57      +/-   ##
=========================================
- Coverage   49.17%   47.7%   -1.47%     
=========================================
  Files          19      16       -3     
  Lines         728     698      -30     
  Branches       77      76       -1     
=========================================
- Hits          358     333      -25     
+ Misses        363     359       -4     
+ Partials        7       6       -1
Flag Coverage Δ
#py27dj110 ?
#py27dj111 47.7% <27.27%> (-1.2%) :arrow_down:
#py27dj18 ?
#py34dj110 ?
#py34dj111 47.7% <27.27%> (-1.2%) :arrow_down:
#py34dj18 ?
#py34dj20 47.7% <27.27%> (-1.2%) :arrow_down:
#py35dj110 ?
#py35dj111 47.7% <27.27%> (-1.2%) :arrow_down:
#py35dj18 ?
#py35dj20 47.7% <27.27%> (-1.2%) :arrow_down:
#py36dj111 47.7% <27.27%> (-1.2%) :arrow_down:
#py36dj20 47.7% <27.27%> (-1.2%) :arrow_down:
Impacted Files Coverage Δ
pinax/teams/forms.py 42.85% <0%> (ø) :arrow_up:
pinax/teams/middleware.py 0% <0%> (ø) :arrow_up:
pinax/teams/context_urls.py 0% <0%> (ø) :arrow_up:
pinax/teams/hooks.py 80.95% <100%> (ø) :arrow_up:
pinax/teams/models.py 67.74% <100%> (ø) :arrow_up:
pinax/teams/templatetags/__init__.py

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6957e48...3b26cc6. Read the comment docs.

grahamu commented 6 years ago

@paltman and/or @jacobwegner I'd appreciate your eyes on this PR bringing pinax-teams up to date with our latest supported Django/Python configurations. I believe this will resolve PRs https://github.com/pinax/pinax-teams/pull/36 and https://github.com/pinax/pinax-teams/pull/55. I'm also a bit leery of my updated requirement for django-reversion in light of https://github.com/pinax/pinax-teams/issues/33 and https://github.com/pinax/pinax-teams/issues/56 because I do not understand Jake's comment "breaks semantic versioning".

paltman commented 6 years ago

I'd be in favor of dropping django-reversion and letting the site builder decide how they want to version things, assuming that is possible to do with external packages.

grahamu commented 6 years ago

@paltman and @jacobwegner after weighing pros and cons about removing django-reversion, I have decided to keep that requirement in place for the initial Django v2.0-compatible release. This gives existing users who rely on django-reversion a path forward with Django 2.0.

Later, after a bit of testing to find user-installed alternatives, we should remove django-reversion.