Skip to content

Django mobile app store switcher - redirects to Apple's App Store, to Google Play Store or to a landing page depending on the User Agent.

License

Notifications You must be signed in to change notification settings

arteria/django-mobileapps-store

Repository files navigation

Django mobile app store switcher

Django app to dedect if we have to redirect the client to Apple's App Store, to the Google Play Store or an other landing page. This is build for exactly one app [1], that is available in the App Store and/or Google Play Store.

Installation

To get the latest stable release from PyPi

To get the latest commit from GitHub

pip install -e git+git://github.com/arteria/django-mobileapps-store.git#egg=mobileapps_store-master

Add mobileapps_store to your INSTALLED_APPS

INSTALLED_APPS = (
    ...,
    'mobileapps_store',
)

Add the mobileapps_store URLs to your urls.py

urlpatterns = patterns('',
    ...
    url(r'^mobileappsstore/', include('mobileapps_store.urls')),
)

Don't forget to migrate your database

./manage.py migrate mobileapps_store

Requirements

  • httpagentparser

Contribute

If you want to contribute to this project, please perform the following steps

# Fork this repository
# Clone your fork
mkvirtualenv -p python2.7 django-mobileapps-store
make develop

git co -b feature_branch master
# Implement your feature and tests
git add . && git commit
git push -u origin feature_branch
# Send us a pull request for your feature branch
[1]The app with the highest primary key/ID wins.

About

Django mobile app store switcher - redirects to Apple's App Store, to Google Play Store or to a landing page depending on the User Agent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages