This commit is contained in:
Julien Palard 2018-10-26 16:41:13 +02:00
parent 1d961e3382
commit c313cda3b7
1 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,48 @@
status: hidden
title: Python — Django 1
slug: thoBe6di-django1
robots: noindex
# Django Tools
Le nom du projet est `django`, 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
and a home page. The home page should permit to easily jump to the two
apps.
## Elementary Cellular Automata
The Elementary Cellular Automata app should provide an easy way for
users to render any elementary cellular automata (an explanation of
what it is, a textbox to enter the value, a button to generate the
"image"). ASCII (`#` and `.`) or pngs (from pyplot) allowed.
## 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).
While hitting back the URL, the previously pasted markdown should be
rendered as HTML on the body of the page.
## Admin zone
The admin zone should allow to add/edit/remove users and markdown
pastes.
## Bonus
If a logged-in user creates a paste, he can then see the list of its
owned pastes, and edit them.