Django 6 + DRF resource server against the Gooyal accounts OAuth2 service, matching the Winsoo ecosystem's conventions. Covers locations, stores, catalog, cart, checkout/orders (with the multi-store-cart split and the status stepper), reviews, and notifications, plus a demo-data seed command. Payment integration (wallet debits, online gateway, seller payouts) is intentionally left out here — see feature/payment. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
14 lines
296 B
Python
14 lines
296 B
Python
from enum import Enum
|
|
|
|
|
|
class EducationDegreeEnum(str, Enum):
|
|
ASSOCIATE = "associate"
|
|
BACHELORS = "bachelors"
|
|
DOCTORATE = "doctorate"
|
|
HIGH = "high"
|
|
MASTERS = "masters"
|
|
MIDDLE = "middle"
|
|
PRIMARY = "primary"
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|