Skip to main content

Simple reStructuredText blogging for Django

Project description

Summary

Chalk is a basic blogging app for Django which lets you write posts using reStructuredText. It was written for personal use and I’ll be adding features as I need them but if you end up finding it useful and would like to see anything added then I’d like to hear from you. Either email me at kevin@kevindias.com or open an issue in the Bitbucket repo.

Installing django-chalk

There are several ways to install this application.

Using pip or easy_install

Pip is the recommended package-installation tool for Python. To install django-chalk with pip, use the command:

pip install django-chalk

If you prefer to use easy_install then replace pip with easy_install in the above command.

To install the latest in-development version (which may not be stable) directly from the project’s Git repository you can use the command:

pip install -e git+https://bitbucket.org/dias.kev/django-chalk.git#egg=chalk

Using setuptools

Download the package source code or distribution tarball and then run the following command in the django-chalk directory:

python setup.py install

Configuring django-chalk

Settings and models

Add chalk to the INSTALLED_APPS setting of your project. Once you’ve done this you can create chalk’s database tables using manage.py syncdb.

Setting up URLs

All the URLs which chalk needs are set in chalk.urls so you can simply include that file in your project’s root URLconf. For example, to add chalk to your project under the path /blog/ you would add the following to your root URLconf:

(r'^blog', include('chalk.urls')),

With this setup chalk all articles are listed at the URL /blog/ and individual articles can be found at /blog/[article_slug]/

Templates

Chalk includes bare-bones examples of the templates it needs but these may not work with your project’s template structure and even if they do you’ll probably want to override them. The templates to override are chalk/article_list.html which displays a list of all articles and chalk/article_detail.html which displays individual articles.

Reporting problems or suggesting improvements

Please use the issue tracker at the project’s Bitbucket repo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-chalk-0.2.1.tar.gz (15.1 kB view details)

Uploaded Source

File details

Details for the file django-chalk-0.2.1.tar.gz.

File metadata

  • Download URL: django-chalk-0.2.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-chalk-0.2.1.tar.gz
Algorithm Hash digest
SHA256 031ca4b815d89439dd41acd9c7a996c047279c5dd33c86070b82c9e7f6d1459e
MD5 d071ceeacf9247072ee823f83f88f848
BLAKE2b-256 61586fa615d01273a1670365596b265a69824083a4d2f131f7d280cabc208ad4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page