Giter Club home page Giter Club logo

django-blog-python-learning's Introduction

Django-Blog-Python-Learning

Release Source Code of Django Blog Python Learning v.3.8

Demo:

Technologies

  • Django 1.10
  • Python 3.5
  • Postgresql

Features

  • Django Suit
  • Django Wysiwyg Redactor
  • Django disqus for comments.
  • Face 90% bootstrap.
  • Admin Site: User, Post, Page, Author, Tag & Gallery.
  • Pagination posts, Sitemap page, Search posts page, Display posts under tags, Display posts under Author.
  • Related posts
  • Next and previous for post.
  • sitemap.xml, feed
  • Contact form.
  • About author in the botom of posts.
  • Visitor Counter
  • Auto backup to the json file
  • Json post view
  • much more...

Instalation

I assume you already setup your django development with virtual enviroment (virtualenv).

1. Create virtual enviroment and activate it.

$ virtualenv --python=/usr/bin/python3 yourenv
$ source bin/activate

2. Cloning this project

$ git clone [email protected]:agusmakmun/Django-Blog-Python-Learning.git

3. Install all requirements

If you getting an error, error: command 'i686-linux-gnu-gcc' failed with exit status 1 please install first the python3-dev using command sudo apt-get install python3-dev for all-deb, or use different method. This probelm specialy for pip3 install psycopg2. For more, please checkout this answer: http://stackoverflow.com/a/11094752/6396981

$ pip install -r requirements.txt

4. Database migrations

$ ./manage.py makemigrations
$ ./manage.py migrate

5. Run the server

$ ./manage.py runserver

Screenshot:

Homepage

Homepage

Detail Post

Detail Post

Admin Dashboard (using django suit)

Admin Dashboard

All Posts on the Admin Dashboard & Included Django Import Export

All Posts on the Admin Dashboard & Included Django Import Export

Tags Filter and Redactor Editor

Tags Filter and Redactor Editor

Gallery File & Images

Gallery

Update and Commits

Stack Problem

ChangeLog

License

django-blog-python-learning's People

Contributors

agusmakmun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-blog-python-learning's Issues

Static file problem

hi, i tried to run"python manage.py collectstatic",
i got the error

You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
so i set STATIC_ROOT=os.path.join(BASE_DIR, 'static')

i got the following error:

The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting

could you please tell me how to selve this problem?
thanks.

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.