Skip to content

fix: custom_example app not working#875

Merged
wesleyboar merged 1 commit intomainfrom
fix/custom_example-app
Sep 13, 2024
Merged

fix: custom_example app not working#875
wesleyboar merged 1 commit intomainfrom
fix/custom_example-app

Conversation

@wesleyboar
Copy link
Copy Markdown
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