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

'if' tests the other way around #455

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

awhileback
Copy link

@awhileback awhileback commented May 13, 2021

The conditional check on attachments being disabled in the config is broken (on Django 3.1, haven't tested earlier versions). It tests the other way around from the way it currently works, this fixes it so people who have attachments disabled no longer have to specify other attachment settings.

@amrishparmar
Copy link

I think the existing behaviour is correct here. The urls should only be getting appended if attachments are enabled or equivalently not disabled. The proposed change would append the urlpatterns even if the feature is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants