Skip to content

Commit aaa5544

Browse files
Rename project to best practices. (#5)
This better reflects the purpose of the repository.
1 parent e49585f commit aaa5544

File tree

11 files changed

+20
-20
lines changed

11 files changed

+20
-20
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on: push
44

55
env:
66
# Change these for your project's URLs
7-
PYPI_URL: https://pypi.org/p/django-commons-playground
8-
PYPI_TEST_URL: https://test.pypi.org/p/django-commons-playground
7+
PYPI_URL: https://pypi.org/p/django-commons-best-practices
8+
PYPI_TEST_URL: https://test.pypi.org/p/django-commons-best-practices
99

1010
jobs:
1111

CODE_OF_CONDUCT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Django Commons Playground Code of Conduct
1+
# Code of Conduct
22

3-
The django-commons-playground project utilizes the [Django Commons Code of Conduct](https://github.com/django-commons/membership/blob/main/CODE_OF_CONDUCT.md).
3+
The best-practices project utilizes the [Django Commons Code of Conduct](https://github.com/django-commons/membership/blob/main/CODE_OF_CONDUCT.md).

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
This is an example repository for Django Commons. Some relevant areas to review are:
44

5-
- GitHub action ([release.yml](https://github.com/django-commons/django-commons-playground/blob/main/.github/workflows/release.yml)) for releasing to PyPI
5+
- GitHub action ([release.yml](https://github.com/django-commons/best-practices/blob/main/.github/workflows/release.yml)) for releasing to PyPI
66
- [Documentation](docs/README.md)

docs/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Documentation
22

3-
The documentation for Django Commons Playground serves as an example for what
3+
The documentation for Django Commons Best Practices serves as an example for what
44
a repository should contain. The structure doesn't have to be exactly the same
55
as this, but it's a starting point. Any docs is better than no docs. Maintained
66
and organized docs are the best docs.

docs/contributing.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# Contributing
22

3-
Everyone is welcome to contribute to `django-commons-playground`. We strictly
3+
Everyone is welcome to contribute to `best-practices`. We strictly
44
enforce our [Code of Conduct](../CODE_OF_CONDUCT.md), so please review it before
55
contributing.
66

77
## Getting started
88

9-
1. [Fork the repository](https://github.com/django-commons/django-commons-playground/fork)
10-
2. Clone your fork of the repository `git clone [email protected]:[YOUR_USERNAME_HERE]/django-commons-playground.git && cd django-commons-playground`
9+
1. [Fork the repository](https://github.com/django-commons/best-practices/fork)
10+
2. Clone your fork of the repository `git clone [email protected]:[YOUR_USERNAME_HERE]/best-practices.git && cd best-practices`
1111
3. Create a venv and activate it `python -m venv venv && source venv/bin/activate`
1212
4. Create a feature branch for your work `git checkout -b relevant-branch-name-here`
1313
5. Implement your changes, run the tests and make a commit to your branch
1414
6. Push your branch to GitHub `git push origin relevant-branch-name-here`
15-
7. Create a [PR on the upstream repo (this repo)](https://github.com/django-commons/django-commons-playground/pulls)
15+
7. Create a [PR on the upstream repo (this repo)](https://github.com/django-commons/best-practices/pulls)
1616

1717
## Architecture
1818

19-
The django-commons-playground is a collection of utility functions with a
19+
The best-practices is a collection of utility functions with a
2020
playground theme. The purpose is to serve as an example to inbound repositories.
2121
Because of that the documentation, pre-commit configuration and GitHub actions
2222
are the most important aspects of the project. The code itself is secondary.
@@ -31,7 +31,7 @@ Nothing special here!
3131

3232
## Releasing
3333

34-
The repo is configured to [automatically release to PyPI](https://github.com/django-commons/django-commons-playground/blob/main/.github/workflows/release.yml)
34+
The repo is configured to [automatically release to PyPI](https://github.com/django-commons/best-practices/blob/main/.github/workflows/release.yml)
3535
when a new tag is pushed to GitHub. This makes use of [PyPI's trusted publishers](https://docs.pypi.org/trusted-publishers/).
3636

3737
### Manual releases

docs/getting_started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ after [installing the project](installation.md), you can use the functionality
55
as such:
66

77
```python
8-
from django_commons_playground import playground
8+
from django_commons_best_practices import playground
99

1010
print(playground.seesaw())
1111
print(playground.seesaw())

docs/installation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Installation
22

3-
This section explains how to install `django-commons-playground` to use within
3+
This section explains how to install `django-commons-best-practices` to use within
44
your project. It assumes you have a working installation of Python 3.
55

66
1. Create venv/virtualenv (`python -m venv venv`)
77
2. Activate venv/virtualenv (`source venv/bin/activate`)
8-
3. Install `django-commons-playground` (`pip install django-commons-playground`)
8+
3. Install `django-commons-best-practices` (`pip install django-commons-best-practices`)
99

1010
All together now:
1111

1212
```shell
1313
python -m venv venv
1414
source venv/bin/activate
15-
pip install django-commons-playground
15+
pip install django-commons-best-practices
1616
```

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "django_commons_playground"
6+
name = "django-commons-best-practices"
77
version = "1.1.0"
88
authors = [
99
{ name="Tim Schilling", email="[email protected]" },
@@ -22,5 +22,5 @@ keywords = [
2222
]
2323

2424
[project.urls]
25-
Homepage = "https://github.com/django-commons/django-commons-playground"
26-
Issues = "https://github.com/django-commons/django-commons-playground/issues"
25+
Homepage = "https://github.com/django-commons/best-practices"
26+
Issues = "https://github.com/django-commons/best-practices/issues"

tests/test_playground.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from unittest import TestCase
22

3-
from src.django_commons_playground import playground
3+
from src.django_commons_best_practices import playground
44

55

66
class TestPlayground(TestCase):

0 commit comments

Comments
 (0)