Thomas Steen Rasmussen
00af109e2f
add flake8 and isort to pre-commit config, make flake8 and isort happy ( #441 )
...
* add flake8 to pre-commit config, and fixup many things to make flake8 happy
* add isort and sort all imports, add to pre-commit and requirements
2020-02-12 13:10:41 +01:00
Víðir Valberg Guðmundsson
20f380dfd6
Planked code form betterforms. (Aka django 3.0 upgrade) ( #436 )
...
* Bump django from 2.2.8 to 3.0.2 in /src/requirements
Bumps [django](https://github.com/django/django ) from 2.2.8 to 3.0.2.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/2.2.8...3.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Planked code form betterforms.
* Remove betterform from requirements.
* Try with master of django-allauth-2fa.
* Use static templatetag library, staticfiles is gone.
* Use newly released django-allauth-2fa 0.8 instead of git url.
* Django 3.0.3 is out.
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-02-07 18:21:34 +01:00
Víðir Valberg Guðmundsson
8beb90a824
Only make it sticky when there is space.
2019-07-23 21:50:21 +02:00
Víðir Valberg Guðmundsson
ee00ae3ee5
Make info page more "browsable".
2019-07-23 21:43:09 +02:00
Víðir Valberg Guðmundsson
bf2f0c7898
Blackness.
2019-06-16 14:32:24 +02:00
Víðir Valberg Guðmundsson
43f076262b
Fix some outstanding issues with the team controlled info categories functionality.
2018-06-21 09:19:09 +02:00
Víðir Valberg Guðmundsson
635e57b7f9
Merge branch 'master' into feature/team_controlled_info
2018-06-21 08:53:47 +02:00
Víðir Valberg Guðmundsson
4c60415336
Make each model which inherit from CampRelatedModel but doesn not have a direct relation, define a camp_filter. ( #240 )
2018-06-20 22:03:29 +02:00
Thomas Steen Rasmussen
f5be4d68d1
info and shop should use the |trustedcommonmark filter
2018-06-04 08:28:09 +02:00
Thomas Steen Rasmussen
bff5bb292e
add debate as eventtype in bootstrap-devsite, and fix commonmark templatefilter a few places I missed
2018-06-03 16:29:28 +02:00
Víðir Valberg Guðmundsson
5b77cb5aa2
Implement a catchall for the remaining infocategories.
2018-05-20 22:27:41 +02:00
Víðir Valberg Guðmundsson
decfa29659
Remove obsolete check.
2018-05-20 22:25:19 +02:00
Víðir Valberg Guðmundsson
a8df8f0cee
Make team a mandatory field on infocategory.g
2018-05-20 22:11:39 +02:00
Víðir Valberg Guðmundsson
317a1c0b1c
Remove camp from infocategory and derive it from team.
2018-05-20 22:10:38 +02:00
Víðir Valberg Guðmundsson
d3273eb1bb
Small fix.
2018-05-20 18:07:42 +02:00
Víðir Valberg Guðmundsson
31f74fa010
Fix stupid mistakes.
2018-05-20 16:43:53 +02:00
Víðir Valberg Guðmundsson
63e34ce387
Food team deals with food.
2018-05-08 17:10:11 +02:00
Víðir Valberg Guðmundsson
650de5c067
Adding "add_teams_to_categories" migration.
2018-05-08 17:06:14 +02:00
Víðir Valberg Guðmundsson
9d5a9daab4
Add what team is responsible for a category.
2018-05-06 13:24:20 +02:00
Víðir Valberg Guðmundsson
e662064319
Add edit button to info items on the info page.
2018-05-06 13:22:04 +02:00
Víðir Valberg Guðmundsson
92e394cce9
Add creation of info items.
2018-05-05 00:38:32 +02:00
Víðir Valberg Guðmundsson
b668ac0694
Reorganize views for better clarity. Add editing capabilities for Info Items.
2018-05-05 00:19:24 +02:00
Víðir Valberg Guðmundsson
735f17b1f1
Add an FK to teams.Team on info.InfoCategory, version control it using django-reversion.
2018-05-04 23:40:43 +02:00
Stephan Telling
d20a964793
cleanup in info/
2018-03-04 16:00:30 +01:00
Thomas Steen Rasmussen
81abf8db36
remove unneeded imports from info app
2018-03-04 14:35:27 +01:00
Víðir Valberg Guðmundsson
cb0c4d8588
Fix admin for Info.
2018-02-11 17:55:15 +01:00
Stephan Telling
656536974b
fix error with CampRelatedModel
2017-03-08 00:24:14 +01:00
Stephan Telling
d7435ffa96
update camp with read only field, fix #96
2017-03-07 21:44:30 +01:00
Thomas Steen Rasmussen
e8dea3eccc
add migration for ordering change in an earlier commit
2017-02-18 11:50:55 +01:00
Thomas Steen Rasmussen
924141d922
show info headline
2017-02-16 22:52:40 +01:00
Thomas Steen Rasmussen
13cec1e911
render commonmark
2017-02-16 22:12:44 +01:00
Thomas Steen Rasmussen
464976c482
flip the sorting
2017-02-16 22:05:10 +01:00
Thomas Steen Rasmussen
3715d00701
Revert "remove __init__.py files"
...
This reverts commit c3a4994d35
.
2017-02-02 00:18:23 +01:00
Thomas Steen Rasmussen
c3a4994d35
remove __init__.py files
2017-02-01 21:41:00 +01:00
Thomas Steen Rasmussen
3a7b952090
first pass with 2to3
2017-01-30 12:16:07 +01:00
Thomas Steen Rasmussen
0ff37bbca5
move code to src/ folder
2017-01-30 12:06:49 +01:00