Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,21 @@ In case you cannot take advantage of PostgreSQL *peer* mode, you need to create

7. **Activate virtual environment**

After running ``uv sync```, activate a virtual environment
All python commands must be run within the project's virtual environment. You have two options:

.. code-block:: sh
**Option A: Activate the environment (Recommended)**

.. code-block:: sh

. .venv/bin/activate

**Option B: Use `uv run`**

Prepend ``uv run`` to any python command to run it in the environment without explicit activation.

.. code-block:: sh

. .venv/bin/activate
uv run python manage.py migrate

8. **Initialize the database**:

Expand Down
8 changes: 3 additions & 5 deletions app/eventyay/config/next_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,12 +1113,10 @@ def increase_redis_db(url: str, increment: int) -> str:
# --- Django allauth settings for social login ---

# NOTE: django-allauth changed some settings name. Check https://docs.allauth.org/en/dev/release-notes/recent.html
# ACCOUNT_LOGIN_METHODS = {'email'}
# ACCOUNT_SIGNUP_FIELDS = ['email*', 'password1*', 'password2*']
# NOTE: django-allauth changed some settings name. Check https://docs.allauth.org/en/dev/release-notes/recent.html
ACCOUNT_LOGIN_METHODS = {'email'}
ACCOUNT_SIGNUP_FIELDS = ['email', 'password1', 'password2']
ACCOUNT_USER_MODEL_USERNAME_FIELD = None
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_USERNAME_REQUIRED = False
ACCOUNT_AUTHENTICATION_METHOD = 'email'

SOCIALACCOUNT_EMAIL_AUTHENTICATION_AUTO_CONNECT = True
SOCIALACCOUNT_EMAIL_AUTHENTICATION = True
Expand Down
2 changes: 1 addition & 1 deletion app/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "eventyay-unified"
version = "0.1.0"
description = "Add your description here"
readme = "README.rst"
requires-python = ">=3.11"
requires-python = ">=3.11,<3.13"
keywords = ["tickets", "events", "web", "shop", "ecommerce"]
authors = [ {name = "eventyay", email = "[email protected]"}, ]
maintainers = [ {name = "eventyay", email = "[email protected]"}, ]
Expand Down