From a0973cd9bb7dc464501c714e52df823f710670c0 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Fri, 26 Oct 2018 17:02:27 +0200 Subject: [PATCH] proper markdown and hint --- content/pages/supinternet_django1.md | 43 ++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/content/pages/supinternet_django1.md b/content/pages/supinternet_django1.md index de5ee31..5327b03 100644 --- a/content/pages/supinternet_django1.md +++ b/content/pages/supinternet_django1.md @@ -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 +[là](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.