@@ -16,7 +16,6 @@ The tutorial is fairly in-depth, so you should probably get a cookie and a cup o
...
@@ -16,7 +16,6 @@ The tutorial is fairly in-depth, so you should probably get a cookie and a cup o
Before we do anything else we'll create a new virtual environment, using [virtualenv]. This will make sure our package configuration is kept nicely isolated from any other projects we're working on.
Before we do anything else we'll create a new virtual environment, using [virtualenv]. This will make sure our package configuration is kept nicely isolated from any other projects we're working on.
:::bash
virtualenv env
virtualenv env
source env/bin/activate
source env/bin/activate
...
@@ -75,12 +74,8 @@ For the purposes of this tutorial we're going to start by creating a simple `Sni
...
@@ -75,12 +74,8 @@ For the purposes of this tutorial we're going to start by creating a simple `Sni
title = models.CharField(max_length=100, blank=True, default='')
title = models.CharField(max_length=100, blank=True, default='')
code = models.TextField()
code = models.TextField()
linenos = models.BooleanField(default=False)
linenos = models.BooleanField(default=False)
language = models.CharField(choices=LANGUAGE_CHOICES,
language = models.CharField(choices=LANGUAGE_CHOICES, default='python', max_length=100)