Django devotionals
==================
A demo application created as part of the 5Q programming challenge. The app handles the input and display of daily devotionals, including a django management command to import a csv file loaded with devotionals.
Install
---------
If the project were uploaded to pypi, it would be a simple:
```
pip install django-devotionals
```
But it's not, so don't try.
Else you could follow whatever procedure you use to install python packakges (easy_install, etc)
Configuration
--------------
Currently there is little to configure. The important part is to wire it up in your django project:
```
INSTALLED_APPS = (
...
'devotionals',
...
)
```
In your urls:
```
urlpatterns += patterns('',
...
(r'^devotionals/', include('devotionals.urls')),
...
)
```
Templates (& URLs)
--------------------
All templates go in a 'devotionals' directory in your TEMPLATE_DIR:
```
devotional_list.html (/)
devotional_year_archive.html (/<YYYY>/)
devotional_month_archive.html (/<YYYY>/<MMM>/)
devotional_detail.html (/<YYYY>/<MMM>/<DD>/)
```
==================
A demo application created as part of the 5Q programming challenge. The app handles the input and display of daily devotionals, including a django management command to import a csv file loaded with devotionals.
Install
---------
If the project were uploaded to pypi, it would be a simple:
```
pip install django-devotionals
```
But it's not, so don't try.
Else you could follow whatever procedure you use to install python packakges (easy_install, etc)
Configuration
--------------
Currently there is little to configure. The important part is to wire it up in your django project:
```
INSTALLED_APPS = (
...
'devotionals',
...
)
```
In your urls:
```
urlpatterns += patterns('',
...
(r'^devotionals/', include('devotionals.urls')),
...
)
```
Templates (& URLs)
--------------------
All templates go in a 'devotionals' directory in your TEMPLATE_DIR:
```
devotional_list.html (/)
devotional_year_archive.html (/<YYYY>/)
devotional_month_archive.html (/<YYYY>/<MMM>/)
devotional_detail.html (/<YYYY>/<MMM>/<DD>/)
```
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-devotionals-0.1.0.tar.gz.
File metadata
- Download URL: django-devotionals-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53247e58bc16796032906ba3e851ee35727978f8627e11f117a13f0381a85c20
|
|
| MD5 |
aadde68cb5aef1f5d4ac0f98c6de97a2
|
|
| BLAKE2b-256 |
d18c9c98fb9723b8934c1ed0b520e940e9eb5e8f68cf1ce9154f6ec6606d4670
|