Commit graph

36 commits

Author SHA1 Message Date
3b407f393d Merge branch 'vis' 2022-07-10 11:16:48 +01:00
75cae77a59 Make it look good 2022-07-10 11:15:48 +01:00
aca86e2e04 Configure base template to use bootstrap 2022-07-10 11:15:19 +01:00
45e89601d2 Install bootstrap5 2022-07-10 11:14:38 +01:00
6393dd5a5e Add PostList view 2022-07-09 15:07:38 +01:00
e071da26dd Add m2m saving 2022-07-09 15:07:20 +01:00
1e2e32e026 Merge branch 'circle'
Fix #13
2022-07-09 14:31:00 +01:00
2cb910cc30 Add circles, views to modify them and ability to add them to posts 2022-07-09 14:30:24 +01:00
ac962034df Use zimports to sort imports 2022-07-09 14:29:41 +01:00
ce230f1101 Add circles app with Circle model 2022-07-08 21:50:39 +01:00
72e80817a5 Fix null=True vs blank=True on string fields
Django documentation suggests no using null=True, but
instead defaulting to the empty string.  It's
necessary of course to allow blank=True so that
users don't have to enter the field
2022-07-08 21:49:42 +01:00
17e41a9e4c Merge branch 'post_create'
Fix #6
2022-07-07 22:02:05 +01:00
4e8af9b0a5 Write a unit test for the post create view 2022-07-07 22:01:50 +01:00
4180203bd1 Add post create view 2022-07-06 22:35:59 +01:00
9a5bedabca Add a function login template
Fix #1
2022-07-06 22:12:03 +01:00
781e633abc Merge branch 'template_hierarchy' 2022-07-06 22:07:24 +01:00
4d07292252 Create a template hierarchy
Fix #12
2022-07-06 22:07:04 +01:00
c962886504 Merge branch 'test_views'
Fix #5
2022-07-06 21:57:01 +01:00
56bea8020b Fully test the post view 2022-07-06 21:56:12 +01:00
30526d9f30 Assert some permissions behaviour for the post view 2022-07-06 21:30:30 +01:00
ca33960c44 Merge branch 'coverage'
Fix #11
2022-07-05 22:29:33 +01:00
57bc21cc34 Add coverage 2022-07-05 22:29:07 +01:00
3db4514f6d Allow commenting on posts 2022-07-05 21:27:56 +01:00
f267d9d2e7 Moar work 2022-07-04 22:42:20 +01:00
343e8b8834 Make img name unpredictable 2022-07-04 22:27:21 +01:00
641ace957b Flesh out detail view for Posts 2022-07-04 22:19:21 +01:00
32636b15b6 Set up models, urls, admin for basic interface
Models for Posts, Comments, Collections, with admin
pages and a DetailView for Posts
2022-07-04 22:08:57 +01:00
dc384710b2 Add collection model 2022-07-04 21:47:59 +01:00
8ba167823d Make post titles and descriptions optional 2022-07-04 21:31:33 +01:00
da7075a904 Write some test for the Posts model 2022-07-03 22:37:45 +01:00
0945dc5b6b Fix some MEDIA settings 2022-07-03 22:20:39 +01:00
a983121a55 Add Post model 2022-07-03 22:20:22 +01:00
3eae827ed5 Add SECRET_KEY parsing to production.py
Prevents forgetting about this later!
2022-07-03 22:07:53 +01:00
fc44f550d2 Move some config around 2022-07-03 22:05:37 +01:00
582eb9e1e0 Start django project 2022-07-03 22:02:38 +01:00
bdc7f21b99 Initial commit 2022-07-03 20:04:21 +00:00