django启动页django项目收集电子邮件地址等的启动页。
django-launch-page的Python项目详细描述
Django启动页
===
==
Django项目的启动页,用于收集电子邮件地址和更多信息。
master build status
----
[![构建状态](https://travis-ci.org/ryanbalfanz/django-launch-page.png?branch=master)(https://travis ci.org/ryanbalfanz/django启动页)
开发构建状态
---------
/>[![构建状态](https://travis-ci.org/ryanbalfanz/django-launch-page.png?branch=development)(https://travis ci.org/ryanbalfanz/django launch page)
django project将为您提供一个简单的摘要页面,用于收集电子邮件地址、名称和IP地址。
有关详细信息,请参阅geoip文档。
)
在项目URL中包含“启动页”urlconf。py如下:
…
url(r'^launch庠page/',include('launch庠page.url'),
将其绑定到根域:
from launch_page.url导入launch_page_urlpatterns
urlpatterns+=launch_urlpatterns
迁移应用程序:
自定义模板的使用类似于重写管理模板。
贡献
----
设置一些环境变量:
export django_settings_module=example_project.settings.local
export django_debug=true;或者将django_debug设置为禁用
export django_secret_key='your_secret_key'
将存储库根添加到“pythonpath”
export pythonpath=`pwd`:$pythonpath
创建新版本并将其安装到您的virtualenv
make release
cd dist/
tar-xzvf django launch page-<;version>;
cd django launch page-<;version>;/
python setup.py install
使用tox运行测试:
make test_tox
[geoip]:https://docs.djangoproject.com/en/dev/ref/contrib/gis/geoip/
[tox]:http://tox.readthedocs.org/en/latest/
[覆盖管理模板]:https://docs.djangoproject.com/en/dev/ref/contrib/admin/\overriding管理模板
===
==
Django项目的启动页,用于收集电子邮件地址和更多信息。
master build status
----
[![构建状态](https://travis-ci.org/ryanbalfanz/django-launch-page.png?branch=master)(https://travis ci.org/ryanbalfanz/django启动页)
开发构建状态
---------
/>[![构建状态](https://travis-ci.org/ryanbalfanz/django-launch-page.png?branch=development)(https://travis ci.org/ryanbalfanz/django launch page)
django project将为您提供一个简单的摘要页面,用于收集电子邮件地址、名称和IP地址。
有关详细信息,请参阅geoip文档。
)
在项目URL中包含“启动页”urlconf。py如下:
url(r'^launch庠page/',include('launch庠page.url'),
将其绑定到根域:
from launch_page.url导入launch_page_urlpatterns
urlpatterns+=launch_urlpatterns
迁移应用程序:
自定义模板的使用类似于重写管理模板。
贡献
----
设置一些环境变量:
export django_settings_module=example_project.settings.local
export django_debug=true;或者将django_debug设置为禁用
export django_secret_key='your_secret_key'
将存储库根添加到“pythonpath”
export pythonpath=`pwd`:$pythonpath
创建新版本并将其安装到您的virtualenv
make release
cd dist/
tar-xzvf django launch page-<;version>;
cd django launch page-<;version>;/
python setup.py install
使用tox运行测试:
make test_tox
[geoip]:https://docs.djangoproject.com/en/dev/ref/contrib/gis/geoip/
[tox]:http://tox.readthedocs.org/en/latest/
[覆盖管理模板]:https://docs.djangoproject.com/en/dev/ref/contrib/admin/\overriding管理模板