Giter Site home page Giter Site logo

New release about django-sslify HOT 12 OPEN

rdegges avatar rdegges commented on September 13, 2024 1
New release

from django-sslify.

Comments (12)

HEdingfield avatar HEdingfield commented on September 13, 2024 2

Would love an update on 0.2.8!

from django-sslify.

rdegges avatar rdegges commented on September 13, 2024

Hey! I was just looking to do this, but.... Looks like the build isn't passing :( https://travis-ci.org/rdegges/django-sslify/jobs/329343417

from django-sslify.

rdegges avatar rdegges commented on September 13, 2024

If you wanna send a PR for some fixes (or if you're interested in maintaining), I'd be happy to share the creds! I'm currently doing a lot of non-Django related work and haven't been doing a good job keeping on top of this :(

from django-sslify.

manelclos avatar manelclos commented on September 13, 2024

Hi! We are using django-sslify as well, we would be glad to help, fixing the travis config as a first step. What do you prefer, adding me as maintainer or me creating a PR for the travis config?

from django-sslify.

rdegges avatar rdegges commented on September 13, 2024

I'm adding you as a maintainer! Any help would be fantastic and appreciated =D

from django-sslify.

manelclos avatar manelclos commented on September 13, 2024

Travis configuration is now fixed. There is a tox config as well to test locally. Django versions supported are 1.8 to 2.0. Travis is passing now.

from django-sslify.

HEdingfield avatar HEdingfield commented on September 13, 2024

I'm curious as to why support from Django 1.8 and beyond is necessary, given this? Wondering because I was planning to just use SECURE_SSL_REDIRECT = True now and phase out django-sslify entirely.

from django-sslify.

manelclos avatar manelclos commented on September 13, 2024

You might be using django-sslify already, migrating to 1.8 or beyond should not break the project. This happens in some of my projects, I'm just lazy to do the change.
Also, it has some advanced features like disabling SSL for some URLs: https://github.com/rdegges/django-sslify#disabling-sslify

from django-sslify.

HEdingfield avatar HEdingfield commented on September 13, 2024

Ah, I see, thanks. FYI, I think the feature you mentioned is also available in Django now via SECURE_REDIRECT_EXEMPT.

from django-sslify.

manelclos avatar manelclos commented on September 13, 2024

yeah, nice to know. Then only the safe upgrade path point is valid :)

from django-sslify.

HEdingfield avatar HEdingfield commented on September 13, 2024

After investigating this more, I determined that django-sslify still does something that SECURE_SSL_REDIRECT apparently doesn't: it actually forces the URL in the browser to change to https://, which is really useful. I was running into problems after phasing out django-sslify and relying solely on the SECURE_SSL_REDIRECT setting because I'd get 403 errors when trying to access things, and would have to manually change the URL to https://. In light of this, I'm going to start using this package again!

We may want to update the docs here to reflect this: https://github.com/rdegges/django-sslify#using-django-18-or-later

from django-sslify.

HEdingfield avatar HEdingfield commented on September 13, 2024

That said, do we have an ETA on the 0.2.8 release? haha

from django-sslify.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.