Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A launch page for a Django project to collect e-mail addresses and more.
Python Makefile
branch: develop

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example_project
launch_page
.gitignore
.travis.yml
MANIFEST.in
Makefile
Procfile
README.md
fabfile.py
requirements.txt
setup.py
tox.ini stripping repo/proj

README.md

django-launch-page

A launch page for a Django project to collect e-mail addresses and more.

Master Build Status

Build Status

Develop Build Status

Build Status

Installing launch_page to your Django project will give you a simple teaser page for collecting e-mail addresses, names, and IP addresses.

The IP address can be geolocated with GeoIP. For more information, see the GeoIP documentation.

Installation

Install from PyPI:

pip install django-launch-page

Add launch_page to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'launch_page',
)

Include the launch_page URLconf in your project urls.py:

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

or, bind it to the root domain, as in the example project:

urlpatterns = patterns('',
    url(r'', include('launch_page.urls')),
    ...
)

Migrate the application:

python manage.py migrate launch_page

The use of custom templates is similar to overriding admin templates.

Contributing

Create a new virtualenv:

pyvenv venv

Install the development packages

pip install -r requirements.txt

Then install the application's package:

python setup.py develop

Run the example project:

cd example_project/
foreman start
# Or, with Django's development server
python manage.py runserver

Testing across multiple Python versions is support with tox. To run the tests:

make test
Something went wrong with that request. Please try again.