GithubHelp home page GithubHelp logo

iheanyi / django-subdomains Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abe312/django-subdomains

1.0 1.0 1.0 116 KB

Subdomain helpers for the Django framework, including subdomain-based URL routing.

Home Page: http://django-subdomains.readthedocs.org/

License: MIT License

Makefile 1.57% Python 98.43%

django-subdomains's Introduction

pip install subdomains

Thanks to @iheanyi, this would be backwards compatible till Django1.11 and continues to work on django2 and django3 (tested on django1.11.27, django2.2.9 and django3.0.2). Sample project

We will continue to support future Django LTS Releases

The previous subdomains can be downloaded by pip install subdomains==2.1.1

Edit Updated to work with django 1.10 and so on... using this https://docs.djangoproject.com/en/1.11/topics/http/middleware/#upgrading-middleware Edit2 Uploaded it to pypi: under "subdomains" pip install subdomains

I'd recommend for django versions<=1.9 use django-subdomains from op, otherwise for django 1.10, 1.11, django2, django3 etc use my subdomains version

subdomains

Subdomain helpers for the Django framework, including subdomain-based URL routing and reversing.

Full documentation can be found here: subdomains

Build Status

Build Status

Tested on Python 2.6, 2.7, 3.4, 3.5 and 3.6 on their supported Django versions from 1.4 through 1.11.

Check the following table for reference:

Django version Python versions
1.8 2.7, 3.2 (until the end of 2016), 3.3, 3.4, 3.5
1.9, 1.10 2.7, 3.4, 3.5
1.11 2.7, 3.4, 3.5, 3.6
2.0 3.4, 3.5, 3.6
2.1 3.5, 3.6, 3.7

django-subdomains's People

Contributors

abe312 avatar afilardo avatar cmsimike avatar jezdez avatar petrdlouhy avatar tkaemming avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

emmanuelthegeek

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.