id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
22,400 | image.py | wger-project_wger/wger/gallery/models/image.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 3,106 | Python | .py | 92 | 28.5 | 86 | 0.689045 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,401 | 0001_initial.py | wger-project_wger/wger/gallery/migrations/0001_initial.py | # Generated by Django 3.1.8 on 2021-05-03 10:53
import datetime
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import wger.gallery.models.image
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_depe... | 1,896 | Python | .py | 52 | 21.288462 | 95 | 0.469821 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,402 | images.py | wger-project_wger/wger/gallery/views/images.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 3,253 | Python | .py | 98 | 28.22449 | 78 | 0.697125 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,403 | serializers.py | wger-project_wger/wger/gallery/api/serializers.py | # Third Party
from rest_framework import serializers
# wger
from wger.gallery.models import Image
class ImageSerializer(serializers.ModelSerializer):
"""
Exercise serializer
"""
class Meta:
model = Image
fields = ['id', 'date', 'image', 'description', 'height', 'width']
| 307 | Python | .py | 11 | 23.636364 | 74 | 0.691781 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,404 | views.py | wger-project_wger/wger/gallery/api/views.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 1,897 | Python | .py | 55 | 30.145455 | 78 | 0.720219 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,405 | test_gallery_overview.py | wger-project_wger/wger/gallery/tests/test_gallery_overview.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,467 | Python | .py | 35 | 37.485714 | 78 | 0.732444 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,406 | test_gallery_image.py | wger-project_wger/wger/gallery/tests/test_gallery_image.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,947 | Python | .py | 58 | 30.62069 | 78 | 0.690426 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,407 | signals.py | wger-project_wger/wger/config/signals.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 664 | Python | .py | 14 | 46.357143 | 78 | 0.781202 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,408 | urls.py | wger-project_wger/wger/config/urls.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 1,155 | Python | .py | 33 | 32.969697 | 78 | 0.750896 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,409 | apps.py | wger-project_wger/wger/config/apps.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 851 | Python | .py | 21 | 38.333333 | 78 | 0.768485 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,410 | __init__.py | wger-project_wger/wger/config/__init__.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 854 | Python | .py | 19 | 43.736842 | 78 | 0.777377 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,411 | gym_config.py | wger-project_wger/wger/config/models/gym_config.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 2,919 | Python | .py | 75 | 31.133333 | 88 | 0.644649 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,412 | __init__.py | wger-project_wger/wger/config/models/__init__.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 845 | Python | .py | 17 | 48.647059 | 79 | 0.769045 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,413 | 0003_delete_languageconfig.py | wger-project_wger/wger/config/migrations/0003_delete_languageconfig.py | # Generated by Django 4.1.7 on 2023-03-24 15:40
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('config', '0002_auto_20190618_1617'),
]
operations = [
migrations.DeleteModel(
name='LanguageConfig',
),
]
| 301 | Python | .py | 11 | 21.272727 | 47 | 0.636364 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,414 | 0002_auto_20190618_1617.py | wger-project_wger/wger/config/migrations/0002_auto_20190618_1617.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.21 on 2019-06-18 16:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('config', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='languageconfig',
... | 594 | Python | .py | 21 | 17.952381 | 49 | 0.483304 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,415 | 0001_initial.py | wger-project_wger/wger/config/migrations/0001_initial.py | # -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('gym', '0001_initial'),
('core', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='GymConfig',
fields=[
... | 2,594 | Python | .py | 75 | 17.053333 | 181 | 0.378926 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,416 | gym_config.py | wger-project_wger/wger/config/views/gym_config.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 1,417 | Python | .py | 38 | 34.236842 | 78 | 0.756026 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,417 | test_gym_config.py | wger-project_wger/wger/config/tests/test_gym_config.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 3,457 | Python | .py | 86 | 33.22093 | 95 | 0.668953 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,418 | test_custom_header.py | wger-project_wger/wger/config/tests/test_custom_header.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 2,174 | Python | .py | 61 | 28.639344 | 78 | 0.647646 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,419 | models.py | wger-project_wger/wger/weight/models.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of... | 3,234 | Python | .py | 83 | 34.445783 | 85 | 0.708506 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,420 | urls.py | wger-project_wger/wger/weight/urls.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 1,713 | Python | .py | 57 | 25.45614 | 78 | 0.6808 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,421 | __init__.py | wger-project_wger/wger/weight/__init__.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 802 | Python | .py | 18 | 43.333333 | 78 | 0.774359 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,422 | helpers.py | wger-project_wger/wger/weight/helpers.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 7,665 | Python | .py | 184 | 33.657609 | 95 | 0.640926 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,423 | forms.py | wger-project_wger/wger/weight/forms.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 2,144 | Python | .py | 62 | 30.322581 | 84 | 0.677466 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,424 | views.py | wger-project_wger/wger/weight/views.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 4,933 | Python | .py | 141 | 29.602837 | 81 | 0.697097 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,425 | 0003_auto_20160416_1030.py | wger-project_wger/wger/weight/migrations/0003_auto_20160416_1030.py | # -*- coding: utf-8 -*-
from django.db import migrations, models
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('weight', '0002_auto_20150604_2139'),
]
operations = [
migrations.AlterField(
model_name='weightentry',
name='we... | 682 | Python | .py | 22 | 20.363636 | 66 | 0.539634 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,426 | 0001_initial.py | wger-project_wger/wger/weight/migrations/0001_initial.py | # -*- coding: utf-8 -*-
from django.db import models, migrations
from django.conf import settings
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
... | 1,754 | Python | .py | 50 | 19.68 | 98 | 0.445882 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,427 | 0002_auto_20150604_2139.py | wger-project_wger/wger/weight/migrations/0002_auto_20150604_2139.py | # -*- coding: utf-8 -*-
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('weight', '0001_initial'),
]
operations = [
migrations.AlterModelOptions(
name='weightentry',
options={'verbose_name': 'Weight entry', 'get_la... | 662 | Python | .py | 21 | 22.904762 | 100 | 0.55573 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,428 | serializers.py | wger-project_wger/wger/weight/api/serializers.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 1,215 | Python | .py | 34 | 31.470588 | 78 | 0.71891 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,429 | views.py | wger-project_wger/wger/weight/api/views.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 1,593 | Python | .py | 41 | 34.487805 | 78 | 0.725032 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,430 | test_email_weight_reminder.py | wger-project_wger/wger/weight/tests/test_email_weight_reminder.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 3,330 | Python | .py | 82 | 34.04878 | 78 | 0.687035 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,431 | test_csv_import.py | wger-project_wger/wger/weight/tests/test_csv_import.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 2,447 | Python | .py | 66 | 31.666667 | 96 | 0.678783 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,432 | test_overview.py | wger-project_wger/wger/weight/tests/test_overview.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 2,099 | Python | .py | 55 | 32.836364 | 81 | 0.705911 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,433 | test_csv_export.py | wger-project_wger/wger/weight/tests/test_csv_export.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,618 | Python | .py | 40 | 35.875 | 96 | 0.728781 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,434 | test_generator.py | wger-project_wger/wger/weight/tests/test_generator.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,129 | Python | .py | 26 | 40.192308 | 78 | 0.766636 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,435 | test_entry.py | wger-project_wger/wger/weight/tests/test_entry.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 2,429 | Python | .py | 80 | 26.0875 | 84 | 0.705277 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,436 | email-weight-reminder.py | wger-project_wger/wger/weight/management/commands/email-weight-reminder.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 2,779 | Python | .py | 66 | 35.106061 | 100 | 0.688172 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,437 | dummy-generator-body-weight.py | wger-project_wger/wger/weight/management/commands/dummy-generator-body-weight.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 2,709 | Python | .py | 67 | 31.776119 | 99 | 0.630095 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,438 | db.py | wger-project_wger/wger/utils/db.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 771 | Python | .py | 17 | 43.941176 | 78 | 0.788282 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,439 | models.py | wger-project_wger/wger/utils/models.py | # This file is part of Workout Manager.
#
# Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Workout Manager ... | 4,226 | Python | .py | 114 | 30.587719 | 95 | 0.664462 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,440 | api_token.py | wger-project_wger/wger/utils/api_token.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,240 | Python | .py | 34 | 32.705882 | 78 | 0.738294 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,441 | pdf.py | wger-project_wger/wger/utils/pdf.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 4,218 | Python | .py | 143 | 25.104895 | 99 | 0.695856 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,442 | viewsets.py | wger-project_wger/wger/utils/viewsets.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 2,023 | Python | .py | 48 | 34.9375 | 87 | 0.648553 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,443 | language.py | wger-project_wger/wger/utils/language.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,815 | Python | .py | 46 | 35.73913 | 92 | 0.745444 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,444 | constants.py | wger-project_wger/wger/utils/constants.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 2,026 | Python | .py | 61 | 31.508197 | 78 | 0.733367 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,445 | url.py | wger-project_wger/wger/utils/url.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,540 | Python | .py | 49 | 26.755102 | 78 | 0.670263 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,446 | cache.py | wger-project_wger/wger/utils/cache.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 3,463 | Python | .py | 85 | 35.294118 | 80 | 0.700179 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,447 | __init__.py | wger-project_wger/wger/utils/__init__.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 802 | Python | .py | 18 | 43.333333 | 78 | 0.774359 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,448 | requests.py | wger-project_wger/wger/utils/requests.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,935 | Python | .py | 54 | 30.888889 | 78 | 0.694206 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,449 | middleware.py | wger-project_wger/wger/utils/middleware.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 4,224 | Python | .py | 98 | 37.346939 | 96 | 0.716829 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,450 | generic_views.py | wger-project_wger/wger/utils/generic_views.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 10,527 | Python | .py | 274 | 30.430657 | 100 | 0.644807 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,451 | units.py | wger-project_wger/wger/utils/units.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 4,464 | Python | .py | 140 | 24.821429 | 86 | 0.625379 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,452 | widgets.py | wger-project_wger/wger/utils/widgets.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 6,752 | Python | .py | 182 | 30.351648 | 94 | 0.673382 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,453 | context_processor.py | wger-project_wger/wger/utils/context_processor.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 4,356 | Python | .py | 97 | 38.721649 | 91 | 0.689036 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,454 | fields.py | wger-project_wger/wger/utils/fields.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,555 | Python | .py | 45 | 30.288889 | 78 | 0.72515 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,455 | helpers.py | wger-project_wger/wger/utils/helpers.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 7,281 | Python | .py | 200 | 30.36 | 98 | 0.681417 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,456 | permissions.py | wger-project_wger/wger/utils/permissions.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 3,026 | Python | .py | 69 | 37.681159 | 92 | 0.696259 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,457 | test_make_token.py | wger-project_wger/wger/utils/tests/test_make_token.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 2,334 | Python | .py | 55 | 36.690909 | 78 | 0.706531 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,458 | test_unit_conversion.py | wger-project_wger/wger/utils/tests/test_unit_conversion.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 3,555 | Python | .py | 86 | 34.232558 | 78 | 0.668118 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,459 | test_url.py | wger-project_wger/wger/utils/tests/test_url.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 1,944 | Python | .py | 51 | 31.098039 | 87 | 0.635494 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,460 | test_check_access.py | wger-project_wger/wger/utils/tests/test_check_access.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 2,240 | Python | .py | 49 | 40.408163 | 84 | 0.715596 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,461 | test_middleware.py | wger-project_wger/wger/utils/tests/test_middleware.py | # This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# wger W... | 2,801 | Python | .py | 60 | 40.1 | 92 | 0.692506 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,462 | signals.py | wger-project_wger/wger/manager/signals.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 1,216 | Python | .py | 31 | 36.935484 | 78 | 0.775701 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,463 | urls.py | wger-project_wger/wger/manager/urls.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 9,742 | Python | .py | 370 | 19.878378 | 148 | 0.528903 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,464 | apps.py | wger-project_wger/wger/manager/apps.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 855 | Python | .py | 21 | 38.52381 | 78 | 0.769602 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,465 | __init__.py | wger-project_wger/wger/manager/__init__.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 857 | Python | .py | 19 | 43.894737 | 78 | 0.776978 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,466 | consts.py | wger-project_wger/wger/manager/consts.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 985 | Python | .py | 27 | 33.962963 | 79 | 0.671891 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,467 | helpers.py | wger-project_wger/wger/manager/helpers.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 9,688 | Python | .py | 230 | 32.973913 | 94 | 0.581502 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,468 | forms.py | wger-project_wger/wger/manager/forms.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 7,747 | Python | .py | 255 | 23.023529 | 92 | 0.603141 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,469 | managers.py | wger-project_wger/wger/manager/managers.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 2,843 | Python | .py | 64 | 36.5 | 90 | 0.672576 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,470 | set.py | wger-project_wger/wger/manager/models/set.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 7,889 | Python | .py | 199 | 30.537688 | 97 | 0.607905 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,471 | setting.py | wger-project_wger/wger/manager/models/setting.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 4,251 | Python | .py | 129 | 27.20155 | 98 | 0.657888 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,472 | workout.py | wger-project_wger/wger/manager/models/workout.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 6,201 | Python | .py | 167 | 27.97006 | 98 | 0.601897 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,473 | schedule.py | wger-project_wger/wger/manager/models/schedule.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 4,640 | Python | .py | 122 | 30.663934 | 96 | 0.636647 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,474 | __init__.py | wger-project_wger/wger/manager/models/__init__.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 1,046 | Python | .py | 24 | 42.541667 | 79 | 0.785504 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,475 | log.py | wger-project_wger/wger/manager/models/log.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 4,537 | Python | .py | 137 | 26.919708 | 87 | 0.651737 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,476 | schedule_step.py | wger-project_wger/wger/manager/models/schedule_step.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 2,791 | Python | .py | 77 | 30.272727 | 96 | 0.671985 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,477 | day.py | wger-project_wger/wger/manager/models/day.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 7,863 | Python | .py | 188 | 29.324468 | 96 | 0.537495 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,478 | session.py | wger-project_wger/wger/manager/models/session.py | # This file is part of wger Workout Manager <https://github.com/wger-project>.
# Copyright (C) 2013 - 2021 wger Team
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either ... | 4,276 | Python | .py | 126 | 27.793651 | 100 | 0.645419 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,479 | 0010_auto_20210102_1446.py | wger-project_wger/wger/manager/migrations/0010_auto_20210102_1446.py | # Generated by Django 3.1.3 on 2021-01-02 13:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('manager', '0009_auto_20201202_1559'),
]
operations = [
migrations.AlterField(
model_name='setting',
name='rir',
... | 1,517 | Python | .py | 52 | 13.788462 | 47 | 0.297741 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,480 | 0008_auto_20190618_1617.py | wger-project_wger/wger/manager/migrations/0008_auto_20190618_1617.py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.21 on 2019-06-18 16:17
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('manager', '0007_auto_20160311_2258'),
]
operations = [
migrations.AlterField(
... | 662 | Python | .py | 21 | 21.952381 | 66 | 0.565149 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,481 | 0016_move_to_exercise_base.py | wger-project_wger/wger/manager/migrations/0016_move_to_exercise_base.py | # Generated by Django 3.2.10 on 2022-04-20 12:39
from django.db import migrations, models
import django.db.models.deletion
"""
Migration script to move foreign keys in Settings and WorkoutLog from
Exercise to ExerciseBase. We first add a nullable FK to ExerciseBase,
then we migrate the data.
"""
def migrate_setting... | 2,858 | Python | .py | 79 | 26.126582 | 77 | 0.597182 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,482 | 0011_remove_set_exercises.py | wger-project_wger/wger/manager/migrations/0011_remove_set_exercises.py | # Generated by Django 3.1.5 on 2021-02-28 14:10
from django.db import migrations
def increment_order(apps, schema_editor):
"""
Increment the oder in settings so ensure the order is preserved
Otherwise, and depending on the database, when a set has supersets, the
exercises could be ordered alphabetic... | 978 | Python | .py | 27 | 28.37037 | 77 | 0.642251 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,483 | 0013_set_comment.py | wger-project_wger/wger/manager/migrations/0013_set_comment.py | # Generated by Django 3.2.3 on 2021-07-15 16:12
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('manager', '0012_auto_20210430_1449'),
]
operations = [
migrations.AddField(
model_name='set',
name='comment',
... | 418 | Python | .py | 13 | 25 | 87 | 0.623441 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,484 | 0004_auto_20150609_1603.py | wger-project_wger/wger/manager/migrations/0004_auto_20150609_1603.py | # -*- coding: utf-8 -*-
from django.db import models, migrations
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('manager', '0002_auto_20150202_2040'),
]
operations = [
migrations.AddField(
model_name='setting',
name='weight'... | 767 | Python | .py | 25 | 19.44 | 67 | 0.52168 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,485 | 0012_auto_20210430_1449.py | wger-project_wger/wger/manager/migrations/0012_auto_20210430_1449.py | # Generated by Django 3.1.8 on 2021-04-30 12:49
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('manager', '0011_remove_set_exercises'),
]
operations = [
migrations.RenameField(model_name='workout', old_name=... | 1,389 | Python | .py | 39 | 24.051282 | 100 | 0.543834 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,486 | 0006_auto_20160303_2138.py | wger-project_wger/wger/manager/migrations/0006_auto_20160303_2138.py | # -*- coding: utf-8 -*-
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0009_auto_20160303_2340'),
('manager', '0005_auto_20160303_2008'),
]
operations = [
migrations.RenameField(
model_name='setting',
... | 1,057 | Python | .py | 33 | 21.939394 | 94 | 0.541176 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,487 | 0001_initial.py | wger-project_wger/wger/manager/migrations/0001_initial.py | # -*- coding: utf-8 -*-
from django.db import models, migrations
import wger.utils.fields
import datetime
from django.conf import settings
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('exercises',... | 13,062 | Python | .py | 352 | 18.857955 | 194 | 0.394144 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,488 | 0015_auto_20211028_1113.py | wger-project_wger/wger/manager/migrations/0015_auto_20211028_1113.py | # Generated by Django 3.2.3 on 2021-10-28 09:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('manager', '0014_auto_20210717_1858'),
]
operations = [
migrations.AlterField(
model_name='set',
name='order',
... | 1,069 | Python | .py | 31 | 23.677419 | 110 | 0.55706 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,489 | 0009_auto_20201202_1559.py | wger-project_wger/wger/manager/migrations/0009_auto_20201202_1559.py | # Generated by Django 3.1.3 on 2020-12-02 14:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('manager', '0008_auto_20190618_1617'),
]
operations = [
migrations.AddField(
model_name='setting',
name='rir',
... | 1,551 | Python | .py | 54 | 13.277778 | 47 | 0.311453 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,490 | 0017_alter_workoutlog_exercise_base.py | wger-project_wger/wger/manager/migrations/0017_alter_workoutlog_exercise_base.py | # Generated by Django 3.2.13 on 2022-05-28 22:29
from django.db import migrations, models
import django.db.models.deletion
# Mapping of bases that should be migrated
# -> (old_base, new_base)
base_mapping = [
(
'201edd07-93f8-474b-8db0-e13e5283ee2b',
'1b9ed9da-46d1-4484-8acc-236379ee823c',
), ... | 6,233 | Python | .py | 166 | 30.457831 | 100 | 0.650033 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,491 | 0007_auto_20160311_2258.py | wger-project_wger/wger/manager/migrations/0007_auto_20160311_2258.py | # -*- coding: utf-8 -*-
from django.db import migrations, models
def convert_logs(apps, schema_editor):
"""
Adds a unit to users who have imperial units in the profile
"""
WorkoutLog = apps.get_model('manager', 'WorkoutLog')
UserProfile = apps.get_model('core', 'UserProfile')
for profile in... | 1,008 | Python | .py | 24 | 36.708333 | 87 | 0.705036 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,492 | 0014_auto_20210717_1858.py | wger-project_wger/wger/manager/migrations/0014_auto_20210717_1858.py | # Generated by Django 3.2.3 on 2021-07-17 16:58
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('manager', '0013_set_comment'),
]
operations = [
migrations.AddField(
model_name='workout',
name='is_public',
... | 636 | Python | .py | 18 | 27 | 100 | 0.610749 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,493 | 0002_auto_20150202_2040.py | wger-project_wger/wger/manager/migrations/0002_auto_20150202_2040.py | # -*- coding: utf-8 -*-
from django.db import models, migrations
from sortedm2m.operations import AlterSortedManyToManyField
import sortedm2m.fields
class Migration(migrations.Migration):
dependencies = [
('manager', '0001_initial'),
]
operations = [
AlterSortedManyToManyField(
... | 577 | Python | .py | 18 | 24.388889 | 81 | 0.63964 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,494 | 0005_auto_20160303_2008.py | wger-project_wger/wger/manager/migrations/0005_auto_20160303_2008.py | # -*- coding: utf-8 -*-
from django.db import migrations, models
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('core', '0007_repetitionunit'),
('manager', '0004_auto_20150609_1603'),
]
operations = [
migrations.AddField(
model_... | 2,523 | Python | .py | 69 | 24.434783 | 141 | 0.522041 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,495 | ical.py | wger-project_wger/wger/manager/views/ical.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 5,670 | Python | .py | 145 | 33.813793 | 97 | 0.703549 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,496 | pdf.py | wger-project_wger/wger/manager/views/pdf.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 6,401 | Python | .py | 164 | 33.493902 | 99 | 0.690572 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,497 | set.py | wger-project_wger/wger/manager/views/set.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 6,801 | Python | .py | 188 | 28.888298 | 93 | 0.635203 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,498 | workout_session.py | wger-project_wger/wger/manager/views/workout_session.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 4,703 | Python | .py | 129 | 30.511628 | 99 | 0.682658 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |
22,499 | workout.py | wger-project_wger/wger/manager/views/workout.py | # -*- coding: utf-8 -*-
# This file is part of wger Workout Manager.
#
# wger Workout Manager is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any ... | 7,951 | Python | .py | 229 | 27.864629 | 98 | 0.648194 | wger-project/wger | 3,065 | 570 | 221 | AGPL-3.0 | 9/5/2024, 5:13:18 PM (Europe/Amsterdam) |