Skip to content
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

Simplify and Modernize installation by using integration points, Poetry, and removing tom_registration_base #12

Conversation

jchate6
Copy link

@jchate6 jchate6 commented Jan 22, 2025

This PR is purely about streamlining and modernizing installation.
Actual function and registration are not completed yet, thus the currently failing tests.

This requires:

@jchate6 jchate6 linked an issue Jan 22, 2025 that may be closed by this pull request
2 tasks
@jchate6 jchate6 requested a review from phycodurus January 22, 2025 22:53
@jchate6 jchate6 marked this pull request as ready for review January 22, 2025 22:53
@jchate6 jchate6 linked an issue Jan 22, 2025 that may be closed by this pull request
3 tasks
@jchate6 jchate6 changed the title 10 simplify installation by using integration points Simplify and Modernize installation by using integration points, Poetry, and removing tom_registration_base Jan 22, 2025
@phycodurus phycodurus changed the base branch from main to dev January 27, 2025 23:34
@@ -21,6 +22,7 @@ class OpenRegistrationView(CreateView):
template_name = 'tom_registration/register_user.html'
success_url = reverse_lazy(settings.TOM_REGISTRATION.get('REGISTRATION_REDIRECT_PATTERN', ''))
form_class = OpenRegistrationForm
extra_context = {'version': __version__}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice -- I didn't know you could add to the context this way. Now I see it

BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), APP_NAME))


def boot_django():

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay!

@jchate6 jchate6 changed the base branch from dev to 7-revisit-and-revamp-tom-registration January 28, 2025 17:44
@jchate6 jchate6 merged commit 6cddd64 into 7-revisit-and-revamp-tom-registration Jan 28, 2025
2 of 18 checks passed
@jchate6 jchate6 deleted the 10-simplify-installation-by-using-integration-points branch January 28, 2025 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged (to dev)
2 participants