proper markdown and hint

This commit is contained in:
Julien Palard 2018-10-26 17:02:27 +02:00
parent c313cda3b7
commit a0973cd9bb
1 changed files with 35 additions and 8 deletions

View File

@ -6,12 +6,13 @@ robots: noindex
# Django Tools
Le nom du projet est `django`, le protocole de rendu est:
https://mdk.fr/pages/obiree2uaza2sh-rendu.html
Le nom du projet est `django1`, le protocole de rendu est
[](https://mdk.fr/pages/obiree2uaza2sh-rendu.html).
Create a django project with two Django apps:
- Elementary Cellular Automata
- Paste as Markdown
- Elementary Cellular Automata
- Paste as Markdown
and a home page. The home page should permit to easily jump to the two
apps.
@ -27,10 +28,11 @@ what it is, a textbox to enter the value, a button to generate the
## Paste as Markdown
This application looks at first like a pastebin.com / dpaste.de /
wyz.fr, but accepts only Markdown. It should allow one to choose the
path of the page (leaving the path blank auto-generate a path, like
tinyurl.com does).
This application looks at first like a
[pastebin.com](https://pastebin.com) / [dpaste.de](https://dpaste.de)
/ [wyz.fr](https://wyz.fr), but accepts only Markdown. It should allow
one to choose the path of the page (leaving the path blank
auto-generate a path, like [tinyurl](https://tinyurl.com) does).
While hitting back the URL, the previously pasted markdown should be
rendered as HTML on the body of the page.
@ -46,3 +48,28 @@ pastes.
If a logged-in user creates a paste, he can then see the list of its
owned pastes, and edit them.
## Hints
Re-reading the [Django tutorial](
## Bonus
If a logged-in user creates a paste, he can then see the list of its
owned pastes, and edit them.
## Bonus
Write tests.
## Hints
Re-reading the [Django
tutorial](https://docs.djangoproject.com/en/2.1/intro/tutorial01/),
and inspiring you from the [hackinscience source
code](https://framagit.org/hackinscience/hkis-website) (for Markdown
generation) should be enough for this project.