-
Notifications
You must be signed in to change notification settings - Fork 74
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
Question: How correctly test app? #44
Comments
Probably the best way to test initially is to run your project locally and see if it works. If you look within the repos of apps that have been updated recently (including this one), you can see the Circle CI and tox configurations. We use these to find errors by running tox or detox. Some apps have smoke tests, but unfortunately, the coverage is not 100% at this time. |
@KatherineMichel hello! Thank you for your answer. I want to run my project locally but I don't see the whole thing. How |
@NogerbekNurzhan I do not think we have a demo like that atm. In addition to the docs in the README, there could be some project on GitHub that has used pinax referrals. https://github.com/search?q=pinax-referrals&type=Code |
Hi @NogerbekNurzhan, did you make any progress on this? |
Hellow guyz, am working on pinax-referrals intergrating it with my Django app. SO far i have managed to generate referral code for every user that has signed up. my problem is that, when i output those refferal link generated for a user, it brings a domain name that is http://example.com/referrals/iqtK4SBNWcE59TN2E2oCbRZcS4ui1sadtO8iHyB3/. How can i remove that domain name and replace it with the domain name of my local host domain? |
Also from the above, i have created a view which welcomes a user who has joined using a referral link. i want the view to display the name of the referrer, something like, "welcome, you have been invited by {{ the username of the referrer }} ". But am having a challenge to connect that referral link to my welcome view for the referred users. i have tried to search the pinax-referral documentation but it is not bringing it out clearly for a newbee like me to understand well. any help so please |
Hi, for your first question, are you using pinax-referrals with a pinax-starter-project? If so, I believe you can change this domain name through |
For second answer, not sure the answer atm, but I'm looking at the |
Hello! :)
I am trying to create referral system in my Django project. I found your very interesting app and want to test it for this task.
From documentation its not clear how correctly to use it and there is no example. As I understand we need make next steps:
Profile
models with such code:How correct are my steps? Could you give a simple example for the understanding please?
The text was updated successfully, but these errors were encountered: