Skip to content

Instantly share code, notes, and snippets.

Saikiran Yerram Syerram

Block or report user

Report or block Syerram

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style type="text/css">
a { display:block; margin: 10px 0;}
</style>
</head>
<body>
@Syerram
Syerram / gist:7045629
Last active Dec 25, 2015
Django Code workshop
View gist:7045629

Coding

Startup

#creates a new folder.
$ django-admin.py startproject my_todo

$ cd my_todo
@Syerram
Syerram / gist:7002597
Last active Dec 25, 2015
Setup for Django Presentation
View gist:7002597

Setup

Pre-requisites

  • Python 2.6 or higher - Higher version is better but 2.6 will do. You're on your own with Python 3.xx version.
    • For Windows users, see the last section
  • pip:
    • Most *nix distributions come with easy_install. To check if its installed, do which easy_install. It should list the path to the file.
    • If the above works, then run this at command line easy_install pip. [might require you to install as admin]
  • django: At command line run pip install django==1.4
    • To install it manually, especially for Windows users, see the last section.
You can’t perform that action at this time.