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

Documentation Enable Hosted Deposits #649

Open
ajuricabense opened this issue Jul 20, 2022 · 2 comments
Open

Documentation Enable Hosted Deposits #649

ajuricabense opened this issue Jul 20, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@ajuricabense
Copy link

This is an issue about documentation. Please let me know how to report issues specific to documentation, because I didn't find any option to perform.

In the section Enable Hosted Deposits & Withdraws/Processing Form Data it shows to implement the file:

from decimal import Decimal
from django import forms
from rest_framework.request import Request
from polaris.models import Transaction
from polaris.templates import Template
from polaris.integrations import (
    DepositIntegration,
    WithdrawIntegration,
    TransactionForm
)
from .users import user_for_account, create_user
....

However it does not specify the name and location suggested to implement in the user guide.

enable_host

@JakeUrban
Copy link
Contributor

Hi @ajuricabense, I can update this, but it doesn't really matter where this file is in your project. You just need to be able to import it in your apps.py file so you can register the integration subclass.

@JakeUrban JakeUrban added the documentation Improvements or additions to documentation label Jul 20, 2022
@ajuricabense
Copy link
Author

@JakeUrban your answer seems obvious but for me that I am a beginner and the ones that follow the user guide could be nice to have explicit explained the file.

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

No branches or pull requests

2 participants