lots of changes
Added a creation_time field to thinks - using the modified time on the filesystem wasn't reliable. Styled the login page. The index shows the most recent thinks at the top. Allow authentication by an Authorization header, with a token specified in settings.py. Lots of improvements to the editor, including showing the log, and a form to install Elm packages when editing .elm files. The Makefile for a project is automatically run each time a file is saved.
This commit is contained in:
parent
3d5c0c6c73
commit
500eb38774
13 changed files with 1474 additions and 396 deletions
|
@ -68,7 +68,7 @@ class SaveFileForm(forms.ModelForm):
|
|||
path.parent.mkdir(exist_ok=True, parents=True)
|
||||
|
||||
with open(path, 'w') as f:
|
||||
f.write(content)
|
||||
f.write(content.replace('\r\n','\n'))
|
||||
|
||||
return super().save(commit)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue