diff --git a/.idea/.gitignore b/.idea/.gitignore
deleted file mode 100644
index 73f69e0..0000000
--- a/.idea/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-# Default ignored files
-/shelf/
-/workspace.xml
-# Datasource local storage ignored files
-/dataSources/
-/dataSources.local.xml
-# Editor-based HTTP Client requests
-/httpRequests/
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
deleted file mode 100644
index 40e3783..0000000
--- a/.idea/inspectionProfiles/Project_Default.xml
+++ /dev/null
@@ -1,200 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
deleted file mode 100644
index 105ce2d..0000000
--- a/.idea/inspectionProfiles/profiles_settings.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index 0255814..0000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index 25def30..0000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/rapidsms-smpp-gateway.iml b/.idea/rapidsms-smpp-gateway.iml
deleted file mode 100644
index 44c12ce..0000000
--- a/.idea/rapidsms-smpp-gateway.iml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
deleted file mode 100644
index 94a25f7..0000000
--- a/.idea/vcs.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/poetry.lock b/poetry.lock
index a32df42..b24b48a 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1116,14 +1116,13 @@ files = [
]
[[package]]
-name = "rapidsms"
+name = "RapidSMS"
version = "2.0.0"
description = "Build SMS applications with Python and Django"
optional = false
python-versions = "*"
-files = [
- {file = "RapidSMS-2.0.0.tar.gz", hash = "sha256:f24727aef7b444753a0145ebd929caf9dea955927dcd86583dd12b5c0f0542d8"},
-]
+files = []
+develop = false
[package.dependencies]
django-selectable = ">=0.7.0"
@@ -1131,6 +1130,12 @@ django-tables2 = ">=2.1.1"
djappsettings = ">=0.4.0"
requests = ">=1.2.0"
+[package.source]
+type = "git"
+url = "https://github.com/rapidsms/rapidsms/"
+reference = "update-to-support-django-4-2"
+resolved_reference = "5f620771dad8d8e8940c792466b26fb4e4732de6"
+
[[package]]
name = "readme-renderer"
version = "40.0"
@@ -1517,4 +1522,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p
[metadata]
lock-version = "2.0"
python-versions = ">=3.8"
-content-hash = "a348f07ce2f6d32d05bb73affa9e1f58c0420422e73ce161af72a26b6ae2ced9"
+content-hash = "f6856e70220acea405878d4a612acb5d7414a401b72db556925c33f69db568de"
diff --git a/pyproject.toml b/pyproject.toml
index 3701d51..6112ea3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -13,7 +13,9 @@ include = [ { path = "tests", format = "sdist" } ]
[tool.poetry.dependencies]
python = ">=3.8"
-RapidSMS = ">=2.0"
+# Uncomment when https://github.com/rapidsms/rapidsms/pull/500/ is merged
+# RapidSMS = ">=2.0"
+RapidSMS = { git = "https://github.com/rapidsms/rapidsms/", branch = "update-to-support-django-4-2" }
# Remove max version of 2.2.3 when https://github.com/python-smpplib/python-smpplib/pull/221 has been merged
smpplib = ">=2.2,<2.2.3"
psycopg2 = ">=2.8"