Skip to content

Commit

Permalink
cleanup tests, remove unused stuff in user app
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk committed Sep 12, 2024
1 parent dc12fb6 commit c12fa09
Show file tree
Hide file tree
Showing 42 changed files with 0 additions and 1,117 deletions.
28 changes: 0 additions & 28 deletions euth/dashboard/templates/euth_dashboard/dropdown.html

This file was deleted.

Empty file.
36 changes: 0 additions & 36 deletions euth/dashboard/templatetags/form_tags.py

This file was deleted.

32 changes: 0 additions & 32 deletions euth/dashboard/templatetags/react_user_list.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ <h1 class="block-title">{% trans 'Take part in a project' %}</h1>
</header>

<ul class="nav nav-tabs tab-switch" role="tablist">
<li role="presentation">
<a href="{% url 'project-list' %}">{% trans 'Find a project' %}</a>
</li>
<li role="presentation" class="active">
<a href="{% url 'organisation-list' %}"
class="tab-switch-active-link">{% trans 'Search for organisation' %}</a>
Expand Down
28 changes: 0 additions & 28 deletions euth/users/api.py

This file was deleted.

3 changes: 0 additions & 3 deletions euth/users/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@
class Config(AppConfig):
name = 'euth.users'
label = 'euth_users'

def ready(self):
import euth.users.signals # noqa:F401
23 changes: 0 additions & 23 deletions euth/users/fields.py

This file was deleted.

4 changes: 0 additions & 4 deletions euth/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ class Meta:
verbose_name = _("User")
verbose_name_plural = _("Users")

def get_absolute_url(self):
from django.urls import reverse
return reverse('profile', kwargs={'slug': str(self.username)})

def __str__(self):
return self.get_full_name()

Expand Down
26 changes: 0 additions & 26 deletions euth/users/serializers.py

This file was deleted.

24 changes: 0 additions & 24 deletions euth/users/signals.py

This file was deleted.

8 changes: 0 additions & 8 deletions euth/users/urls.py

This file was deleted.

23 changes: 0 additions & 23 deletions euth/users/views.py

This file was deleted.

31 changes: 0 additions & 31 deletions euth/users/widgets.py

This file was deleted.

6 changes: 0 additions & 6 deletions euth_wagtail/settings/test.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
from .dev import *

INSTALLED_APPS += [
'tests.apps.blog.apps.BlogConfig',
'tests.apps.fakeprojects.apps.FakeProjectsConfig'

]

A4_ORGANISATION_FACTORY = 'tests.organisations.factories.OrganisationFactory'
A4_USER_FACTORY = 'tests.factories.UserFactory'

Expand Down
38 changes: 0 additions & 38 deletions euth_wagtail/templates/a4dashboard/base_dashboard.html

This file was deleted.

18 changes: 0 additions & 18 deletions euth_wagtail/templates/a4dashboard/base_project_list.html

This file was deleted.

Loading

0 comments on commit c12fa09

Please sign in to comment.