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

fix: custom_example app not working #875

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Sep 13, 2024

Overview

Ensure custom_example app will render.

Related

This bug kept confusing me when I use the app as reference but it does not work.

Changes

  • changed path syntax for url

Testing

  1. In custom_app_settings.py, add custom_example app e.g.
    CUSTOM_APPS = ['apps.custom_example']
  2. In urls_custom.py, add custom_example app e.g.
    re_path(r'^custom_test/', include('apps.custom_example.urls', namespace='custom_test')),
  3. Open https://localhost:8000/custom_test.
  4. See "CUSTOM APP" page rendered.

UI

custom_test

@wesleyboar wesleyboar added the bug Something isn't working label Sep 13, 2024
@wesleyboar wesleyboar marked this pull request as ready for review September 13, 2024 22:43
@wesleyboar wesleyboar merged commit a0d139c into main Sep 13, 2024
@wesleyboar wesleyboar deleted the fix/custom_example-app branch September 13, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant