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. If you dont want use categories setup in settings.py

BLOGPOSTS_USE_CATEGORIES = False

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.3.tar.gz (12.9 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