Skip to content

[WiP] Remove TODOs #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ dist
# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
# vuepress v2.x temporary and cache directory
.temp

# Docusaurus cache and generated files
Expand Down
2 changes: 0 additions & 2 deletions backend/donations/models/donors.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ class Donor(models.Model):

ngo = models.ForeignKey("Ngo", verbose_name=_("NGO"), on_delete=models.SET_NULL, db_index=True, null=True)

# TODO: first name and last name have been swapped
# https://github.com/code4romania/redirectioneaza/issues/269
l_name = models.CharField(verbose_name=_("last name"), blank=True, null=False, default="", max_length=100)
f_name = models.CharField(verbose_name=_("first name"), blank=True, null=False, default="", max_length=100)
initial = models.CharField(verbose_name=_("initials"), blank=True, null=False, default="", max_length=5)
Expand Down
2 changes: 0 additions & 2 deletions backend/donations/views/donations_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ def _package_donations(tmp_dir_name: str, donations: QuerySet[Donor], ngo: Ngo,
detailed_address: Dict = _get_address_details(donation_object)
donations_data.append(
{
# TODO: first name and last name have been swapped
# https://github.com/code4romania/redirectioneaza/issues/269
"last_name": donation_object.l_name,
"first_name": donation_object.f_name,
"initial": donation_object.initial,
Expand Down
Empty file removed backend/importer/__init__.py
Empty file.
8 changes: 0 additions & 8 deletions backend/importer/apps.py

This file was deleted.

66 changes: 0 additions & 66 deletions backend/importer/extract.py

This file was deleted.

48 changes: 0 additions & 48 deletions backend/importer/migrations/0001_initial.py

This file was deleted.

27 changes: 0 additions & 27 deletions backend/importer/migrations/0002_alter_importjob_import_type.py

This file was deleted.

18 changes: 0 additions & 18 deletions backend/importer/migrations/0003_alter_importjob_csv_file.py

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions backend/importer/migrations/0005_delete_importjob.py

This file was deleted.

Empty file.
Empty file removed backend/importer/tasks/__init__.py
Empty file.
63 changes: 0 additions & 63 deletions backend/importer/tasks/donor_forms.py

This file was deleted.

67 changes: 0 additions & 67 deletions backend/importer/tasks/repair_addresses.py

This file was deleted.

4 changes: 0 additions & 4 deletions backend/importer/tasks/utils.py

This file was deleted.

1 change: 1 addition & 0 deletions backend/redirectioneaza/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"allauth.socialaccount",
"allauth.socialaccount.providers.amazon_cognito",
# custom apps:
"users",
"donations",
"frequent_questions",
"importer",
Expand Down
Loading