Compare commits
2 commits
5b7117078c
...
763dd510f6
Author | SHA1 | Date | |
---|---|---|---|
763dd510f6 | |||
b656f8b0ff |
3 changed files with 9 additions and 3 deletions
|
@ -5,6 +5,12 @@ All notable changes to WuttJamaican will be documented in this file.
|
|||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## v0.22.1 (2025-08-09)
|
||||
|
||||
### Fix
|
||||
|
||||
- delay import for orm, in case SA not installed
|
||||
|
||||
## v0.22.0 (2025-08-09)
|
||||
|
||||
### Feat
|
||||
|
|
|
@ -6,7 +6,7 @@ build-backend = "hatchling.build"
|
|||
|
||||
[project]
|
||||
name = "WuttJamaican"
|
||||
version = "0.22.0"
|
||||
version = "0.22.1"
|
||||
description = "Base package for Wutta Framework"
|
||||
readme = "README.md"
|
||||
authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}]
|
||||
|
|
|
@ -29,8 +29,6 @@ This defines the default :term:`auth handler`.
|
|||
import secrets
|
||||
import uuid as _uuid
|
||||
|
||||
from sqlalchemy import orm
|
||||
|
||||
from wuttjamaican.app import GenericHandler
|
||||
|
||||
|
||||
|
@ -110,6 +108,8 @@ class AuthHandler(GenericHandler):
|
|||
:returns: :class:`~wuttjamaican.db.model.auth.User` instance,
|
||||
or ``None``.
|
||||
"""
|
||||
from sqlalchemy import orm
|
||||
|
||||
model = self.app.model
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue