Coder Social home page Coder Social logo

learnwithcode / building-a-blog-application Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 6.0 16.31 MB

Creating fullstack blog application with Django, python and Materialize

Python 63.22% CSS 0.28% HTML 36.50%
django pagination materializecss postgresql full-text-search email-sender django-taggit template-tags class-based-views postgres

building-a-blog-application's Introduction

Building A Blog Application

0 - Initial Commit

Creating A blog Application

1 - Building Post Model

2 - Creating Admin Site

3 - Custom Model Manager

4 - Building list & detail views

5 - Creating templates for views

6 - Adding Pagination

7 - Pagination using Classed Based views

Enhancing Blog with Advanced Features

Sending Mail With Django

8 - Django Form in views

9 - Sending Email with Django

Adding Comment System

10 - Model & Admin for Comment

11 - Creating ModelFrom & handel in View

12 - Adding comment to post detail template

Adding Tagging Functionality

13 - Add tag to Post with django-taggit

14 - Retrieving posts by similarity

Extending blog Application

Creating custom template tags and filter

15 - total_tags using simple_tag

16 - show_latest_post tag using inclusion_tag

17 - get_most_commented_posts tag using simple_tag

Implementing full text search with PostgreSQL

20 - Building a Search View

21 - Steaming and Ranking results

22 - Weighting queries

CKeditor

23 - Adding Ckeditor

How to clone project

Install depndencies first

  • Download & Install python latest version if not
  • Download & Install Git if not
  • Download & Install Postgresql database Download and create password while installation process default name & username is postgres

Commands

open settings.py in src/mysite/ and uncomment postgres database settings and put your password of postgres you created above and add your smtp settings for share post by email
  • python manage.py migrate
  • python manage.py createsuperuser
  • python manage.py loaddata blog/fixtures/post.json
  • python manage.py loaddata blog/fixtures/tag.json
  • python manage.py collectstatic
  • python manage.py runserver

building-a-blog-application's People

Contributors

learnwithcode avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.