Skip to content

Commit c159204

Browse files
authored
[Package Rename] django-mongodb -> django-mongodb-backend (#208)
1 parent 082f12d commit c159204

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+77
-55
lines changed

.github/workflows/mongodb_settings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
DATABASES = {
22
"default": {
3-
"ENGINE": "django_mongodb",
3+
"ENGINE": "django_mongodb_backend",
44
"NAME": "djangotests",
55
},
66
"other": {
7-
"ENGINE": "django_mongodb",
7+
"ENGINE": "django_mongodb_backend",
88
"NAME": "djangotests-other",
99
},
1010
}
11-
DEFAULT_AUTO_FIELD = "django_mongodb.fields.ObjectIdAutoField"
11+
DEFAULT_AUTO_FIELD = "django_mongodb_backend.fields.ObjectIdAutoField"
1212
PASSWORD_HASHERS = ("django.contrib.auth.hashers.MD5PasswordHasher",)
1313
SECRET_KEY = "django_tests_secret_key"
1414
USE_TZ = False

.github/workflows/release-python.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,23 @@ jobs:
6565

6666
publish:
6767
needs: [build-dist, static-scan]
68+
name: Upload release to PyPI
69+
runs-on: ubuntu-latest
70+
environment: release
71+
permissions:
72+
id-token: write
73+
steps:
74+
- name: Download all the dists
75+
uses: actions/download-artifact@v4
76+
with:
77+
name: all-dist-${{ github.run_id }}
78+
path: dist/
79+
- name: Publish package distributions to PyPI
80+
if: startsWith(inputs.dry_run, 'false')
81+
uses: pypa/gh-action-pypi-publish@release/v1
82+
83+
post-publish:
84+
needs: [publish]
6885
runs-on: ubuntu-latest
6986
environment: release
7087
permissions:

.github/workflows/runtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"validation",
150150
"view_tests",
151151
"xor_lookups",
152-
# Add directories in django_mongodb/tests
152+
# Add directories in django_mongodb_backend/tests
153153
*sorted(
154154
[
155155
x.name

README.md

Lines changed: 9 additions & 9 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)