Coder Social home page Coder Social logo

book-sharing-platform's Introduction

Hi there ๐Ÿ‘‹

arman shanto's Dev Card

book-sharing-platform's People

Contributors

armanshanto avatar md-arman-shanto avatar

Watchers

 avatar

book-sharing-platform's Issues

Please hide your SECRET_KEY from settings.py. It's a must.

This is critically important. You can create a file named secret_settings.py and place your SECRET_KEY inside this file. Then add this file to .gitignore. Then in your settings, you can remove the secret key variable and import it from there.

Please improve model.py

Preferable attributes and methods order in a model.

  • constants (for choices and other)
  • fields of the model
  • custom manager indication
  • meta
  • def unicode (python 2) or def str (python 3)
  • other special methods
  • def clean
  • def save
  • def get_absolut_url
  • other methods

Please note that the given order was taken from documentations and slightly expanded.

Class-based view is recommended

A class-based view allows you to respond to different HTTP request methods with different class instance methods, instead of with conditionally branching code inside a single view function. So, highly recommended.

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.