Skip to content

Commit

Permalink
rename repo to django-mongodb-backend (#211)
Browse files Browse the repository at this point in the history
* Rename django-mongodb -> django-mongodb-backend

* Rename django-mongodb -> django-mongodb-backend
  • Loading branch information
aclark4life authored Jan 8, 2025
1 parent fb60da0 commit f0bb211
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .evergreen/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eux

# Install the django-mongodb backend
# Install django-mongodb-backend
/opt/python/3.10/bin/python3 -m venv venv
. venv/bin/activate
python -m pip install -U pip
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ on:

env:
# Changes per repo
PRODUCT_NAME: django-mongodb
PRODUCT_NAME: django-mongodb-backend
# Changes per branch
SILK_ASSET_GROUP: django-mongodb-main
EVERGREEN_PROJECT: django-mongodb
SILK_ASSET_GROUP: django-mongodb-backend-main
EVERGREEN_PROJECT: django-mongodb-backend

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
name: Django Test Suite
runs-on: ubuntu-latest
steps:
- name: Checkout django-mongodb
- name: Checkout django-mongodb-backend
uses: actions/checkout@v4
with:
persist-credentials: false
- name: install the django-mongodb backend
- name: install django-mongodb-backend
run: |
pip3 install --upgrade pip
pip3 install -e .
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ explore and build. The best way to share this is via our [MongoDB Community Foru

The development version of this package supports Django 5.0.x. To install it:

`pip install git+https://github.com/mongodb-labs/django-mongodb`
`pip install git+https://github.com/mongodb-labs/django-mongodb-backend`

### Specifying the default primary key field

Expand Down
4 changes: 2 additions & 2 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
django-mongodb uses third-party libraries or other resources that may
django-mongodb-backend uses third-party libraries or other resources that may
be distributed under licenses different than this software.

The attached notices are provided for information only.

django-mongodb began by borrowing code from Django non-rel's
django-mongodb-backend began by borrowing code from Django non-rel's
django-mongodb-engine (https://github.com/django-nonrel/mongodb-engine),
abandoned since 2015 and Django 1.6.

Expand Down
4 changes: 2 additions & 2 deletions django_mongodb_backend/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
supports_temporal_subtraction = True
# MongoDB stores datetimes in UTC.
supports_timezones = False
# Not implemented: https://github.com/mongodb-labs/django-mongodb/issues/7
# Not implemented: https://github.com/mongodb-labs/django-mongodb-backend/issues/7
supports_transactions = False
supports_unspecified_pk = True
uses_savepoints = False
Expand Down Expand Up @@ -566,7 +566,7 @@ def django_test_expected_failures(self):
"cache.tests.DBCacheWithTimeZoneTests",
},
"FilteredRelation not supported.": {
# https://github.com/mongodb-labs/django-mongodb/issues/157
# https://github.com/mongodb-labs/django-mongodb-backend/issues/157
"filtered_relation.tests.FilteredRelationAggregationTests",
"filtered_relation.tests.FilteredRelationAnalyticalAggregationTests",
"filtered_relation.tests.FilteredRelationTests",
Expand Down
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
django-mongodb 5.0.x documentation
==================================
django-mongodb-backend 5.0.x documentation
==========================================

.. toctree::
:maxdepth: 1
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ docs = [ "sphinx>=7"]
[project.urls]
Homepage = "https://www.mongodb.org"
Documentation = "https://django-mongodb-backend.readthedocs.io"
Source = "https://github.com/mongodb-labs/django-mongodb"
Tracker = "https://github.com/mongodb-labs/django-mongodb/issues"
Source = "https://github.com/mongodb-labs/django-mongodb-backend"
Tracker = "https://github.com/mongodb-labs/django-mongodb-backend/issues"

[tool.hatch.version]
path = "django_mongodb_backend/__init__.py"
Expand Down

0 comments on commit f0bb211

Please sign in to comment.