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

Fixes issue #287 #298

Closed
wants to merge 3 commits into from
Closed

Fixes issue #287 #298

wants to merge 3 commits into from

Conversation

shashwat1002
Copy link

'primary' is an sql reserved keyword and hence, and a field name is named that. This pull request changes all references of the field 'primary' to 'is_primary', it has changed all references in all functions which use 'primary' for whatever purpose and has also run migrations (as the field name has been changed).

@brosner
Copy link
Member

brosner commented Oct 24, 2018

I have never come across this being a problem in all the time I've used DUA and the predecessor django-email-confirmation with this field name (and it's been the same for the entirety of Pinax).

Is there some tool being used that didn't properly escape field names? I am not against this change, but I really would rather understand what is causing the problem before committing to a change like this.

@paltman
Copy link
Member

paltman commented Nov 24, 2021

closing as I agree with @brosner and it's been a few years with no response to his question. happy to reconsider if there is support for it.

@paltman paltman closed this Nov 24, 2021
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.

3 participants