django-nadbNot Another Django Blog app! | |
Download |
django-nadb Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Daniel Aronne
- Publisher web site:
- https://github.com/earonne/
django-nadb Tags
django-nadb Description
django-nadb is a Django blog app. The source repository can be found at https://github.com/earonne/django-nadb/InstallationInstalling django-nadb is as simple as checking out the source and adding it to your project or PYTHONPATH.Use git, pip or easy_install to check out django-nadb from Github or get a release from PyPI.1. Download and install the package from the python package index (PyPI):easy_install django-nadbor if you prefer pip:pip install django-nadb2. Install the latest development version from GitHub. This requires to install git of course:git clone git://github.com/earonne/django-nadb.gitthen install it manually:cd django-nadbpython setup.py installPlease note that the dev version is not fully tested and may contain bugs.Usage1. To install django-nadb just add the package to your INSTALLED_APPS setting:# settings.pyINSTALLED_APPS = ( ... 'nadb', 'django_markup',)# Notice you also need to add django_markup to your INSTALLED_APPS.2. Run the syncdb command: ./manage.py syncdb3. Add a line like this in your root URLConf to set up the default URLs for django-nadb:# urls.pyurlpatterns = patterns('', url(r'^blog/', include('nadb.urls')),)4. django-nadb supports markup filters (e.g. Markdown, RestructuredText, etc.). Add the following to your settings.py:# settings.pyNADB_MARKUP_FILTER = 'markdown'MARKUP_SETTINGS = { 'markdown': { 'safe_mode': True, 'extensions': }}5. Create a nadb directory inside your templates directory and add the following templates:base_nadb.htmlpost_list.htmlpost_detail.htmlpost_archive_year.htmlpost_archive_month.htmlpost_archive_day.htmlcategory_list.htmlcategory_detail.htmlProduct's homepage
django-nadb Related Software