Learn Django

Hello There!

The Discuss area is for students who've purchased one of the premium packages. If you'd like to get additional help please consider purchasing one of the awesome packages.

Adding Code Highlights To Posts

If you want to add code to your posts, all you have to do is fence it with the three backticks (that key usually to the left of the 1/!), and the name of the language. The backticks have to be placed at the top and bottom of the code, in separate lines. Here's an example of how you would post Python code.

If you type this code/text into the comment box:

```python
from some.package import library

def fun()
     add = 1 + 2
     return add
```

It will show up as follows:

1
2
3
4
5
from some.package import library

def fun()
    add = 1 + 2
    return add