Skip to content

Fixed missing phone number in Django Shop Plugin#863

Open
shivamraj74 wants to merge 1 commit into
awesto:masterfrom
shivamraj74:master
Open

Fixed missing phone number in Django Shop Plugin#863
shivamraj74 wants to merge 1 commit into
awesto:masterfrom
shivamraj74:master

Conversation

@shivamraj74

Copy link
Copy Markdown

Missing phone number option in link plugin #861 Django Shop plugin is missing due to overriding the LinkForm.LINK_TYPE_CHOICES property. By letting add to LinkForm if the phone number exists.

Missing phone number option in link plugin awesto#861 Django Shop plugin is missing due to overriding the LinkForm.LINK_TYPE_CHOICES property.
@execut

execut commented Aug 30, 2021

Copy link
Copy Markdown
Contributor

@shivamraj74 I already fixed it bug here #862. I think my solution is more correct since it eliminates duplication of the parent's code.

@shivamraj74

Copy link
Copy Markdown
Author

I think simply eliminating the parent's code, could not arise security issues?

@execut

execut commented Aug 30, 2021

Copy link
Copy Markdown
Contributor

I think simply eliminating the parent's code, could not arise security issues?

I don't quite understand how this can cause security problems. Please, show me an example.

@shivamraj74

Copy link
Copy Markdown
Author

Well, it was missing due to overriding of class LinkForm property, so I basically corrected at cascade plugin and now let the owner decide it.

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