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

checking uniqueness of national_code in sendinfo process #2

Open
likecodingloveproblems opened this issue Jan 6, 2021 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@likecodingloveproblems
Copy link
Owner

In the renewed registration process, first_name, last_name and national_code are empty. so we get them in sendinfo from user and I set them if they are empty, we have one problem and one decision here.
Problem: we don't check national_code uniqueness and if it is not unique we return an informed message so now it result to 500.
Decision: we set this new variables to user and profile if the models data are None or ''. but we can use this data to modify user and profile all time.

@likecodingloveproblems likecodingloveproblems added bug Something isn't working help wanted Extra attention is needed labels Jan 6, 2021
@likecodingloveproblems likecodingloveproblems changed the title checking unique of national_code in sendinfo process checking uniqueness of national_code in sendinfo process Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants