Skip to content

Conversation

@mobinghoveoud
Copy link
Contributor

This PR improves the installation process for the optional GeoIP2 feature by introducing a package extra.

Previously, while the GeoIP2 integration was optional, users were required to manually pip install geoip2 separately. This change streamlines the process by defining a [geoip2] extra, allowing users to install the library and its optional geo-location dependency in a single command:

pip install "django-qsessions[geoip2]"

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
qsessions
   admin.py58395%21, 42–43
   geoip.py27678%15, 21–23, 51–53
tests
   test_sessionstore.py99199%144
TOTAL4591098% 

Tests Skipped Failures Errors Time
48 0 💤 0 ❌ 0 🔥 3.855s ⏱️

@mobinghoveoud mobinghoveoud merged commit 66bd872 into main Sep 21, 2025
32 checks passed
@mobinghoveoud mobinghoveoud deleted the add-geoip2-in-extra-req branch September 21, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants