From 9e82425c198576dee2d252580984b1dc076ea5ef Mon Sep 17 00:00:00 2001 From: tncrdk Date: Tue, 10 Oct 2023 15:14:15 +0200 Subject: [PATCH] update: updated black-formatter --- Pipfile | 2 +- Pipfile.lock | 26 +++---------------- nablapps/accounts/migrations/0001_initial.py | 1 - .../0001_squashed_0009_auto_20171004_2140.py | 1 - .../migrations/0002_auto_20181122_1957.py | 1 - .../migrations/0002_auto_20181122_2012.py | 1 - .../migrations/0002_registrationrequest.py | 1 - .../migrations/0003_auto_20150925_2315.py | 1 - .../migrations/0003_merge_20190123_2039.py | 1 - .../migrations/0004_auto_20150927_1840.py | 1 - .../migrations/0004_auto_20190204_2011.py | 1 - .../migrations/0005_auto_20200827_1523.py | 1 - .../accounts/migrations/0005_likepress.py | 1 - .../migrations/0006_auto_20160202_2330.py | 1 - .../migrations/0006_auto_20210413_1346.py | 1 - .../0007_move_to_new_likepress_app.py | 1 - .../migrations/0007_nablauser_darkmode.py | 1 - .../migrations/0008_nablagroup_logo.py | 1 - .../migrations/0009_auto_20171004_2140.py | 1 - nablapps/accounts/tests/test_birthday.py | 1 - nablapps/album/migrations/0001_initial.py | 1 - .../migrations/0002_auto_20190130_1936.py | 1 - .../0003_albumimage_is_display_image.py | 1 - .../0004_remove_album_view_counter.py | 1 - .../migrations/0005_auto_20200630_2211.py | 1 - .../migrations/0006_auto_20220702_1315.py | 1 - .../apply_committee/migrations/0001_inital.py | 1 - nablapps/blog/migrations/0001_initial.py | 1 - ...002_20170920_1255_remove_allow_comments.py | 1 - .../0003_remove_blogpost_view_counter.py | 1 - nablapps/com/migrations/0001_initial.py | 1 - nablapps/com/migrations/0002_committee.py | 1 - .../com/migrations/0003_auto_20151007_1436.py | 1 - .../0004_compage_is_interest_group.py | 1 - .../com/migrations/0005_auto_20191003_1327.py | 1 - .../com/migrations/0006_auto_20191003_1624.py | 1 - .../com/migrations/0007_auto_20191003_1658.py | 1 - .../com/migrations/0008_auto_20201111_2046.py | 1 - nablapps/events/migrations/0001_initial.py | 1 - .../0001_squashed_0007_auto_20190110_1749.py | 1 - .../migrations/0002_auto_20171006_1228.py | 1 - .../migrations/0002_auto_20190205_1250.py | 1 - ...003_add_fields_from_bedpres_and_penalty.py | 1 - .../migrations/0003_move_fields_from_news.py | 1 - ..._move_bedpres_objects_to_event_20191003.py | 1 - .../0004_news_ptr_to_id_20171006_1559.py | 1 - .../0005_20191018_modify_open_for.py | 1 - .../migrations/0005_auto_20171017_0110.py | 1 - .../migrations/0006_auto_20200629_1958.py | 1 - .../0006_remove_event_view_counter.py | 1 - .../migrations/0007_auto_20190110_1749.py | 1 - ...entregistration_attendance_registration.py | 1 - .../migrations/0008_event_has_started.py | 1 - .../0009_remove_event_has_started.py | 1 - .../migrations/0010_event_is_started.py | 1 - .../migrations/0011_auto_20200909_1636.py | 1 - .../migrations/0012_auto_20201021_2154.py | 1 - .../migrations/0013_auto_20210909_2046.py | 1 - .../migrations/0014_auto_20220702_1315.py | 1 - nablapps/events/tests/test_registration.py | 1 - nablapps/events/views.py | 2 -- nablapps/exchange/migrations/0001_initial.py | 1 - .../migrations/0002_auto_20161213_1451.py | 1 - .../migrations/0003_exchangenewsarticle.py | 1 - .../migrations/0004_auto_20201021_2154.py | 1 - .../exchange/migrations/0004_university_by.py | 1 - .../migrations/0005_auto_20201021_2111.py | 1 - .../migrations/0006_merge_20201023_1226.py | 1 - .../migrations/0007_auto_20201104_1946.py | 1 - .../migrations/0008_auto_20201104_2016.py | 1 - .../migrations/0009_auto_20201104_2105.py | 1 - .../0010_exchange_optional_email.py | 1 - nablapps/image/migrations/0001_initial.py | 1 - ...0001_squashed_0022_adventdoor_user_test.py | 1 - .../migrations/0002_auto_20171106_2322.py | 1 - .../0003_adventcalendar_requires_login.py | 1 - .../interactive/migrations/0004_codetask.py | 1 - .../migrations/0005_codegolfresult.py | 1 - .../migrations/0006_auto_20181122_1957.py | 1 - .../migrations/0007_codegolf_new.py | 1 - .../migrations/0008_auto_20190104_0304.py | 1 - .../migrations/0009_auto_20190205_1416.py | 1 - .../migrations/0010_auto_20190205_1436.py | 1 - .../0011_update_quizreply_scores.py | 1 - .../0012_remove_empty_quizreplies.py | 1 - .../migrations/0013_colorchoice.py | 1 - .../migrations/0013_santa_santacount.py | 1 - .../migrations/0014_merge_20191201_1159.py | 1 - nablapps/interactive/migrations/0015_place.py | 1 - .../migrations/0016_placegrid_uncertainty.py | 1 - .../migrations/0017_quiz_spoiler_text.py | 1 - .../migrations/0018_auto_20210909_2046.py | 1 - nablapps/interactive/migrations/0019_game.py | 1 - .../migrations/0020_result_submitted_at.py | 1 - .../migrations/0021_codegolf_result_unique.py | 1 - .../migrations/0022_auto_20220324_1730.py | 1 - .../migrations/0023_result_python_version.py | 1 - .../migrations/0024_result_length.py | 1 - .../migrations/0025_auto_20220403_2011.py | 1 - .../migrations/0026_auto_20220702_1315.py | 1 - nablapps/interactive/models/advent.py | 2 -- nablapps/interactive/models/place.py | 1 - nablapps/interactive/models/user_test.py | 3 --- nablapps/interactive/views/advent.py | 1 - .../0001_squashed_0008_auto_20171017_0111.py | 1 - .../0001_squashed_0012_auto_20151106_1921.py | 1 - .../migrations/0002_auto_20170920_1310.py | 1 - .../migrations/0003_auto_20170920_1429.py | 1 - .../migrations/0004_auto_20171006_1218.py | 1 - .../migrations/0005_move_fields_from_news.py | 1 - .../migrations/0006_auto_20171006_1559.py | 1 - .../migrations/0007_auto_20171006_1713.py | 1 - .../migrations/0008_auto_20171017_0111.py | 1 - .../migrations/0009_company_ignorecrop.py | 1 - .../migrations/0010_auto_20201021_2154.py | 1 - ...1_squashed_0003_remove_subclassing_news.py | 1 - nablapps/nabladet/migrations/0001_initial.py | 1 - .../migrations/0002_nablad_thumbnail.py | 1 - .../migrations/0003_nablad_is_public.py | 1 - .../migrations/0004_auto_20171006_0011.py | 1 - .../migrations/0005_move_fields_from_news.py | 1 - .../0006_news_ptr_to_id_20171006_1559.py | 1 - .../migrations/0007_auto_20171017_0140.py | 1 - .../0008_remove_nablad_view_counter.py | 1 - .../migrations/0009_nablad_filename.py | 1 - .../migrations/0010_nablad_file_nsfw.py | 1 - .../migrations/0011_protect_nablad.py | 1 - .../migrations/0012_auto_20201021_2154.py | 1 - .../nablaforum/migrations/0001_initial.py | 1 - .../migrations/0002_add_created_datetime.py | 1 - .../migrations/0003_auto_20191025_2140.py | 1 - .../migrations/0004_thread_created.py | 1 - .../migrations/0005_auto_20200104_1336.py | 1 - .../migrations/0006_auto_20200114_1954.py | 1 - .../migrations/0007_auto_20200517_0659.py | 1 - nablapps/nablashop/generate_test_objects.py | 1 - nablapps/nablashop/migrations/0001_initial.py | 1 - .../migrations/0002_auto_20201021_2154.py | 1 - .../migrations/0003_auto_20211007_1933.py | 1 - .../migrations/0004_auto_20220702_1315.py | 1 - nablapps/nablashop/views.py | 1 - nablapps/news/migrations/0001_initial.py | 1 - .../0002_remove_news_allow_comments.py | 1 - .../migrations/0003_auto_20171005_2335.py | 1 - .../migrations/0004_auto_20171006_0006.py | 1 - .../migrations/0005_auto_20171006_0216.py | 1 - nablapps/news/migrations/0006_newsarticle.py | 1 - ...07_move_fields_from_news_to_newsarticle.py | 1 - .../news/migrations/0008_news_object_id.py | 1 - .../0009_set_object_id_from_news_id.py | 1 - .../migrations/0010_auto_20171006_2201.py | 1 - .../migrations/0011_auto_20171017_0035.py | 1 - .../migrations/0012_auto_20171017_0114.py | 1 - .../migrations/0013_auto_20171017_0144.py | 1 - .../0014_remove_newsarticle_view_counter.py | 1 - .../migrations/0015_auto_20180922_1915.py | 1 - .../migrations/0016_auto_20190205_1300.py | 1 - .../migrations/0017_auto_20201021_2154.py | 1 - .../officeBeer/migrations/0001_initial.py | 1 - .../migrations/0002_depositrequest_created.py | 1 - .../migrations/0003_description_fieldtype.py | 1 - .../officeCalendar/migrations/0001_initial.py | 1 - .../migrations/0002_auto_20190325_2028.py | 1 - .../migrations/0003_auto_20190330_1405.py | 1 - ...0001_squashed_0014_podcast_content_type.py | 1 - .../migrations/0002_auto_20170920_1318.py | 1 - .../migrations/0003_auto_20171026_1258.py | 1 - .../migrations/0004_auto_20190205_1402.py | 1 - .../migrations/0005_auto_20190301_1502.py | 1 - .../migrations/0006_auto_20190319_2047.py | 1 - .../migrations/0007_podcast_short_title.py | 1 - .../migrations/0008_auto_20201111_2046.py | 1 - nablapps/podcast/models.py | 1 - nablapps/poll/migrations/0001_initial.py | 1 - ..._squashed_0008_remove_poll_content_type.py | 1 - .../migrations/0002_auto_20150401_1806.py | 1 - nablapps/poll/migrations/0002_poll_answer.py | 1 - .../migrations/0003_auto_20150925_2315.py | 1 - .../poll/migrations/0003_poll_randomise.py | 1 - .../poll/migrations/0004_poll_is_user_poll.py | 1 - .../migrations/0005_auto_20150926_0938.py | 1 - .../migrations/0006_auto_20150926_1409.py | 1 - .../poll/migrations/0007_poll_content_type.py | 1 - .../0008_remove_poll_content_type.py | 1 - nablapps/qrTickets/migrations/0001_initial.py | 1 - .../migrations/0002_qrevent_nabla_event.py | 1 - nablapps/vote/migrations/0001_initial.py | 1 - .../migrations/0002_auto_20210203_1912.py | 1 - .../migrations/0003_auto_20210210_2135.py | 1 - .../0004_votingevent_eligible_group.py | 1 - .../migrations/0005_auto_20210927_0206.py | 1 - .../migrations/0006_auto_20220210_2046.py | 1 - .../migrations/0007_alternative_is_winner.py | 1 - .../0007_voting_is_preference_vote.py | 1 - .../migrations/0008_merge_20220211_0058.py | 1 - .../0009_votingevent_polling_period.py | 1 - .../migrations/0010_auto_20220215_1109.py | 1 - nablapps/vote/models.py | 2 +- 198 files changed, 5 insertions(+), 224 deletions(-) diff --git a/Pipfile b/Pipfile index d599baaf5..6e856c1c9 100644 --- a/Pipfile +++ b/Pipfile @@ -9,7 +9,7 @@ django = "==3.2.*" django-braces = "*" # Extra mixinclasses for models and views django-contrib-comments = "*" django-filebrowser-no-grappelli = "*" # Filebrowser for mediafiles. -django-haystack = "3.0b1" # Search functionality for django models. See whoosh as well +django-haystack = "==3.0b1" # Search functionality for django models. See whoosh as well django-hitcount = "*" django-image-cropping = "==1.5" django-markdown-deux = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 29a7eec67..052c4afef 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "2c727269a04972054b8c4a4f8f71b5eb937b4008d1cd0d76b4f04364dfa432cf" + "sha256": "8147de27d3873fb743bf69d7875ad388e4dafc5975be218792dc26e530b24109" }, "pipfile-spec": 6, "requires": { @@ -54,7 +54,6 @@ "sha256:c5e7b668025a6e06cad9ba6d4de1fd1a21212acebb51ea34abb400c6e4d33430" ], "index": "pypi", - "markers": "python_version >= '3.6'", "version": "==3.2.22" }, "django-appconf": { @@ -71,7 +70,6 @@ "sha256:6c895cdda58de1360bf82cc9e31014ad158dad680198ac8366ca33c19efa972f" ], "index": "pypi", - "markers": "python_version >= '3.8'", "version": "==23.2" }, "django-braces": { @@ -88,7 +86,6 @@ "sha256:73399fb8f56f565e7519b57adbd7c585623db2cdc8c75666f56918d3eecf7906" ], "index": "pypi", - "markers": "python_version >= '3.8'", "version": "==6.7.0" }, "django-classy-tags": { @@ -144,8 +141,7 @@ "sha256:81dbcabb6421c5a1e88fac9d96f336d6109a23dcb8fa6c678329d3688c9973c4" ], "index": "pypi", - "markers": "python_version >= '3.5'", - "version": "==1.5.0" + "version": "==1.5" }, "django-js-asset": { "hashes": [ @@ -176,7 +172,6 @@ "sha256:87be916dece0dde2da68ef7c5a253cef76e905f264dd1e4d2c8cb8ba55919bea" ], "index": "pypi", - "markers": "python_version >= '3.8'", "version": "==0.7.0" }, "django-node-assets": { @@ -201,7 +196,6 @@ "sha256:f47dee4636b5e44cb46915e14747f043be856f21e5e635a94c48939ed18c783f" ], "index": "pypi", - "markers": "python_version >= '3.7'", "version": "==3.1.1" }, "django-sekizai": { @@ -210,7 +204,6 @@ "sha256:aa12e66ba0335fbe726b7d74cf4e8716b89a0be99a1304a9b9e8b191229e2e4a" ], "index": "pypi", - "markers": "python_version >= '3.8'", "version": "==4.1.0" }, "djangorestframework": { @@ -219,7 +212,6 @@ "sha256:eb63f58c9f218e1a7d064d17a70751f528ed4e1d35547fdade9aaf4cd103fd08" ], "index": "pypi", - "markers": "python_version >= '3.6'", "version": "==3.14.0" }, "easy-thumbnails": { @@ -228,7 +220,6 @@ "sha256:97f5a5278d8b6c1f5b1b7473f3737d29b18f5c1159cbdf0ab28674fdac2f8c87" ], "index": "pypi", - "markers": "python_version >= '3.6'", "version": "==2.8.5" }, "gunicorn": { @@ -237,7 +228,6 @@ "sha256:88ec8bff1d634f98e61b9f65bc4bf3cd918a90806c6f5c48bc5603849ec81033" ], "index": "pypi", - "markers": "python_version >= '3.5'", "version": "==21.2.0" }, "markdown": { @@ -246,7 +236,6 @@ "sha256:c467cd6233885534bf0fe96e62e3cf46cfc1605112356c4f9981512b8174de59" ], "index": "pypi", - "markers": "python_version >= '3.5'", "version": "==3.2.2" }, "markdown2": { @@ -451,7 +440,6 @@ "sha256:8969ec6d763c856f7073c4c64662882675702efcb114b4bcbb955aea3a069fa7" ], "index": "pypi", - "markers": "python_version >= '3.7'", "version": "==1.1.0" }, "pytz": { @@ -539,7 +527,7 @@ "sha256:c9a6efd354c178b3a08c782cc461c9d5e15f9198b20806d16ea86728135e2b96" ], "index": "pypi", - "version": "==0.8.1" + "version": "==0.8.1 " } }, "develop": { @@ -557,7 +545,6 @@ "sha256:bdfc739baa03b880c2d15d0431b31c658ffc348e907fe197e54e0389dd59e11e" ], "index": "pypi", - "markers": "python_version >= '3.7'", "version": "==1.7.5" }, "black": { @@ -586,7 +573,6 @@ "sha256:d6bc09188020c9ac2555a498949401ab35bb6bf76d4e0f8ee251694664df6301" ], "index": "pypi", - "markers": "python_version >= '3.8'", "version": "==23.9.1" }, "cfgv": { @@ -626,7 +612,6 @@ "sha256:bc76d97d1a65bbd9842a6d722882098eb549ec8ee1081f9fb2e8ff29f0c300f1" ], "index": "pypi", - "markers": "python_version >= '3.7'", "version": "==3.3.0" }, "faker": { @@ -635,7 +620,6 @@ "sha256:d86cb3150626bd642c6abd8a64107ddb0b154500252f46a56efe527a50594866" ], "index": "pypi", - "markers": "python_version >= '3.8'", "version": "==19.8.0" }, "filelock": { @@ -652,7 +636,6 @@ "sha256:bf8fd333346d844f616e8d47905ef3a3384edae6b4e9beb0c5101e25e3110907" ], "index": "pypi", - "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'", "version": "==3.9.2" }, "gitdb": { @@ -685,7 +668,6 @@ "sha256:e17d6e2b81095c9db0a03a8025a957f334d6ea30b26f9ec70805411e5c7c81f2" ], "index": "pypi", - "markers": "python_version < '4.0' and python_full_version >= '3.6.1'", "version": "==5.9.3" }, "lazy-object-proxy": { @@ -868,7 +850,6 @@ "sha256:96d529a951f8b677f730a7212442027e8ba53f9b04d217c4c67dc56c393ad945" ], "index": "pypi", - "markers": "python_version >= '3.8'", "version": "==3.4.0" }, "pycodestyle": { @@ -901,7 +882,6 @@ "sha256:f4fcac7ae74cfe36bc8451e931d8438e4a476c20314b1101c458ad0f05191fad" ], "index": "pypi", - "markers": "python_full_version >= '3.7.2'", "version": "==2.17.7" }, "pylint-django": { diff --git a/nablapps/accounts/migrations/0001_initial.py b/nablapps/accounts/migrations/0001_initial.py index df658089e..97606eb6b 100644 --- a/nablapps/accounts/migrations/0001_initial.py +++ b/nablapps/accounts/migrations/0001_initial.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ ("auth", "0006_require_contenttypes_0002"), ] diff --git a/nablapps/accounts/migrations/0001_squashed_0009_auto_20171004_2140.py b/nablapps/accounts/migrations/0001_squashed_0009_auto_20171004_2140.py index 9523b32b7..6f0def516 100644 --- a/nablapps/accounts/migrations/0001_squashed_0009_auto_20171004_2140.py +++ b/nablapps/accounts/migrations/0001_squashed_0009_auto_20171004_2140.py @@ -18,7 +18,6 @@ class Migration(migrations.Migration): - replaces = [ ("accounts", "0001_initial"), ("accounts", "0002_registrationrequest"), diff --git a/nablapps/accounts/migrations/0002_auto_20181122_1957.py b/nablapps/accounts/migrations/0002_auto_20181122_1957.py index 1772b86da..c3999bca4 100644 --- a/nablapps/accounts/migrations/0002_auto_20181122_1957.py +++ b/nablapps/accounts/migrations/0002_auto_20181122_1957.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0001_squashed_0009_auto_20171004_2140"), ] diff --git a/nablapps/accounts/migrations/0002_auto_20181122_2012.py b/nablapps/accounts/migrations/0002_auto_20181122_2012.py index b8786044e..da2e2144f 100644 --- a/nablapps/accounts/migrations/0002_auto_20181122_2012.py +++ b/nablapps/accounts/migrations/0002_auto_20181122_2012.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0001_squashed_0009_auto_20171004_2140"), ] diff --git a/nablapps/accounts/migrations/0002_registrationrequest.py b/nablapps/accounts/migrations/0002_registrationrequest.py index 252fefd59..63d35f00a 100644 --- a/nablapps/accounts/migrations/0002_registrationrequest.py +++ b/nablapps/accounts/migrations/0002_registrationrequest.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0001_initial"), ] diff --git a/nablapps/accounts/migrations/0003_auto_20150925_2315.py b/nablapps/accounts/migrations/0003_auto_20150925_2315.py index 1823b5bbf..ed5f0b852 100644 --- a/nablapps/accounts/migrations/0003_auto_20150925_2315.py +++ b/nablapps/accounts/migrations/0003_auto_20150925_2315.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0002_registrationrequest"), ] diff --git a/nablapps/accounts/migrations/0003_merge_20190123_2039.py b/nablapps/accounts/migrations/0003_merge_20190123_2039.py index 42e4e22c2..36eeaa1fc 100644 --- a/nablapps/accounts/migrations/0003_merge_20190123_2039.py +++ b/nablapps/accounts/migrations/0003_merge_20190123_2039.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0002_auto_20181122_2012"), ("accounts", "0002_auto_20181122_1957"), diff --git a/nablapps/accounts/migrations/0004_auto_20150927_1840.py b/nablapps/accounts/migrations/0004_auto_20150927_1840.py index 10122720e..43b64e92a 100644 --- a/nablapps/accounts/migrations/0004_auto_20150927_1840.py +++ b/nablapps/accounts/migrations/0004_auto_20150927_1840.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0003_auto_20150925_2315"), ] diff --git a/nablapps/accounts/migrations/0004_auto_20190204_2011.py b/nablapps/accounts/migrations/0004_auto_20190204_2011.py index 2085be67c..9c8b54fe7 100644 --- a/nablapps/accounts/migrations/0004_auto_20190204_2011.py +++ b/nablapps/accounts/migrations/0004_auto_20190204_2011.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0003_merge_20190123_2039"), ] diff --git a/nablapps/accounts/migrations/0005_auto_20200827_1523.py b/nablapps/accounts/migrations/0005_auto_20200827_1523.py index 604014891..205e505ef 100644 --- a/nablapps/accounts/migrations/0005_auto_20200827_1523.py +++ b/nablapps/accounts/migrations/0005_auto_20200827_1523.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0004_auto_20190204_2011"), ] diff --git a/nablapps/accounts/migrations/0005_likepress.py b/nablapps/accounts/migrations/0005_likepress.py index 8e5eb7c70..57b9da7fc 100644 --- a/nablapps/accounts/migrations/0005_likepress.py +++ b/nablapps/accounts/migrations/0005_likepress.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0004_auto_20150927_1840"), ] diff --git a/nablapps/accounts/migrations/0006_auto_20160202_2330.py b/nablapps/accounts/migrations/0006_auto_20160202_2330.py index 2da2fe4fd..1827861ae 100644 --- a/nablapps/accounts/migrations/0006_auto_20160202_2330.py +++ b/nablapps/accounts/migrations/0006_auto_20160202_2330.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0005_likepress"), ] diff --git a/nablapps/accounts/migrations/0006_auto_20210413_1346.py b/nablapps/accounts/migrations/0006_auto_20210413_1346.py index c41d3ae16..f6a4d12ba 100644 --- a/nablapps/accounts/migrations/0006_auto_20210413_1346.py +++ b/nablapps/accounts/migrations/0006_auto_20210413_1346.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0005_auto_20200827_1523"), ] diff --git a/nablapps/accounts/migrations/0007_move_to_new_likepress_app.py b/nablapps/accounts/migrations/0007_move_to_new_likepress_app.py index a8deccd61..076527bb6 100644 --- a/nablapps/accounts/migrations/0007_move_to_new_likepress_app.py +++ b/nablapps/accounts/migrations/0007_move_to_new_likepress_app.py @@ -18,7 +18,6 @@ def copy_like_presses(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("contenttypes", "0002_remove_content_type_name"), ("accounts", "0006_auto_20160202_2330"), diff --git a/nablapps/accounts/migrations/0007_nablauser_darkmode.py b/nablapps/accounts/migrations/0007_nablauser_darkmode.py index 3b3f3cbd5..ce35913aa 100644 --- a/nablapps/accounts/migrations/0007_nablauser_darkmode.py +++ b/nablapps/accounts/migrations/0007_nablauser_darkmode.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0006_auto_20210413_1346"), ] diff --git a/nablapps/accounts/migrations/0008_nablagroup_logo.py b/nablapps/accounts/migrations/0008_nablagroup_logo.py index ff8631645..43158b9c9 100644 --- a/nablapps/accounts/migrations/0008_nablagroup_logo.py +++ b/nablapps/accounts/migrations/0008_nablagroup_logo.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0007_move_to_new_likepress_app"), ] diff --git a/nablapps/accounts/migrations/0009_auto_20171004_2140.py b/nablapps/accounts/migrations/0009_auto_20171004_2140.py index 3074d59d0..fd5fc21c4 100644 --- a/nablapps/accounts/migrations/0009_auto_20171004_2140.py +++ b/nablapps/accounts/migrations/0009_auto_20171004_2140.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0008_nablagroup_logo"), ] diff --git a/nablapps/accounts/tests/test_birthday.py b/nablapps/accounts/tests/test_birthday.py index 0fe0c7a04..8f181bbc9 100644 --- a/nablapps/accounts/tests/test_birthday.py +++ b/nablapps/accounts/tests/test_birthday.py @@ -24,7 +24,6 @@ def set_birthday_today(self, user_list): user.save() def test_view(self): - c = get_client_with_logged_in_user() response = c.get(reverse("users_birthday")) diff --git a/nablapps/album/migrations/0001_initial.py b/nablapps/album/migrations/0001_initial.py index 4b74a82f7..9a60cb140 100644 --- a/nablapps/album/migrations/0001_initial.py +++ b/nablapps/album/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] diff --git a/nablapps/album/migrations/0002_auto_20190130_1936.py b/nablapps/album/migrations/0002_auto_20190130_1936.py index 91b49ac81..d38eb1acf 100644 --- a/nablapps/album/migrations/0002_auto_20190130_1936.py +++ b/nablapps/album/migrations/0002_auto_20190130_1936.py @@ -15,7 +15,6 @@ def rebuild_album_tree(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("album", "0001_initial"), ] diff --git a/nablapps/album/migrations/0003_albumimage_is_display_image.py b/nablapps/album/migrations/0003_albumimage_is_display_image.py index 6993762ea..6e9c014a3 100644 --- a/nablapps/album/migrations/0003_albumimage_is_display_image.py +++ b/nablapps/album/migrations/0003_albumimage_is_display_image.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("album", "0002_auto_20190130_1936"), ] diff --git a/nablapps/album/migrations/0004_remove_album_view_counter.py b/nablapps/album/migrations/0004_remove_album_view_counter.py index 5849b2e9d..95a889d40 100644 --- a/nablapps/album/migrations/0004_remove_album_view_counter.py +++ b/nablapps/album/migrations/0004_remove_album_view_counter.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("album", "0003_albumimage_is_display_image"), ] diff --git a/nablapps/album/migrations/0005_auto_20200630_2211.py b/nablapps/album/migrations/0005_auto_20200630_2211.py index 539267d41..6882ba403 100644 --- a/nablapps/album/migrations/0005_auto_20200630_2211.py +++ b/nablapps/album/migrations/0005_auto_20200630_2211.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("album", "0004_remove_album_view_counter"), ] diff --git a/nablapps/album/migrations/0006_auto_20220702_1315.py b/nablapps/album/migrations/0006_auto_20220702_1315.py index f47670fe1..3a7c69108 100644 --- a/nablapps/album/migrations/0006_auto_20220702_1315.py +++ b/nablapps/album/migrations/0006_auto_20220702_1315.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("album", "0005_auto_20200630_2211"), ] diff --git a/nablapps/apply_committee/migrations/0001_inital.py b/nablapps/apply_committee/migrations/0001_inital.py index 087d82c27..7e719cc3c 100644 --- a/nablapps/apply_committee/migrations/0001_inital.py +++ b/nablapps/apply_committee/migrations/0001_inital.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - replaces = [ ("apply_committee", "0001_initial"), ("apply_committee", "0002_auto_20200125_1306"), diff --git a/nablapps/blog/migrations/0001_initial.py b/nablapps/blog/migrations/0001_initial.py index e075c1382..182fa8d29 100644 --- a/nablapps/blog/migrations/0001_initial.py +++ b/nablapps/blog/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] diff --git a/nablapps/blog/migrations/0002_20170920_1255_remove_allow_comments.py b/nablapps/blog/migrations/0002_20170920_1255_remove_allow_comments.py index 15e761727..56057b8ca 100644 --- a/nablapps/blog/migrations/0002_20170920_1255_remove_allow_comments.py +++ b/nablapps/blog/migrations/0002_20170920_1255_remove_allow_comments.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("blog", "0001_initial"), ] diff --git a/nablapps/blog/migrations/0003_remove_blogpost_view_counter.py b/nablapps/blog/migrations/0003_remove_blogpost_view_counter.py index e289da632..645c82da6 100644 --- a/nablapps/blog/migrations/0003_remove_blogpost_view_counter.py +++ b/nablapps/blog/migrations/0003_remove_blogpost_view_counter.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("blog", "0002_20170920_1255_remove_allow_comments"), ] diff --git a/nablapps/com/migrations/0001_initial.py b/nablapps/com/migrations/0001_initial.py index 913a66e69..665959014 100644 --- a/nablapps/com/migrations/0001_initial.py +++ b/nablapps/com/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("auth", "0001_initial"), migrations.swappable_dependency(settings.AUTH_USER_MODEL), diff --git a/nablapps/com/migrations/0002_committee.py b/nablapps/com/migrations/0002_committee.py index 1a6ff138b..5a1ba65bb 100644 --- a/nablapps/com/migrations/0002_committee.py +++ b/nablapps/com/migrations/0002_committee.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("auth", "0006_require_contenttypes_0002"), migrations.swappable_dependency(settings.AUTH_USER_MODEL), diff --git a/nablapps/com/migrations/0003_auto_20151007_1436.py b/nablapps/com/migrations/0003_auto_20151007_1436.py index 9eb252fa1..98e2655ad 100644 --- a/nablapps/com/migrations/0003_auto_20151007_1436.py +++ b/nablapps/com/migrations/0003_auto_20151007_1436.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("com", "0002_committee"), ] diff --git a/nablapps/com/migrations/0004_compage_is_interest_group.py b/nablapps/com/migrations/0004_compage_is_interest_group.py index b6fd925b0..84c52d6f4 100644 --- a/nablapps/com/migrations/0004_compage_is_interest_group.py +++ b/nablapps/com/migrations/0004_compage_is_interest_group.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("com", "0003_auto_20151007_1436"), ] diff --git a/nablapps/com/migrations/0005_auto_20191003_1327.py b/nablapps/com/migrations/0005_auto_20191003_1327.py index 1efe54faf..ab96f9742 100644 --- a/nablapps/com/migrations/0005_auto_20191003_1327.py +++ b/nablapps/com/migrations/0005_auto_20191003_1327.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("com", "0004_compage_is_interest_group"), ] diff --git a/nablapps/com/migrations/0006_auto_20191003_1624.py b/nablapps/com/migrations/0006_auto_20191003_1624.py index 912a01d89..15f569599 100644 --- a/nablapps/com/migrations/0006_auto_20191003_1624.py +++ b/nablapps/com/migrations/0006_auto_20191003_1624.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("com", "0005_auto_20191003_1327"), ] diff --git a/nablapps/com/migrations/0007_auto_20191003_1658.py b/nablapps/com/migrations/0007_auto_20191003_1658.py index cc25479a6..9d67898e9 100644 --- a/nablapps/com/migrations/0007_auto_20191003_1658.py +++ b/nablapps/com/migrations/0007_auto_20191003_1658.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("com", "0006_auto_20191003_1624"), ] diff --git a/nablapps/com/migrations/0008_auto_20201111_2046.py b/nablapps/com/migrations/0008_auto_20201111_2046.py index 22c7e045b..3131cc94e 100644 --- a/nablapps/com/migrations/0008_auto_20201111_2046.py +++ b/nablapps/com/migrations/0008_auto_20201111_2046.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("com", "0007_auto_20191003_1658"), ] diff --git a/nablapps/events/migrations/0001_initial.py b/nablapps/events/migrations/0001_initial.py index ce3de81b6..5eb2471a1 100644 --- a/nablapps/events/migrations/0001_initial.py +++ b/nablapps/events/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("news", "0001_initial"), diff --git a/nablapps/events/migrations/0001_squashed_0007_auto_20190110_1749.py b/nablapps/events/migrations/0001_squashed_0007_auto_20190110_1749.py index 3c28b1a45..e60978cb9 100644 --- a/nablapps/events/migrations/0001_squashed_0007_auto_20190110_1749.py +++ b/nablapps/events/migrations/0001_squashed_0007_auto_20190110_1749.py @@ -15,7 +15,6 @@ class Migration(migrations.Migration): - replaces = [ ("events", "0001_initial"), ("events", "0002_auto_20171006_1228"), diff --git a/nablapps/events/migrations/0002_auto_20171006_1228.py b/nablapps/events/migrations/0002_auto_20171006_1228.py index bd89f82e2..a4d77c033 100644 --- a/nablapps/events/migrations/0002_auto_20171006_1228.py +++ b/nablapps/events/migrations/0002_auto_20171006_1228.py @@ -11,7 +11,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("events", "0001_initial"), diff --git a/nablapps/events/migrations/0002_auto_20190205_1250.py b/nablapps/events/migrations/0002_auto_20190205_1250.py index c73d09d66..73e8f25f5 100644 --- a/nablapps/events/migrations/0002_auto_20190205_1250.py +++ b/nablapps/events/migrations/0002_auto_20190205_1250.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0001_squashed_0007_auto_20190110_1749"), ] diff --git a/nablapps/events/migrations/0003_add_fields_from_bedpres_and_penalty.py b/nablapps/events/migrations/0003_add_fields_from_bedpres_and_penalty.py index cc5eb103a..9ddc483b8 100644 --- a/nablapps/events/migrations/0003_add_fields_from_bedpres_and_penalty.py +++ b/nablapps/events/migrations/0003_add_fields_from_bedpres_and_penalty.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("jobs", "0009_company_ignorecrop"), ("events", "0002_auto_20190205_1250"), diff --git a/nablapps/events/migrations/0003_move_fields_from_news.py b/nablapps/events/migrations/0003_move_fields_from_news.py index a6978a2eb..fcb4d960f 100644 --- a/nablapps/events/migrations/0003_move_fields_from_news.py +++ b/nablapps/events/migrations/0003_move_fields_from_news.py @@ -43,7 +43,6 @@ def reverse_func(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("events", "0002_auto_20171006_1228"), ("news", "0005_auto_20171006_0216"), diff --git a/nablapps/events/migrations/0004_move_bedpres_objects_to_event_20191003.py b/nablapps/events/migrations/0004_move_bedpres_objects_to_event_20191003.py index b605281d4..8b0c405d6 100644 --- a/nablapps/events/migrations/0004_move_bedpres_objects_to_event_20191003.py +++ b/nablapps/events/migrations/0004_move_bedpres_objects_to_event_20191003.py @@ -53,7 +53,6 @@ def forwards_func(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("events", "0003_add_fields_from_bedpres_and_penalty"), ] diff --git a/nablapps/events/migrations/0004_news_ptr_to_id_20171006_1559.py b/nablapps/events/migrations/0004_news_ptr_to_id_20171006_1559.py index 421ec1fec..8a9da5ed7 100644 --- a/nablapps/events/migrations/0004_news_ptr_to_id_20171006_1559.py +++ b/nablapps/events/migrations/0004_news_ptr_to_id_20171006_1559.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0003_move_fields_from_news"), ] diff --git a/nablapps/events/migrations/0005_20191018_modify_open_for.py b/nablapps/events/migrations/0005_20191018_modify_open_for.py index 2a745b4ad..450aefeaf 100644 --- a/nablapps/events/migrations/0005_20191018_modify_open_for.py +++ b/nablapps/events/migrations/0005_20191018_modify_open_for.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0004_move_bedpres_objects_to_event_20191003"), ] diff --git a/nablapps/events/migrations/0005_auto_20171017_0110.py b/nablapps/events/migrations/0005_auto_20171017_0110.py index aafd09d2c..efd6970b8 100644 --- a/nablapps/events/migrations/0005_auto_20171017_0110.py +++ b/nablapps/events/migrations/0005_auto_20171017_0110.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0004_news_ptr_to_id_20171006_1559"), ] diff --git a/nablapps/events/migrations/0006_auto_20200629_1958.py b/nablapps/events/migrations/0006_auto_20200629_1958.py index 3ee6a4bd4..a5aa64a68 100644 --- a/nablapps/events/migrations/0006_auto_20200629_1958.py +++ b/nablapps/events/migrations/0006_auto_20200629_1958.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0005_20191018_modify_open_for"), ] diff --git a/nablapps/events/migrations/0006_remove_event_view_counter.py b/nablapps/events/migrations/0006_remove_event_view_counter.py index acff64ecc..ddea72d8b 100644 --- a/nablapps/events/migrations/0006_remove_event_view_counter.py +++ b/nablapps/events/migrations/0006_remove_event_view_counter.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0005_auto_20171017_0110"), ] diff --git a/nablapps/events/migrations/0007_auto_20190110_1749.py b/nablapps/events/migrations/0007_auto_20190110_1749.py index 7dc14aebc..a8a1f5b28 100644 --- a/nablapps/events/migrations/0007_auto_20190110_1749.py +++ b/nablapps/events/migrations/0007_auto_20190110_1749.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("events", "0006_remove_event_view_counter"), diff --git a/nablapps/events/migrations/0007_eventregistration_attendance_registration.py b/nablapps/events/migrations/0007_eventregistration_attendance_registration.py index 0c9a4cad1..358212238 100644 --- a/nablapps/events/migrations/0007_eventregistration_attendance_registration.py +++ b/nablapps/events/migrations/0007_eventregistration_attendance_registration.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0006_auto_20200629_1958"), ] diff --git a/nablapps/events/migrations/0008_event_has_started.py b/nablapps/events/migrations/0008_event_has_started.py index ce033940b..5771e5801 100644 --- a/nablapps/events/migrations/0008_event_has_started.py +++ b/nablapps/events/migrations/0008_event_has_started.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0007_eventregistration_attendance_registration"), ] diff --git a/nablapps/events/migrations/0009_remove_event_has_started.py b/nablapps/events/migrations/0009_remove_event_has_started.py index f4bc4bc39..40f092738 100644 --- a/nablapps/events/migrations/0009_remove_event_has_started.py +++ b/nablapps/events/migrations/0009_remove_event_has_started.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0008_event_has_started"), ] diff --git a/nablapps/events/migrations/0010_event_is_started.py b/nablapps/events/migrations/0010_event_is_started.py index bf2825ffe..ecb209eb9 100644 --- a/nablapps/events/migrations/0010_event_is_started.py +++ b/nablapps/events/migrations/0010_event_is_started.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0009_remove_event_has_started"), ] diff --git a/nablapps/events/migrations/0011_auto_20200909_1636.py b/nablapps/events/migrations/0011_auto_20200909_1636.py index 0de8b82cd..d1d622d2e 100644 --- a/nablapps/events/migrations/0011_auto_20200909_1636.py +++ b/nablapps/events/migrations/0011_auto_20200909_1636.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0010_event_is_started"), ] diff --git a/nablapps/events/migrations/0012_auto_20201021_2154.py b/nablapps/events/migrations/0012_auto_20201021_2154.py index cd7a2fce5..730964059 100644 --- a/nablapps/events/migrations/0012_auto_20201021_2154.py +++ b/nablapps/events/migrations/0012_auto_20201021_2154.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0011_auto_20200909_1636"), ] diff --git a/nablapps/events/migrations/0013_auto_20210909_2046.py b/nablapps/events/migrations/0013_auto_20210909_2046.py index 6e0f4847d..c48c803b2 100644 --- a/nablapps/events/migrations/0013_auto_20210909_2046.py +++ b/nablapps/events/migrations/0013_auto_20210909_2046.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0012_auto_20201021_2154"), ] diff --git a/nablapps/events/migrations/0014_auto_20220702_1315.py b/nablapps/events/migrations/0014_auto_20220702_1315.py index b48ea739e..d3d4dafec 100644 --- a/nablapps/events/migrations/0014_auto_20220702_1315.py +++ b/nablapps/events/migrations/0014_auto_20220702_1315.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0013_auto_20210909_2046"), ] diff --git a/nablapps/events/tests/test_registration.py b/nablapps/events/tests/test_registration.py index b8730a187..737f0150f 100644 --- a/nablapps/events/tests/test_registration.py +++ b/nablapps/events/tests/test_registration.py @@ -26,7 +26,6 @@ def test_non_registered_users_are_not_registered(self): self.assertFalse(self.event.is_registered(user)) def test_register_and_deregister(self): - for user in self.users: self.event.register_user(user) self.assertTrue(self.event.is_registered(user)) diff --git a/nablapps/events/views.py b/nablapps/events/views.py index 70a7e86e0..3f46c4d5b 100644 --- a/nablapps/events/views.py +++ b/nablapps/events/views.py @@ -82,7 +82,6 @@ def register_user(self): self.messages.warning("Ingen brukernavn skrevet inn.") return try: - event = self.get_object() user = User.objects.get(username=username) @@ -113,7 +112,6 @@ def deregister_users(self): for username in user_list: try: - event = self.get_object() user = User.objects.get(username=username) diff --git a/nablapps/exchange/migrations/0001_initial.py b/nablapps/exchange/migrations/0001_initial.py index 73aec4706..3afaac831 100644 --- a/nablapps/exchange/migrations/0001_initial.py +++ b/nablapps/exchange/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] diff --git a/nablapps/exchange/migrations/0002_auto_20161213_1451.py b/nablapps/exchange/migrations/0002_auto_20161213_1451.py index 7ce047244..181db84d6 100644 --- a/nablapps/exchange/migrations/0002_auto_20161213_1451.py +++ b/nablapps/exchange/migrations/0002_auto_20161213_1451.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("exchange", "0001_initial"), ] diff --git a/nablapps/exchange/migrations/0003_exchangenewsarticle.py b/nablapps/exchange/migrations/0003_exchangenewsarticle.py index 0cf1bebe8..99601f42c 100644 --- a/nablapps/exchange/migrations/0003_exchangenewsarticle.py +++ b/nablapps/exchange/migrations/0003_exchangenewsarticle.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("exchange", "0002_auto_20161213_1451"), diff --git a/nablapps/exchange/migrations/0004_auto_20201021_2154.py b/nablapps/exchange/migrations/0004_auto_20201021_2154.py index 6d1516512..ca67c2634 100644 --- a/nablapps/exchange/migrations/0004_auto_20201021_2154.py +++ b/nablapps/exchange/migrations/0004_auto_20201021_2154.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("exchange", "0003_exchangenewsarticle"), ] diff --git a/nablapps/exchange/migrations/0004_university_by.py b/nablapps/exchange/migrations/0004_university_by.py index ff4f490a2..9a68a2bea 100644 --- a/nablapps/exchange/migrations/0004_university_by.py +++ b/nablapps/exchange/migrations/0004_university_by.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("exchange", "0003_exchangenewsarticle"), ] diff --git a/nablapps/exchange/migrations/0005_auto_20201021_2111.py b/nablapps/exchange/migrations/0005_auto_20201021_2111.py index 69a823809..e95fbf640 100644 --- a/nablapps/exchange/migrations/0005_auto_20201021_2111.py +++ b/nablapps/exchange/migrations/0005_auto_20201021_2111.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("exchange", "0004_university_by"), ] diff --git a/nablapps/exchange/migrations/0006_merge_20201023_1226.py b/nablapps/exchange/migrations/0006_merge_20201023_1226.py index b8625fa16..46484d228 100644 --- a/nablapps/exchange/migrations/0006_merge_20201023_1226.py +++ b/nablapps/exchange/migrations/0006_merge_20201023_1226.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("exchange", "0004_auto_20201021_2154"), ("exchange", "0005_auto_20201021_2111"), diff --git a/nablapps/exchange/migrations/0007_auto_20201104_1946.py b/nablapps/exchange/migrations/0007_auto_20201104_1946.py index 67767e6f9..ca513280d 100644 --- a/nablapps/exchange/migrations/0007_auto_20201104_1946.py +++ b/nablapps/exchange/migrations/0007_auto_20201104_1946.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("exchange", "0006_merge_20201023_1226"), ] diff --git a/nablapps/exchange/migrations/0008_auto_20201104_2016.py b/nablapps/exchange/migrations/0008_auto_20201104_2016.py index 7714f44e3..77e2d82e7 100644 --- a/nablapps/exchange/migrations/0008_auto_20201104_2016.py +++ b/nablapps/exchange/migrations/0008_auto_20201104_2016.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("exchange", "0007_auto_20201104_1946"), ] diff --git a/nablapps/exchange/migrations/0009_auto_20201104_2105.py b/nablapps/exchange/migrations/0009_auto_20201104_2105.py index 31485ec40..84c1e8f75 100644 --- a/nablapps/exchange/migrations/0009_auto_20201104_2105.py +++ b/nablapps/exchange/migrations/0009_auto_20201104_2105.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("exchange", "0008_auto_20201104_2016"), ] diff --git a/nablapps/exchange/migrations/0010_exchange_optional_email.py b/nablapps/exchange/migrations/0010_exchange_optional_email.py index 073146e61..8571e492b 100644 --- a/nablapps/exchange/migrations/0010_exchange_optional_email.py +++ b/nablapps/exchange/migrations/0010_exchange_optional_email.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("exchange", "0009_auto_20201104_2105"), ] diff --git a/nablapps/image/migrations/0001_initial.py b/nablapps/image/migrations/0001_initial.py index db0794a3c..e48fc36c6 100644 --- a/nablapps/image/migrations/0001_initial.py +++ b/nablapps/image/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - operations = [ migrations.CreateModel( name="ContentImage", diff --git a/nablapps/interactive/migrations/0001_squashed_0022_adventdoor_user_test.py b/nablapps/interactive/migrations/0001_squashed_0022_adventdoor_user_test.py index 0e6ec4088..da0ca8350 100644 --- a/nablapps/interactive/migrations/0001_squashed_0022_adventdoor_user_test.py +++ b/nablapps/interactive/migrations/0001_squashed_0022_adventdoor_user_test.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("com", "0003_auto_20151007_1436"), diff --git a/nablapps/interactive/migrations/0002_auto_20171106_2322.py b/nablapps/interactive/migrations/0002_auto_20171106_2322.py index fe528216d..1c5b58080 100644 --- a/nablapps/interactive/migrations/0002_auto_20171106_2322.py +++ b/nablapps/interactive/migrations/0002_auto_20171106_2322.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0001_squashed_0022_adventdoor_user_test"), ] diff --git a/nablapps/interactive/migrations/0003_adventcalendar_requires_login.py b/nablapps/interactive/migrations/0003_adventcalendar_requires_login.py index 3a7f408cc..3305b51f4 100644 --- a/nablapps/interactive/migrations/0003_adventcalendar_requires_login.py +++ b/nablapps/interactive/migrations/0003_adventcalendar_requires_login.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0002_auto_20171106_2322"), ] diff --git a/nablapps/interactive/migrations/0004_codetask.py b/nablapps/interactive/migrations/0004_codetask.py index 441c6e8e1..37453715d 100644 --- a/nablapps/interactive/migrations/0004_codetask.py +++ b/nablapps/interactive/migrations/0004_codetask.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0003_adventcalendar_requires_login"), ] diff --git a/nablapps/interactive/migrations/0005_codegolfresult.py b/nablapps/interactive/migrations/0005_codegolfresult.py index 44384b314..3f6fc8ec2 100644 --- a/nablapps/interactive/migrations/0005_codegolfresult.py +++ b/nablapps/interactive/migrations/0005_codegolfresult.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0004_codetask"), ] diff --git a/nablapps/interactive/migrations/0006_auto_20181122_1957.py b/nablapps/interactive/migrations/0006_auto_20181122_1957.py index d320a090e..987f3bcde 100644 --- a/nablapps/interactive/migrations/0006_auto_20181122_1957.py +++ b/nablapps/interactive/migrations/0006_auto_20181122_1957.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0005_codegolfresult"), ] diff --git a/nablapps/interactive/migrations/0007_codegolf_new.py b/nablapps/interactive/migrations/0007_codegolf_new.py index 70560ab0b..d4bc864e2 100644 --- a/nablapps/interactive/migrations/0007_codegolf_new.py +++ b/nablapps/interactive/migrations/0007_codegolf_new.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0006_auto_20181122_1957"), ] diff --git a/nablapps/interactive/migrations/0008_auto_20190104_0304.py b/nablapps/interactive/migrations/0008_auto_20190104_0304.py index 2c83779c0..5a1c36494 100644 --- a/nablapps/interactive/migrations/0008_auto_20190104_0304.py +++ b/nablapps/interactive/migrations/0008_auto_20190104_0304.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0007_codegolf_new"), ] diff --git a/nablapps/interactive/migrations/0009_auto_20190205_1416.py b/nablapps/interactive/migrations/0009_auto_20190205_1416.py index 21d40da0f..f6fa7f031 100644 --- a/nablapps/interactive/migrations/0009_auto_20190205_1416.py +++ b/nablapps/interactive/migrations/0009_auto_20190205_1416.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0008_auto_20190104_0304"), ] diff --git a/nablapps/interactive/migrations/0010_auto_20190205_1436.py b/nablapps/interactive/migrations/0010_auto_20190205_1436.py index b6596574b..44cac3a1c 100644 --- a/nablapps/interactive/migrations/0010_auto_20190205_1436.py +++ b/nablapps/interactive/migrations/0010_auto_20190205_1436.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0009_auto_20190205_1416"), ] diff --git a/nablapps/interactive/migrations/0011_update_quizreply_scores.py b/nablapps/interactive/migrations/0011_update_quizreply_scores.py index 61ebb945f..697bd5447 100644 --- a/nablapps/interactive/migrations/0011_update_quizreply_scores.py +++ b/nablapps/interactive/migrations/0011_update_quizreply_scores.py @@ -21,7 +21,6 @@ def update_scores(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("interactive", "0010_auto_20190205_1436"), ] diff --git a/nablapps/interactive/migrations/0012_remove_empty_quizreplies.py b/nablapps/interactive/migrations/0012_remove_empty_quizreplies.py index a8d228b06..5d000c133 100644 --- a/nablapps/interactive/migrations/0012_remove_empty_quizreplies.py +++ b/nablapps/interactive/migrations/0012_remove_empty_quizreplies.py @@ -34,7 +34,6 @@ def remove_empty_quizreplies(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("interactive", "0011_update_quizreply_scores"), ] diff --git a/nablapps/interactive/migrations/0013_colorchoice.py b/nablapps/interactive/migrations/0013_colorchoice.py index f7f4486c9..e9836652b 100644 --- a/nablapps/interactive/migrations/0013_colorchoice.py +++ b/nablapps/interactive/migrations/0013_colorchoice.py @@ -9,7 +9,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("interactive", "0012_remove_empty_quizreplies"), diff --git a/nablapps/interactive/migrations/0013_santa_santacount.py b/nablapps/interactive/migrations/0013_santa_santacount.py index 1ec5cdbfa..bc83aabeb 100644 --- a/nablapps/interactive/migrations/0013_santa_santacount.py +++ b/nablapps/interactive/migrations/0013_santa_santacount.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("interactive", "0012_remove_empty_quizreplies"), diff --git a/nablapps/interactive/migrations/0014_merge_20191201_1159.py b/nablapps/interactive/migrations/0014_merge_20191201_1159.py index ab9fc1bdf..ca1eab990 100644 --- a/nablapps/interactive/migrations/0014_merge_20191201_1159.py +++ b/nablapps/interactive/migrations/0014_merge_20191201_1159.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0013_santa_santacount"), ("interactive", "0013_colorchoice"), diff --git a/nablapps/interactive/migrations/0015_place.py b/nablapps/interactive/migrations/0015_place.py index 87a62c2d1..62d57150f 100644 --- a/nablapps/interactive/migrations/0015_place.py +++ b/nablapps/interactive/migrations/0015_place.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("interactive", "0014_merge_20191201_1159"), diff --git a/nablapps/interactive/migrations/0016_placegrid_uncertainty.py b/nablapps/interactive/migrations/0016_placegrid_uncertainty.py index 9fd312b44..223fbe705 100644 --- a/nablapps/interactive/migrations/0016_placegrid_uncertainty.py +++ b/nablapps/interactive/migrations/0016_placegrid_uncertainty.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0015_place"), ] diff --git a/nablapps/interactive/migrations/0017_quiz_spoiler_text.py b/nablapps/interactive/migrations/0017_quiz_spoiler_text.py index a3a626749..cda4383f9 100644 --- a/nablapps/interactive/migrations/0017_quiz_spoiler_text.py +++ b/nablapps/interactive/migrations/0017_quiz_spoiler_text.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0016_placegrid_uncertainty"), ] diff --git a/nablapps/interactive/migrations/0018_auto_20210909_2046.py b/nablapps/interactive/migrations/0018_auto_20210909_2046.py index 624539b20..e45df83a8 100644 --- a/nablapps/interactive/migrations/0018_auto_20210909_2046.py +++ b/nablapps/interactive/migrations/0018_auto_20210909_2046.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0017_quiz_spoiler_text"), ] diff --git a/nablapps/interactive/migrations/0019_game.py b/nablapps/interactive/migrations/0019_game.py index 8161c2bd7..56fb0329a 100644 --- a/nablapps/interactive/migrations/0019_game.py +++ b/nablapps/interactive/migrations/0019_game.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0018_auto_20210909_2046"), ] diff --git a/nablapps/interactive/migrations/0020_result_submitted_at.py b/nablapps/interactive/migrations/0020_result_submitted_at.py index ae5422df7..963abea42 100644 --- a/nablapps/interactive/migrations/0020_result_submitted_at.py +++ b/nablapps/interactive/migrations/0020_result_submitted_at.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0019_game"), ] diff --git a/nablapps/interactive/migrations/0021_codegolf_result_unique.py b/nablapps/interactive/migrations/0021_codegolf_result_unique.py index ffe8784ab..3b8dafee5 100644 --- a/nablapps/interactive/migrations/0021_codegolf_result_unique.py +++ b/nablapps/interactive/migrations/0021_codegolf_result_unique.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0020_result_submitted_at"), ] diff --git a/nablapps/interactive/migrations/0022_auto_20220324_1730.py b/nablapps/interactive/migrations/0022_auto_20220324_1730.py index f88249b61..b496c3d56 100644 --- a/nablapps/interactive/migrations/0022_auto_20220324_1730.py +++ b/nablapps/interactive/migrations/0022_auto_20220324_1730.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0021_codegolf_result_unique"), ] diff --git a/nablapps/interactive/migrations/0023_result_python_version.py b/nablapps/interactive/migrations/0023_result_python_version.py index 4fc1e4546..87e084491 100644 --- a/nablapps/interactive/migrations/0023_result_python_version.py +++ b/nablapps/interactive/migrations/0023_result_python_version.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0022_auto_20220324_1730"), ] diff --git a/nablapps/interactive/migrations/0024_result_length.py b/nablapps/interactive/migrations/0024_result_length.py index dda8d9c45..c268318ac 100644 --- a/nablapps/interactive/migrations/0024_result_length.py +++ b/nablapps/interactive/migrations/0024_result_length.py @@ -9,7 +9,6 @@ def empty_reverse(*args): class Migration(migrations.Migration): - dependencies = [ ("interactive", "0023_result_python_version"), ] diff --git a/nablapps/interactive/migrations/0025_auto_20220403_2011.py b/nablapps/interactive/migrations/0025_auto_20220403_2011.py index 797e06edf..940df8887 100644 --- a/nablapps/interactive/migrations/0025_auto_20220403_2011.py +++ b/nablapps/interactive/migrations/0025_auto_20220403_2011.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0024_result_length"), ] diff --git a/nablapps/interactive/migrations/0026_auto_20220702_1315.py b/nablapps/interactive/migrations/0026_auto_20220702_1315.py index 7a428139e..76d21c37e 100644 --- a/nablapps/interactive/migrations/0026_auto_20220702_1315.py +++ b/nablapps/interactive/migrations/0026_auto_20220702_1315.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("interactive", "0025_auto_20220403_2011"), ] diff --git a/nablapps/interactive/models/advent.py b/nablapps/interactive/models/advent.py index 3828319e0..675f32f4f 100644 --- a/nablapps/interactive/models/advent.py +++ b/nablapps/interactive/models/advent.py @@ -128,7 +128,6 @@ def choose_winner(self): class AdventCalendar(models.Model): - year = models.IntegerField(verbose_name="År", unique=True) requires_login = models.BooleanField( @@ -155,7 +154,6 @@ def __str__(self): class AdventParticipation(InteractionResult): - text = models.TextField(null=True) door = models.ForeignKey( diff --git a/nablapps/interactive/models/place.py b/nablapps/interactive/models/place.py index 4c3992efc..6f859a90d 100644 --- a/nablapps/interactive/models/place.py +++ b/nablapps/interactive/models/place.py @@ -11,7 +11,6 @@ class PlaceGrid(models.Model): - width = models.PositiveIntegerField( verbose_name="Bredde", validators=[MinValueValidator(1)] ) diff --git a/nablapps/interactive/models/user_test.py b/nablapps/interactive/models/user_test.py index 78465479c..993ff4519 100644 --- a/nablapps/interactive/models/user_test.py +++ b/nablapps/interactive/models/user_test.py @@ -36,7 +36,6 @@ def __str__(self): class TestQuestion(models.Model): - text = models.TextField(blank=False, default="", verbose_name="spørsmål") test = models.ForeignKey( @@ -83,7 +82,6 @@ def validate_weight_syntax(code): class TestQuestionAlternative(models.Model): - text = models.TextField(blank=False, verbose_name="svaralternativ") question = models.ForeignKey( @@ -134,7 +132,6 @@ def save(self, *args, **kwargs): class TestResult(models.Model): - title = models.CharField(max_length=100, blank=False) content = models.TextField(blank=False, verbose_name="beskrivelse") diff --git a/nablapps/interactive/views/advent.py b/nablapps/interactive/views/advent.py index 983244083..5037124b7 100644 --- a/nablapps/interactive/views/advent.py +++ b/nablapps/interactive/views/advent.py @@ -102,7 +102,6 @@ def get(self, request, *args, **kwargs): @login_required def participate_in_competition(request, year, number): - calendar = get_object_or_404(AdventCalendar, year=year) door = get_object_or_404(AdventDoor, calendar=calendar, number=number) diff --git a/nablapps/jobs/migrations/0001_squashed_0008_auto_20171017_0111.py b/nablapps/jobs/migrations/0001_squashed_0008_auto_20171017_0111.py index 5facba472..63220da93 100644 --- a/nablapps/jobs/migrations/0001_squashed_0008_auto_20171017_0111.py +++ b/nablapps/jobs/migrations/0001_squashed_0008_auto_20171017_0111.py @@ -9,7 +9,6 @@ class Migration(migrations.Migration): - replaces = [ ("jobs", "0001_squashed_0012_auto_20151106_1921"), ("jobs", "0002_auto_20170920_1310"), diff --git a/nablapps/jobs/migrations/0001_squashed_0012_auto_20151106_1921.py b/nablapps/jobs/migrations/0001_squashed_0012_auto_20151106_1921.py index 6539773a6..b1be95a59 100644 --- a/nablapps/jobs/migrations/0001_squashed_0012_auto_20151106_1921.py +++ b/nablapps/jobs/migrations/0001_squashed_0012_auto_20151106_1921.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("contenttypes", "0002_remove_content_type_name"), diff --git a/nablapps/jobs/migrations/0002_auto_20170920_1310.py b/nablapps/jobs/migrations/0002_auto_20170920_1310.py index 03688dea0..503c1d647 100644 --- a/nablapps/jobs/migrations/0002_auto_20170920_1310.py +++ b/nablapps/jobs/migrations/0002_auto_20170920_1310.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("jobs", "0001_squashed_0012_auto_20151106_1921"), ] diff --git a/nablapps/jobs/migrations/0003_auto_20170920_1429.py b/nablapps/jobs/migrations/0003_auto_20170920_1429.py index 6e173600d..86a70b8cf 100644 --- a/nablapps/jobs/migrations/0003_auto_20170920_1429.py +++ b/nablapps/jobs/migrations/0003_auto_20170920_1429.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("jobs", "0002_auto_20170920_1310"), ] diff --git a/nablapps/jobs/migrations/0004_auto_20171006_1218.py b/nablapps/jobs/migrations/0004_auto_20171006_1218.py index 08c407453..8fc733ef9 100644 --- a/nablapps/jobs/migrations/0004_auto_20171006_1218.py +++ b/nablapps/jobs/migrations/0004_auto_20171006_1218.py @@ -11,7 +11,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("jobs", "0003_auto_20170920_1429"), diff --git a/nablapps/jobs/migrations/0005_move_fields_from_news.py b/nablapps/jobs/migrations/0005_move_fields_from_news.py index 0935be864..6ab883af9 100644 --- a/nablapps/jobs/migrations/0005_move_fields_from_news.py +++ b/nablapps/jobs/migrations/0005_move_fields_from_news.py @@ -43,7 +43,6 @@ def reverse_func(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("jobs", "0004_auto_20171006_1218"), ("news", "0005_auto_20171006_0216"), diff --git a/nablapps/jobs/migrations/0006_auto_20171006_1559.py b/nablapps/jobs/migrations/0006_auto_20171006_1559.py index 49b014a68..a01f1bc91 100644 --- a/nablapps/jobs/migrations/0006_auto_20171006_1559.py +++ b/nablapps/jobs/migrations/0006_auto_20171006_1559.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("jobs", "0005_move_fields_from_news"), ] diff --git a/nablapps/jobs/migrations/0007_auto_20171006_1713.py b/nablapps/jobs/migrations/0007_auto_20171006_1713.py index 51989661b..0d2cd5997 100644 --- a/nablapps/jobs/migrations/0007_auto_20171006_1713.py +++ b/nablapps/jobs/migrations/0007_auto_20171006_1713.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("jobs", "0006_auto_20171006_1559"), ] diff --git a/nablapps/jobs/migrations/0008_auto_20171017_0111.py b/nablapps/jobs/migrations/0008_auto_20171017_0111.py index bb436b8f0..6fc9878c4 100644 --- a/nablapps/jobs/migrations/0008_auto_20171017_0111.py +++ b/nablapps/jobs/migrations/0008_auto_20171017_0111.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("jobs", "0007_auto_20171006_1713"), ] diff --git a/nablapps/jobs/migrations/0009_company_ignorecrop.py b/nablapps/jobs/migrations/0009_company_ignorecrop.py index cd1494e73..a7f6ac3e4 100644 --- a/nablapps/jobs/migrations/0009_company_ignorecrop.py +++ b/nablapps/jobs/migrations/0009_company_ignorecrop.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("jobs", "0008_auto_20171017_0111"), ] diff --git a/nablapps/jobs/migrations/0010_auto_20201021_2154.py b/nablapps/jobs/migrations/0010_auto_20201021_2154.py index 10691d20a..feed6248b 100644 --- a/nablapps/jobs/migrations/0010_auto_20201021_2154.py +++ b/nablapps/jobs/migrations/0010_auto_20201021_2154.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("jobs", "0009_company_ignorecrop"), ] diff --git a/nablapps/meeting_records/migrations/0001_squashed_0003_remove_subclassing_news.py b/nablapps/meeting_records/migrations/0001_squashed_0003_remove_subclassing_news.py index 831432ae3..ee0be1fca 100644 --- a/nablapps/meeting_records/migrations/0001_squashed_0003_remove_subclassing_news.py +++ b/nablapps/meeting_records/migrations/0001_squashed_0003_remove_subclassing_news.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - replaces = [ ("meeting_records", "0001_initial"), ("meeting_records", "0002_auto_20150811_1047"), diff --git a/nablapps/nabladet/migrations/0001_initial.py b/nablapps/nabladet/migrations/0001_initial.py index d3b80e1c1..76530dd12 100644 --- a/nablapps/nabladet/migrations/0001_initial.py +++ b/nablapps/nabladet/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0001_initial"), ] diff --git a/nablapps/nabladet/migrations/0002_nablad_thumbnail.py b/nablapps/nabladet/migrations/0002_nablad_thumbnail.py index 96493cef9..6af7b5963 100644 --- a/nablapps/nabladet/migrations/0002_nablad_thumbnail.py +++ b/nablapps/nabladet/migrations/0002_nablad_thumbnail.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0001_initial"), ] diff --git a/nablapps/nabladet/migrations/0003_nablad_is_public.py b/nablapps/nabladet/migrations/0003_nablad_is_public.py index 431817df1..b33a0c57a 100644 --- a/nablapps/nabladet/migrations/0003_nablad_is_public.py +++ b/nablapps/nabladet/migrations/0003_nablad_is_public.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0002_nablad_thumbnail"), ] diff --git a/nablapps/nabladet/migrations/0004_auto_20171006_0011.py b/nablapps/nabladet/migrations/0004_auto_20171006_0011.py index b85dbad8e..aee3a1dfb 100644 --- a/nablapps/nabladet/migrations/0004_auto_20171006_0011.py +++ b/nablapps/nabladet/migrations/0004_auto_20171006_0011.py @@ -10,7 +10,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("nabladet", "0003_nablad_is_public"), diff --git a/nablapps/nabladet/migrations/0005_move_fields_from_news.py b/nablapps/nabladet/migrations/0005_move_fields_from_news.py index 711d5809a..37f091215 100644 --- a/nablapps/nabladet/migrations/0005_move_fields_from_news.py +++ b/nablapps/nabladet/migrations/0005_move_fields_from_news.py @@ -43,7 +43,6 @@ def reverse_func(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0004_auto_20171006_0011"), ("news", "0005_auto_20171006_0216"), diff --git a/nablapps/nabladet/migrations/0006_news_ptr_to_id_20171006_1559.py b/nablapps/nabladet/migrations/0006_news_ptr_to_id_20171006_1559.py index 9592a788f..a6d46ea21 100644 --- a/nablapps/nabladet/migrations/0006_news_ptr_to_id_20171006_1559.py +++ b/nablapps/nabladet/migrations/0006_news_ptr_to_id_20171006_1559.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0005_move_fields_from_news"), ] diff --git a/nablapps/nabladet/migrations/0007_auto_20171017_0140.py b/nablapps/nabladet/migrations/0007_auto_20171017_0140.py index 3758a9381..d2b8f097e 100644 --- a/nablapps/nabladet/migrations/0007_auto_20171017_0140.py +++ b/nablapps/nabladet/migrations/0007_auto_20171017_0140.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0006_news_ptr_to_id_20171006_1559"), ] diff --git a/nablapps/nabladet/migrations/0008_remove_nablad_view_counter.py b/nablapps/nabladet/migrations/0008_remove_nablad_view_counter.py index 585df3b4c..4ce05e9de 100644 --- a/nablapps/nabladet/migrations/0008_remove_nablad_view_counter.py +++ b/nablapps/nabladet/migrations/0008_remove_nablad_view_counter.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0007_auto_20171017_0140"), ] diff --git a/nablapps/nabladet/migrations/0009_nablad_filename.py b/nablapps/nabladet/migrations/0009_nablad_filename.py index 887fd5652..b35716525 100644 --- a/nablapps/nabladet/migrations/0009_nablad_filename.py +++ b/nablapps/nabladet/migrations/0009_nablad_filename.py @@ -16,7 +16,6 @@ def create_filenames(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0008_remove_nablad_view_counter"), ] diff --git a/nablapps/nabladet/migrations/0010_nablad_file_nsfw.py b/nablapps/nabladet/migrations/0010_nablad_file_nsfw.py index 60eace571..2c41f61ed 100644 --- a/nablapps/nabladet/migrations/0010_nablad_file_nsfw.py +++ b/nablapps/nabladet/migrations/0010_nablad_file_nsfw.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0009_nablad_filename"), ] diff --git a/nablapps/nabladet/migrations/0011_protect_nablad.py b/nablapps/nabladet/migrations/0011_protect_nablad.py index 7cfa6ffc5..31b8bb9b1 100644 --- a/nablapps/nabladet/migrations/0011_protect_nablad.py +++ b/nablapps/nabladet/migrations/0011_protect_nablad.py @@ -28,7 +28,6 @@ def undo_move_to_protected(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0010_nablad_file_nsfw"), ] diff --git a/nablapps/nabladet/migrations/0012_auto_20201021_2154.py b/nablapps/nabladet/migrations/0012_auto_20201021_2154.py index 86228fadc..6cab43313 100644 --- a/nablapps/nabladet/migrations/0012_auto_20201021_2154.py +++ b/nablapps/nabladet/migrations/0012_auto_20201021_2154.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nabladet", "0011_protect_nablad"), ] diff --git a/nablapps/nablaforum/migrations/0001_initial.py b/nablapps/nablaforum/migrations/0001_initial.py index 317f3f92a..281acc742 100644 --- a/nablapps/nablaforum/migrations/0001_initial.py +++ b/nablapps/nablaforum/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/nablapps/nablaforum/migrations/0002_add_created_datetime.py b/nablapps/nablaforum/migrations/0002_add_created_datetime.py index b84d92d97..cac7d1920 100644 --- a/nablapps/nablaforum/migrations/0002_add_created_datetime.py +++ b/nablapps/nablaforum/migrations/0002_add_created_datetime.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nablaforum", "0001_initial"), ] diff --git a/nablapps/nablaforum/migrations/0003_auto_20191025_2140.py b/nablapps/nablaforum/migrations/0003_auto_20191025_2140.py index 1e3d2d165..a949ff2a6 100644 --- a/nablapps/nablaforum/migrations/0003_auto_20191025_2140.py +++ b/nablapps/nablaforum/migrations/0003_auto_20191025_2140.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("nablaforum", "0002_add_created_datetime"), diff --git a/nablapps/nablaforum/migrations/0004_thread_created.py b/nablapps/nablaforum/migrations/0004_thread_created.py index 3a0598d58..1d73ec8d0 100644 --- a/nablapps/nablaforum/migrations/0004_thread_created.py +++ b/nablapps/nablaforum/migrations/0004_thread_created.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nablaforum", "0003_auto_20191025_2140"), ] diff --git a/nablapps/nablaforum/migrations/0005_auto_20200104_1336.py b/nablapps/nablaforum/migrations/0005_auto_20200104_1336.py index 9a17256c3..2f9c42aeb 100644 --- a/nablapps/nablaforum/migrations/0005_auto_20200104_1336.py +++ b/nablapps/nablaforum/migrations/0005_auto_20200104_1336.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nablaforum", "0004_thread_created"), ] diff --git a/nablapps/nablaforum/migrations/0006_auto_20200114_1954.py b/nablapps/nablaforum/migrations/0006_auto_20200114_1954.py index 569b3ebbe..447b68204 100644 --- a/nablapps/nablaforum/migrations/0006_auto_20200114_1954.py +++ b/nablapps/nablaforum/migrations/0006_auto_20200114_1954.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nablaforum", "0005_auto_20200104_1336"), ] diff --git a/nablapps/nablaforum/migrations/0007_auto_20200517_0659.py b/nablapps/nablaforum/migrations/0007_auto_20200517_0659.py index e9198f89a..a9480f3af 100644 --- a/nablapps/nablaforum/migrations/0007_auto_20200517_0659.py +++ b/nablapps/nablaforum/migrations/0007_auto_20200517_0659.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nablaforum", "0006_auto_20200114_1954"), ] diff --git a/nablapps/nablashop/generate_test_objects.py b/nablapps/nablashop/generate_test_objects.py index 785b40764..1a56f9675 100644 --- a/nablapps/nablashop/generate_test_objects.py +++ b/nablapps/nablashop/generate_test_objects.py @@ -6,7 +6,6 @@ def create(): - daljer, _ = Category.objects.get_or_create( name="Daljer", description="Her er masse daljer", pk=2 ) diff --git a/nablapps/nablashop/migrations/0001_initial.py b/nablapps/nablashop/migrations/0001_initial.py index 232372218..c2ffb957b 100644 --- a/nablapps/nablashop/migrations/0001_initial.py +++ b/nablapps/nablashop/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [] operations = [ diff --git a/nablapps/nablashop/migrations/0002_auto_20201021_2154.py b/nablapps/nablashop/migrations/0002_auto_20201021_2154.py index 927444599..7380158b2 100644 --- a/nablapps/nablashop/migrations/0002_auto_20201021_2154.py +++ b/nablapps/nablashop/migrations/0002_auto_20201021_2154.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nablashop", "0001_initial"), ] diff --git a/nablapps/nablashop/migrations/0003_auto_20211007_1933.py b/nablapps/nablashop/migrations/0003_auto_20211007_1933.py index 76e1bfb98..af1d1dbdd 100644 --- a/nablapps/nablashop/migrations/0003_auto_20211007_1933.py +++ b/nablapps/nablashop/migrations/0003_auto_20211007_1933.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("nablashop", "0002_auto_20201021_2154"), diff --git a/nablapps/nablashop/migrations/0004_auto_20220702_1315.py b/nablapps/nablashop/migrations/0004_auto_20220702_1315.py index 5327f6934..4149e08b0 100644 --- a/nablapps/nablashop/migrations/0004_auto_20220702_1315.py +++ b/nablapps/nablashop/migrations/0004_auto_20220702_1315.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("nablashop", "0003_auto_20211007_1933"), ] diff --git a/nablapps/nablashop/views.py b/nablapps/nablashop/views.py index 5862c3fc0..312010e9a 100644 --- a/nablapps/nablashop/views.py +++ b/nablapps/nablashop/views.py @@ -137,7 +137,6 @@ class CheckoutView(TemplateView): template_name = "nablashop/purchase.html" def post(self, request, *args, **kwargs): - purchase_form = PurchaseForm(request.POST) pose = "" diff --git a/nablapps/news/migrations/0001_initial.py b/nablapps/news/migrations/0001_initial.py index 9aa7106ee..ebdd7963a 100644 --- a/nablapps/news/migrations/0001_initial.py +++ b/nablapps/news/migrations/0001_initial.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("auth", "0006_require_contenttypes_0002"), diff --git a/nablapps/news/migrations/0002_remove_news_allow_comments.py b/nablapps/news/migrations/0002_remove_news_allow_comments.py index 5d9a10cc0..a5f0425a4 100644 --- a/nablapps/news/migrations/0002_remove_news_allow_comments.py +++ b/nablapps/news/migrations/0002_remove_news_allow_comments.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0001_initial"), ] diff --git a/nablapps/news/migrations/0003_auto_20171005_2335.py b/nablapps/news/migrations/0003_auto_20171005_2335.py index 82c0e434e..d5f8209ba 100644 --- a/nablapps/news/migrations/0003_auto_20171005_2335.py +++ b/nablapps/news/migrations/0003_auto_20171005_2335.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0002_remove_news_allow_comments"), ] diff --git a/nablapps/news/migrations/0004_auto_20171006_0006.py b/nablapps/news/migrations/0004_auto_20171006_0006.py index 21a162b99..5163583e2 100644 --- a/nablapps/news/migrations/0004_auto_20171006_0006.py +++ b/nablapps/news/migrations/0004_auto_20171006_0006.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0003_auto_20171005_2335"), ] diff --git a/nablapps/news/migrations/0005_auto_20171006_0216.py b/nablapps/news/migrations/0005_auto_20171006_0216.py index cffc4fc0f..c6ec59190 100644 --- a/nablapps/news/migrations/0005_auto_20171006_0216.py +++ b/nablapps/news/migrations/0005_auto_20171006_0216.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0004_auto_20171006_0006"), ] diff --git a/nablapps/news/migrations/0006_newsarticle.py b/nablapps/news/migrations/0006_newsarticle.py index bcf86bd0d..9e704444e 100644 --- a/nablapps/news/migrations/0006_newsarticle.py +++ b/nablapps/news/migrations/0006_newsarticle.py @@ -11,7 +11,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("news", "0005_auto_20171006_0216"), diff --git a/nablapps/news/migrations/0007_move_fields_from_news_to_newsarticle.py b/nablapps/news/migrations/0007_move_fields_from_news_to_newsarticle.py index 7a67bf6b1..587ef560f 100644 --- a/nablapps/news/migrations/0007_move_fields_from_news_to_newsarticle.py +++ b/nablapps/news/migrations/0007_move_fields_from_news_to_newsarticle.py @@ -47,7 +47,6 @@ def reverse_func(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("news", "0006_newsarticle"), ] diff --git a/nablapps/news/migrations/0008_news_object_id.py b/nablapps/news/migrations/0008_news_object_id.py index aa2174b38..2f5e1e96f 100644 --- a/nablapps/news/migrations/0008_news_object_id.py +++ b/nablapps/news/migrations/0008_news_object_id.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0007_move_fields_from_news_to_newsarticle"), ] diff --git a/nablapps/news/migrations/0009_set_object_id_from_news_id.py b/nablapps/news/migrations/0009_set_object_id_from_news_id.py index d2f6f19f0..2527fdac8 100644 --- a/nablapps/news/migrations/0009_set_object_id_from_news_id.py +++ b/nablapps/news/migrations/0009_set_object_id_from_news_id.py @@ -17,7 +17,6 @@ def reverse_func(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("news", "0008_news_object_id"), ] diff --git a/nablapps/news/migrations/0010_auto_20171006_2201.py b/nablapps/news/migrations/0010_auto_20171006_2201.py index d56f4d303..ec3d7fee9 100644 --- a/nablapps/news/migrations/0010_auto_20171006_2201.py +++ b/nablapps/news/migrations/0010_auto_20171006_2201.py @@ -18,7 +18,6 @@ def reverse_func(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("news", "0009_set_object_id_from_news_id"), ] diff --git a/nablapps/news/migrations/0011_auto_20171017_0035.py b/nablapps/news/migrations/0011_auto_20171017_0035.py index 45467ecad..de602f6ed 100644 --- a/nablapps/news/migrations/0011_auto_20171017_0035.py +++ b/nablapps/news/migrations/0011_auto_20171017_0035.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0010_auto_20171006_2201"), ] diff --git a/nablapps/news/migrations/0012_auto_20171017_0114.py b/nablapps/news/migrations/0012_auto_20171017_0114.py index 34709923e..590f34a5f 100644 --- a/nablapps/news/migrations/0012_auto_20171017_0114.py +++ b/nablapps/news/migrations/0012_auto_20171017_0114.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0011_auto_20171017_0035"), ] diff --git a/nablapps/news/migrations/0013_auto_20171017_0144.py b/nablapps/news/migrations/0013_auto_20171017_0144.py index af8837331..e8f5c4a03 100644 --- a/nablapps/news/migrations/0013_auto_20171017_0144.py +++ b/nablapps/news/migrations/0013_auto_20171017_0144.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0012_auto_20171017_0114"), ] diff --git a/nablapps/news/migrations/0014_remove_newsarticle_view_counter.py b/nablapps/news/migrations/0014_remove_newsarticle_view_counter.py index 94ccfc4fe..af0b248b9 100644 --- a/nablapps/news/migrations/0014_remove_newsarticle_view_counter.py +++ b/nablapps/news/migrations/0014_remove_newsarticle_view_counter.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0013_auto_20171017_0144"), ] diff --git a/nablapps/news/migrations/0015_auto_20180922_1915.py b/nablapps/news/migrations/0015_auto_20180922_1915.py index a26aa2655..e26299c3e 100644 --- a/nablapps/news/migrations/0015_auto_20180922_1915.py +++ b/nablapps/news/migrations/0015_auto_20180922_1915.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0014_remove_newsarticle_view_counter"), ] diff --git a/nablapps/news/migrations/0016_auto_20190205_1300.py b/nablapps/news/migrations/0016_auto_20190205_1300.py index 1683f0cda..8e6654c92 100644 --- a/nablapps/news/migrations/0016_auto_20190205_1300.py +++ b/nablapps/news/migrations/0016_auto_20190205_1300.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0015_auto_20180922_1915"), ] diff --git a/nablapps/news/migrations/0017_auto_20201021_2154.py b/nablapps/news/migrations/0017_auto_20201021_2154.py index 363842baa..07a1df096 100644 --- a/nablapps/news/migrations/0017_auto_20201021_2154.py +++ b/nablapps/news/migrations/0017_auto_20201021_2154.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("news", "0016_auto_20190205_1300"), ] diff --git a/nablapps/officeBeer/migrations/0001_initial.py b/nablapps/officeBeer/migrations/0001_initial.py index 86f1afcd8..199fe0169 100644 --- a/nablapps/officeBeer/migrations/0001_initial.py +++ b/nablapps/officeBeer/migrations/0001_initial.py @@ -9,7 +9,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/nablapps/officeBeer/migrations/0002_depositrequest_created.py b/nablapps/officeBeer/migrations/0002_depositrequest_created.py index 41184e608..d6f6bf59f 100644 --- a/nablapps/officeBeer/migrations/0002_depositrequest_created.py +++ b/nablapps/officeBeer/migrations/0002_depositrequest_created.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("officeBeer", "0001_initial"), ] diff --git a/nablapps/officeBeer/migrations/0003_description_fieldtype.py b/nablapps/officeBeer/migrations/0003_description_fieldtype.py index 03ad24399..2734fa577 100644 --- a/nablapps/officeBeer/migrations/0003_description_fieldtype.py +++ b/nablapps/officeBeer/migrations/0003_description_fieldtype.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("officeBeer", "0002_depositrequest_created"), ] diff --git a/nablapps/officeCalendar/migrations/0001_initial.py b/nablapps/officeCalendar/migrations/0001_initial.py index 5d93fa960..8bfdbe4c1 100644 --- a/nablapps/officeCalendar/migrations/0001_initial.py +++ b/nablapps/officeCalendar/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/nablapps/officeCalendar/migrations/0002_auto_20190325_2028.py b/nablapps/officeCalendar/migrations/0002_auto_20190325_2028.py index f5c2ef02c..7d9f19fe6 100644 --- a/nablapps/officeCalendar/migrations/0002_auto_20190325_2028.py +++ b/nablapps/officeCalendar/migrations/0002_auto_20190325_2028.py @@ -3,7 +3,6 @@ class Migration(migrations.Migration): - dependencies = [ ("officeCalendar", "0001_initial"), ] diff --git a/nablapps/officeCalendar/migrations/0003_auto_20190330_1405.py b/nablapps/officeCalendar/migrations/0003_auto_20190330_1405.py index b9442e16d..0b050c096 100644 --- a/nablapps/officeCalendar/migrations/0003_auto_20190330_1405.py +++ b/nablapps/officeCalendar/migrations/0003_auto_20190330_1405.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("officeCalendar", "0002_auto_20190325_2028"), ] diff --git a/nablapps/podcast/migrations/0001_squashed_0014_podcast_content_type.py b/nablapps/podcast/migrations/0001_squashed_0014_podcast_content_type.py index 29fa78a1a..7d8970864 100644 --- a/nablapps/podcast/migrations/0001_squashed_0014_podcast_content_type.py +++ b/nablapps/podcast/migrations/0001_squashed_0014_podcast_content_type.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - replaces = [ ("podcast", "0001_initial"), ("podcast", "0002_auto_20150214_2044"), diff --git a/nablapps/podcast/migrations/0002_auto_20170920_1318.py b/nablapps/podcast/migrations/0002_auto_20170920_1318.py index 39bfbba31..6e1b8251e 100644 --- a/nablapps/podcast/migrations/0002_auto_20170920_1318.py +++ b/nablapps/podcast/migrations/0002_auto_20170920_1318.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("podcast", "0001_squashed_0014_podcast_content_type"), ] diff --git a/nablapps/podcast/migrations/0003_auto_20171026_1258.py b/nablapps/podcast/migrations/0003_auto_20171026_1258.py index aa0112564..4bf50b6e8 100644 --- a/nablapps/podcast/migrations/0003_auto_20171026_1258.py +++ b/nablapps/podcast/migrations/0003_auto_20171026_1258.py @@ -28,7 +28,6 @@ def reverse_func(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("podcast", "0002_auto_20170920_1318"), ("hitcount", "0002_index_ip_and_session"), diff --git a/nablapps/podcast/migrations/0004_auto_20190205_1402.py b/nablapps/podcast/migrations/0004_auto_20190205_1402.py index 069a0e1ab..33ed1f011 100644 --- a/nablapps/podcast/migrations/0004_auto_20190205_1402.py +++ b/nablapps/podcast/migrations/0004_auto_20190205_1402.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("podcast", "0003_auto_20171026_1258"), ] diff --git a/nablapps/podcast/migrations/0005_auto_20190301_1502.py b/nablapps/podcast/migrations/0005_auto_20190301_1502.py index 75ef41b3d..9a896fdaf 100644 --- a/nablapps/podcast/migrations/0005_auto_20190301_1502.py +++ b/nablapps/podcast/migrations/0005_auto_20190301_1502.py @@ -14,7 +14,6 @@ def set_has_video(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("podcast", "0004_auto_20190205_1402"), ] diff --git a/nablapps/podcast/migrations/0006_auto_20190319_2047.py b/nablapps/podcast/migrations/0006_auto_20190319_2047.py index 694463a9b..3c23b63bc 100644 --- a/nablapps/podcast/migrations/0006_auto_20190319_2047.py +++ b/nablapps/podcast/migrations/0006_auto_20190319_2047.py @@ -18,7 +18,6 @@ def fix_missing_season(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("podcast", "0005_auto_20190301_1502"), ] diff --git a/nablapps/podcast/migrations/0007_podcast_short_title.py b/nablapps/podcast/migrations/0007_podcast_short_title.py index baca19025..7fbe02b98 100644 --- a/nablapps/podcast/migrations/0007_podcast_short_title.py +++ b/nablapps/podcast/migrations/0007_podcast_short_title.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("podcast", "0006_auto_20190319_2047"), ] diff --git a/nablapps/podcast/migrations/0008_auto_20201111_2046.py b/nablapps/podcast/migrations/0008_auto_20201111_2046.py index e40c7d43c..af898736d 100644 --- a/nablapps/podcast/migrations/0008_auto_20201111_2046.py +++ b/nablapps/podcast/migrations/0008_auto_20201111_2046.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("podcast", "0007_podcast_short_title"), ] diff --git a/nablapps/podcast/models.py b/nablapps/podcast/models.py index 2b77a9373..81f5b7a9d 100644 --- a/nablapps/podcast/models.py +++ b/nablapps/podcast/models.py @@ -74,7 +74,6 @@ class Meta: class Podcast(models.Model): - image = models.ImageField( upload_to="news_pictures", verbose_name="Bilde", diff --git a/nablapps/poll/migrations/0001_initial.py b/nablapps/poll/migrations/0001_initial.py index d31e053b3..e215915f5 100644 --- a/nablapps/poll/migrations/0001_initial.py +++ b/nablapps/poll/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] diff --git a/nablapps/poll/migrations/0001_squashed_0008_remove_poll_content_type.py b/nablapps/poll/migrations/0001_squashed_0008_remove_poll_content_type.py index 000988b67..3affd2e8a 100644 --- a/nablapps/poll/migrations/0001_squashed_0008_remove_poll_content_type.py +++ b/nablapps/poll/migrations/0001_squashed_0008_remove_poll_content_type.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - replaces = [ ("poll", "0001_initial"), ("poll", "0002_auto_20150401_1806"), diff --git a/nablapps/poll/migrations/0002_auto_20150401_1806.py b/nablapps/poll/migrations/0002_auto_20150401_1806.py index b44042f1f..f5f553002 100644 --- a/nablapps/poll/migrations/0002_auto_20150401_1806.py +++ b/nablapps/poll/migrations/0002_auto_20150401_1806.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("poll", "0001_initial"), ] diff --git a/nablapps/poll/migrations/0002_poll_answer.py b/nablapps/poll/migrations/0002_poll_answer.py index 115ecf0a8..f70e2b33f 100644 --- a/nablapps/poll/migrations/0002_poll_answer.py +++ b/nablapps/poll/migrations/0002_poll_answer.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("poll", "0001_squashed_0008_remove_poll_content_type"), ] diff --git a/nablapps/poll/migrations/0003_auto_20150925_2315.py b/nablapps/poll/migrations/0003_auto_20150925_2315.py index 30d11b2ad..c1bd59dcc 100644 --- a/nablapps/poll/migrations/0003_auto_20150925_2315.py +++ b/nablapps/poll/migrations/0003_auto_20150925_2315.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("poll", "0002_auto_20150401_1806"), diff --git a/nablapps/poll/migrations/0003_poll_randomise.py b/nablapps/poll/migrations/0003_poll_randomise.py index 4a57b1ba3..6f1e32b66 100644 --- a/nablapps/poll/migrations/0003_poll_randomise.py +++ b/nablapps/poll/migrations/0003_poll_randomise.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("poll", "0002_poll_answer"), ] diff --git a/nablapps/poll/migrations/0004_poll_is_user_poll.py b/nablapps/poll/migrations/0004_poll_is_user_poll.py index 5bc76f702..4a3e0be37 100644 --- a/nablapps/poll/migrations/0004_poll_is_user_poll.py +++ b/nablapps/poll/migrations/0004_poll_is_user_poll.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("poll", "0003_auto_20150925_2315"), ] diff --git a/nablapps/poll/migrations/0005_auto_20150926_0938.py b/nablapps/poll/migrations/0005_auto_20150926_0938.py index d7272bff5..8ca868382 100644 --- a/nablapps/poll/migrations/0005_auto_20150926_0938.py +++ b/nablapps/poll/migrations/0005_auto_20150926_0938.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("poll", "0004_poll_is_user_poll"), ] diff --git a/nablapps/poll/migrations/0006_auto_20150926_1409.py b/nablapps/poll/migrations/0006_auto_20150926_1409.py index 264d83ed1..b2c974cb5 100644 --- a/nablapps/poll/migrations/0006_auto_20150926_1409.py +++ b/nablapps/poll/migrations/0006_auto_20150926_1409.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("poll", "0005_auto_20150926_0938"), ] diff --git a/nablapps/poll/migrations/0007_poll_content_type.py b/nablapps/poll/migrations/0007_poll_content_type.py index 4603d3242..bc25a92f6 100644 --- a/nablapps/poll/migrations/0007_poll_content_type.py +++ b/nablapps/poll/migrations/0007_poll_content_type.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("contenttypes", "0002_remove_content_type_name"), ("poll", "0006_auto_20150926_1409"), diff --git a/nablapps/poll/migrations/0008_remove_poll_content_type.py b/nablapps/poll/migrations/0008_remove_poll_content_type.py index f706b3732..9c93a2df8 100644 --- a/nablapps/poll/migrations/0008_remove_poll_content_type.py +++ b/nablapps/poll/migrations/0008_remove_poll_content_type.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("poll", "0007_poll_content_type"), ] diff --git a/nablapps/qrTickets/migrations/0001_initial.py b/nablapps/qrTickets/migrations/0001_initial.py index 0a70d2e15..fd6eb73ec 100644 --- a/nablapps/qrTickets/migrations/0001_initial.py +++ b/nablapps/qrTickets/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/nablapps/qrTickets/migrations/0002_qrevent_nabla_event.py b/nablapps/qrTickets/migrations/0002_qrevent_nabla_event.py index b8b9ca905..b7997faa4 100644 --- a/nablapps/qrTickets/migrations/0002_qrevent_nabla_event.py +++ b/nablapps/qrTickets/migrations/0002_qrevent_nabla_event.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("events", "0011_auto_20200909_1636"), ("qrTickets", "0001_initial"), diff --git a/nablapps/vote/migrations/0001_initial.py b/nablapps/vote/migrations/0001_initial.py index 7193f0b11..042d13ac7 100644 --- a/nablapps/vote/migrations/0001_initial.py +++ b/nablapps/vote/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/nablapps/vote/migrations/0002_auto_20210203_1912.py b/nablapps/vote/migrations/0002_auto_20210203_1912.py index b858b61c3..b0890bcfe 100644 --- a/nablapps/vote/migrations/0002_auto_20210203_1912.py +++ b/nablapps/vote/migrations/0002_auto_20210203_1912.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("vote", "0001_initial"), diff --git a/nablapps/vote/migrations/0003_auto_20210210_2135.py b/nablapps/vote/migrations/0003_auto_20210210_2135.py index a1c28625c..00f38a7ac 100644 --- a/nablapps/vote/migrations/0003_auto_20210210_2135.py +++ b/nablapps/vote/migrations/0003_auto_20210210_2135.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("vote", "0002_auto_20210203_1912"), ] diff --git a/nablapps/vote/migrations/0004_votingevent_eligible_group.py b/nablapps/vote/migrations/0004_votingevent_eligible_group.py index a0cd3f8f7..d5cbfd89e 100644 --- a/nablapps/vote/migrations/0004_votingevent_eligible_group.py +++ b/nablapps/vote/migrations/0004_votingevent_eligible_group.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("accounts", "0006_auto_20210413_1346"), ("vote", "0003_auto_20210210_2135"), diff --git a/nablapps/vote/migrations/0005_auto_20210927_0206.py b/nablapps/vote/migrations/0005_auto_20210927_0206.py index ea5a80aa8..d4a1e85d1 100644 --- a/nablapps/vote/migrations/0005_auto_20210927_0206.py +++ b/nablapps/vote/migrations/0005_auto_20210927_0206.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("vote", "0004_votingevent_eligible_group"), ] diff --git a/nablapps/vote/migrations/0006_auto_20220210_2046.py b/nablapps/vote/migrations/0006_auto_20220210_2046.py index e38d9b367..a09a79fd2 100644 --- a/nablapps/vote/migrations/0006_auto_20220210_2046.py +++ b/nablapps/vote/migrations/0006_auto_20220210_2046.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("vote", "0005_auto_20210927_0206"), diff --git a/nablapps/vote/migrations/0007_alternative_is_winner.py b/nablapps/vote/migrations/0007_alternative_is_winner.py index b611d35f0..0fadaba76 100644 --- a/nablapps/vote/migrations/0007_alternative_is_winner.py +++ b/nablapps/vote/migrations/0007_alternative_is_winner.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("vote", "0006_auto_20220210_2046"), ] diff --git a/nablapps/vote/migrations/0007_voting_is_preference_vote.py b/nablapps/vote/migrations/0007_voting_is_preference_vote.py index 233d3cf50..5559e3c9e 100644 --- a/nablapps/vote/migrations/0007_voting_is_preference_vote.py +++ b/nablapps/vote/migrations/0007_voting_is_preference_vote.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("vote", "0006_auto_20220210_2046"), ] diff --git a/nablapps/vote/migrations/0008_merge_20220211_0058.py b/nablapps/vote/migrations/0008_merge_20220211_0058.py index ef4149020..9f189e1aa 100644 --- a/nablapps/vote/migrations/0008_merge_20220211_0058.py +++ b/nablapps/vote/migrations/0008_merge_20220211_0058.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("vote", "0007_voting_is_preference_vote"), ("vote", "0007_alternative_is_winner"), diff --git a/nablapps/vote/migrations/0009_votingevent_polling_period.py b/nablapps/vote/migrations/0009_votingevent_polling_period.py index 7b230263d..05ba73215 100644 --- a/nablapps/vote/migrations/0009_votingevent_polling_period.py +++ b/nablapps/vote/migrations/0009_votingevent_polling_period.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("vote", "0008_merge_20220211_0058"), ] diff --git a/nablapps/vote/migrations/0010_auto_20220215_1109.py b/nablapps/vote/migrations/0010_auto_20220215_1109.py index 265b36eb8..ed9201d2a 100644 --- a/nablapps/vote/migrations/0010_auto_20220215_1109.py +++ b/nablapps/vote/migrations/0010_auto_20220215_1109.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("vote", "0009_votingevent_polling_period"), ] diff --git a/nablapps/vote/models.py b/nablapps/vote/models.py index ae33ecde6..c4cad11db 100644 --- a/nablapps/vote/models.py +++ b/nablapps/vote/models.py @@ -222,7 +222,7 @@ def submit_stv_votes(self, user, ballot_dict): ) new_ballot.save() # Create BallotEntry instances - for (alt_pk, pri) in zip(alt_pks, ballot_dict): + for alt_pk, pri in zip(alt_pks, ballot_dict): alt = Alternative.objects.get(pk=alt_pk) new_entry = BallotEntry.objects.create( container=new_ballot, priority=pri, alternative=alt