GithubHelp home page GithubHelp logo

scribble's Introduction

Scribble

Scribble is a Django application where users can read, write and interact with the best content all around the world. It is designed to be built, refined and deployed over the course of four nights.

Submitting

Fork this repo, and submit homework as a pull request on this repo...

$ git clone https://git.generalassemb.ly/sf-wdi-48/scribble
$ cd scribble
$ virtualenv .env -p python3
$ source .env/bin/activate
$ pip install Django==2.0.5
$ pip install psycopg2
$ pip freeze > requirements.txt
$ django-admin startproject scribble_project .
$ django-admin startapp scribble

When asked if you want to overwrite the readme, enter "n" (for no).

The . creates a new Django app inside the CURRENT folder. Otherwise, it creates a new folder.

This is how a lot of people end up with a scribble folder inside another scribble folder.

Specifications

Models + Migrations

  1. Create models for Post and Comment
  2. Create migrations for Post and Comment

We will start off with two models: Post and Comment.

A Post should have an author, title, and body (these can all be CharFields). A Comment should have an author, body, and a post. The author and body model attributes can be CharFields but post should be a ForeignKey.

scribble's People

Contributors

superbuggy avatar aspittel avatar katjone 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.