-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Oscar dynamic loading with get_class
One of the main concern about django-oscar-adyen is that one may want to override parts of the application. For example, how the merchantData are used, or what to do to record a transaction. Since there is no one-size-fit-all, I reuse here a very convenient tool from django-oscar: `oscar.core.loading.get_class`. This tool allows us to provide a base interface, that can be used almost out of the box, and make possible anyone to override parts of it. This is only the first step to a real modular django-oscar plugin, but that's a good first step.
- Loading branch information
Showing
3 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters