Download core/admin.py from mlnsio/text2sql: direct link, hf CLI and curl.
- Browser
- Download file 363 Bytes
-
https://huggingface.co/spaces/mlnsio/text2sql/resolve/main/core/admin.py
- Command line
-
hf download hf://spaces/mlnsio/text2sql/core/admin.py
-
curl -L -o admin.py https://huggingface.co/spaces/mlnsio/text2sql/resolve/main/core/admin.py
363 Bytes
| """ | |
| This file is used to register the models in the admin panel. | |
| """ | |
| from django.contrib import admin | |
| from core.models import MutualFund, Stock | |
| class MutualFundAdmin(admin.ModelAdmin): | |
| list_display = ("id", "rank", "fund_name", "isin_number", "security_id") | |
| class StockAdmin(admin.ModelAdmin): | |
| pass | |