Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:
Report bugs at https://github.com/vintasoftware/django-virtual-models/issues
Before reporting a bug, please double-check the requirements of this project: https://github.com/vintasoftware/django-virtual-models/blob/main/README.md#requirements
If you think you really found a bug, please create a GitHub issue and use the "Bug report" template.
Look through the GitHub issues for bugs. Anything tagged with "bug" and "help wanted" is open to whoever wants to implement it. Please comment on the issue saying you're working in a solution.
Look through the GitHub issues for features. Anything tagged with "enhancement" and "help wanted" is open to whoever wants to implement it. Please comment on the issue saying you're working in a solution.
django-virtual-models could always use more documentation, whether as part of the official django-virtual-models docs, in docstrings, or even on the web in blog posts, articles, and such.
If you have a suggestion, concern, or want to propose a feature, please create a GitHub issue and use the "New feature" template.
Ready to contribute? Please read our Code of Conduct: https://github.com/vintasoftware/django-virtual-models/blob/main/CODE_OF_CONDUCT.md
Now, here's how to set up django-virtual-models for local development.
Fork the django-virtual-models repo on GitHub.
Clone your fork locally:
$ git clone [email protected]:your_name_here/django-virtual-models.git
3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:
$ mkvirtualenv django-virtual-models
$ cd django-virtual-models/
Install the project and the dev requirements:
$ pip install -e ".[doc,dev,test]"
Install pre-commit checks:
$ pre-commit install
Create a branch for local development:
$ git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
7. When you're done making changes, check that your changes pass tests, including testing other Python and Django versions with tox:
$ pytest
$ pytest example
$ tox
Commit your changes and push your branch to GitHub:
$ git add . $ git commit -m "Your detailed description of your changes." $ git push origin name-of-your-bugfix-or-feature
Submit a Pull Request through the GitHub website.
Before you submit a Pull Request, check that it meets these guidelines:
- The Pull Request should include tests.
- If the Pull Request adds functionality, the docs should be updated.
- The CI should pass.