Skip to main content

Django module for simple blog

Project description

# django-blogposts
Simple django blogposts app.

installation

# first step
```
pip install django-blogposts
```

# second step
```
Add into settings.py INSTALL_APPS
'django_blogposts'
```

# third step
```
$ python manage.py collectstatic
$ python manage.py migrate
```

# fourth step
```
Add into urls.py

url(r'^blog/', include('django_blogposts.urls')),

```

# fifth step
```
all templates extends from base.html. If you doesn't have it, create it or override templates
```

# optionaly
```
you can use sitemap

from django_blogposts.sitemap import BlogPostSitemap

By default django-blogposts provides with categories and tags. If you dont want use categories or tags setup in settings.py

BLOGPOSTS_USE_CATEGORIES = False

BLOGPOSTS_USE_TAGS = False

if you want to use ckeditor for editing short_content and content of post, you can install it and add into install apps


you can use search if you send request to /?q=example+of+query
```

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_blogposts-0.2.9.tar.gz (15.0 kB view hashes)

Uploaded Source

Supported by

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