Coder Social home page Coder Social logo

django-address-listing's Introduction

django-address-listing

A Django based application which stores names and email addresses in a database (SQLite ).

• Django App

Make an application which stores names and email addresses in a database (SQLite is fine). Make sure it:

  1. Has welcome page in http://localhost/ Note: this page has links to list and create functions
  2. Lists all stored names/email address in http://localhost/list
  3. Adds a name/email address to the database in http://localhost/add Note: should validate input and show errors

The challenge is a Django based application, so please make sure you use all of Django infrastructure (form, template inheritance, ORM) correctly. Also make sure the app does not have major security problems: CSRF, XSS, SQL Injection.

Make reasonable assumptions, state your assumptions, and proceed. Once you have completed the challenge, let us know and share your thoughts on the problems/solutions.

Git Workflow

The master branch is intact. I used another branch 'Develop'. And for every feature, I new branch is created locally and merged upstream with develop branch with pull requests.

Django Infasctructure Used

ModelForm, template inheritance, ORM, migrations were all used

Unit Tests

Unit testing is one of the assumptions that I made for this app, so I implemented unit tests for model and view only, I did not write tests for forms because I used Django ModelForms.

Functionalities

This app essentially focus on the backend, using Django and Python

  • A user should be able to create Listing
  • A user should be able to can add Listings
  • A user should be able to view a single list on a page
  • A user should be able to update lists
  • A user should be able to delete a specific list

django-address-listing's People

Contributors

cc-bezalel avatar

Watchers

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