Skip to content

briefausde/django-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

110 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

djs

This is a site with all the necessary tools for blogging, written in Django.

Table of Contents

How to start

Clone repository and install requirements in your virtual environment

pip install -r requirements.txt

and make migrations

python manage.py makemigrations
python manage.py migrate

also

python manage.py makemigrations engine
python manage.py migrate engine

To adding content you should create a categories but before that, create a superuser

python manage.py createsuperuser

Then start the site

python manage.py runserver

Go to (url)/admin/ and log in as superuser, then select categories section and create a category. After that you can freely add material.

Features

Site has all the necessary functional for the bloging.

Screenshot of main page

alt text

Users profiles

Each user has his own personal page, which is contains information about role, contact info, list of user posts, short description and avatar.

alt text

Flatpages

Flatpages allow to create with a static content.

Comments

The user has the opportunity to leave a comment on the news. AJAX technology possible to do this without refreshing the page. Also comments auto-update on the background.

alt text

Sitemap

Site has a XML sitemap of all pages.

Simple-to-understand URL

URL is simple-to-understand with semantic URL.

/article/the-most-popular-peoples insted /article/234

Feedback page

Each visitor has the opportunity to leave a review about the site, and the administration to view it.

Custom search

Custom search engine based on inverted indexes. You can search for one word and whole sentences in random order.

alt text

Notifications

Notifications gives you the opportunity to subscribe to user activity (new posts) and to new posts comments. Notifications come in real time.

alt text

Pagination

The site has a comfortable page switching

alt text

Logging

Custom logging system. Administration has the ability to view all user actions in real time. Filtering is possible

alt text

API

API (via Django REST framework). At the moment API is possible for posts, categories, groups, users.

About

Simple Django blog website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published