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

Cosmetic changes #148

Merged
merged 2 commits into from
Dec 21, 2015
Merged

Cosmetic changes #148

merged 2 commits into from
Dec 21, 2015

Conversation

sergei-maertens
Copy link
Contributor

I was trying to upgrade a project to 1.7 and ran into issues with newsletter 0.5.2, so decided to fork and fix it. Luckily, I saw that some efforts were already done.

This PR reorganizes the imports a bit for a better coding style (group django imports alphabetically, then other third party libraries and then local imports), some small changes that my linter was complaining about and I removed the contrib.auth.models.User import as you can figure it out from settings.AUTH_USER_MODEL anyway.

I'd suggest dropping the AUTH_USER_MODEL shims alltogether and just use the setting, and mark 0.6 and up only available for Django 1.7 and up. That also enables you to drop South support.

I've also changed the testrunner to use the Discover runner where possible, and only fallback if needed. If you'd drop <1.7 support, that can also be removed.

Any idea when 0.6 might be on PyPI?

@dokterbob
Copy link
Collaborator

dokterbob commented Dec 20, 2015 via email

@sergei-maertens
Copy link
Contributor Author

Sure, I'll give it some love and attention and you should see a PR in the coming weeks. I have some other packages I maintain, so I have to split time a bit. I've been browsing through the issues a bit and I think I would be able to tackle some, when I don't have any pressing matters for clients ofcourse.

We'll be in touch.

dokterbob added a commit that referenced this pull request Dec 21, 2015
@dokterbob dokterbob merged commit a061b57 into jazzband:master Dec 21, 2015
@dokterbob
Copy link
Collaborator

I've just officially dropped support for any unsupported Django versions. Looking forward to any PR's you might have. Though, if you start working on something, please make sure there's an issue so we don't end up working on the same things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants