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>
12 lines
342 B
Python
12 lines
342 B
Python
"""
|
|
Django admin configuration for the gooyal-restrict-scopes package.
|
|
"""
|
|
|
|
from django.contrib import admin
|
|
from django.contrib.admin.sites import NotRegistered
|
|
|
|
from oauth2_provider.admin import ApplicationAdmin
|
|
|
|
|
|
# The restricted application is registered by Django OAuth Toolkit, but we want
|
|
# to provide our own admin that uses our form
|