Django应用程序在通过http://www.keith-wood.name/icalendar.html调用时返回一个.ics文件
django-ics-generator的Python项目详细描述
一个简单的django视图,当 通过iCalendar脚本调用:http://www.keith-wood.name/icalendar.html
安装
要使用此应用程序,您需要安装以下先决条件:
pip install Django
如果要安装pypi的最新稳定版本:
$ pip install django-ics-generator
如果您有冒险精神并希望安装来自github的最新提交:
$ pip install -e git://github.com/bitmazk/django-ics-generator.git#egg=ics_generator
将ics_generator添加到INSTALLED_APPS:
INSTALLED_APPS = ( ..., 'ics_generator', )
包括此应用程序的URL:
urlpatterns = patterns( '', url(r'^ics-generator/', include('ics_generator.urls')), )
贡献
如果您想参与此项目,请执行以下步骤:
# Fork this repository # Clone your fork $ mkvirtualenv -p python2.7 django-ics-generator $ pip install -r requirements.txt $ ./logger/tests/runtests.sh # You should get no failing tests $ git co -b feature_branch master # Implement your feature and tests # Describe your change in the CHANGELOG.txt $ git add . && git commit $ git push origin feature_branch # Send us a pull request for your feature branch
无论何时运行测试,都会在 tests/coverage/index.html。添加新功能时,请确保 你把保险范围保持在100%。
路线图
查看github上的问题跟踪程序,以了解未来的里程碑和功能。