Code Monkey home page Code Monkey logo

django-blog's Introduction

Django-Blog

A ready to use blog application to maintain your blog. Use this to maintain your blog in an easy manner and spread your information to world.

This application uses Python based Django framework for its backend and SQLite as local database. If you want to switch to another database type, you can do so by changing necessary files before running commands.


Features of This Blog :

  • Admin interface with all privilages to access modify all posts.
  • Admin can invite other users to post by registering them as User from Django-admin panel. Other users have limited privilages.
  • Posts can be saved as draft before they can be shared with public.
  • Users are not allowed to touch sensitive information without logging in and without having sufficient privilages.

To get this blog running on your local machine. Clone the directory and activate your python virtual environment. After you setup your virtual environment. Run following commands.

pip install django
pip install -r requirements.txt
python manage.py migrate
python manage.py makemigrations blog
python manage.py migrate blog
python manage.py createsuperuser
python manage.py runserver

Important!

After successfully executing these commands, just go to localhost:8000 to browse your blog. The following urls and instructions are useful in this blog.

  • localhost:8000/accounts/login to login with your account. You can use your admin account to login with admin privilages.
  • localhost:8000/admin to access django admin interface.
  • If in settings.py DEBUG mode is set to false please run python manage.py runserver --insecure to run server and render static files correctly on local testing.
  • Admin can login from either from Django admin or blog login page to get logged in.
  • Fill out the details like First Name, Last Name etc in the Django-admin Users model to render them in the blog.

Enjoy ๐Ÿ‘


Home Page

django-blog's People

Contributors

pradeepgangwar avatar

Watchers

James Cloos avatar  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.