19 Commits
Author SHA1 Message Date
sankalp fbd4662bf8 fix: admin 500 after login (jazzmin static manifest bug)
- add app.storage.ManifestStaticFilesStorage tolerating directory static
  refs (jazzmin renders {% static 'vendor/bootswatch' %}), still strict
  for genuinely missing files
- point STORAGES staticfiles backend at it
- guard empty EMAIL_PORT/EMAIL_USE_TLS env values in production settings
- route admin under /backend/, use sqlite in production, add create_admin
- add pillow and django-tinymce deps
2026-10-13 19:34:19 +05:45
sankalp 0bf927d93b updated new fonts 2026-09-25 22:25:13 +05:45
sankalp 0ddcb53af0 updated new fonts 2026-09-25 21:48:48 +05:45
sankalp f078b1f3fa overhaul the ui 2026-09-25 20:19:00 +05:45
sankalp 04138d833f blog: updated blog 2026-09-25 19:48:24 +05:45
sankalp ab7aadbbc8 updates 2026-09-25 01:21:20 +05:45
sankalp 24cf7e12c4 updates 2026-09-24 13:05:26 +05:45
sankalp 5b1a35fe68 remove all mockdata 2026-09-24 01:57:28 +05:45
sankalp 4df90ad072 replace tanstack 2026-09-24 01:28:21 +05:45
sankalp 3e8e69706a update readme 2026-09-23 15:06:36 +05:45
sankalp c4a12478d3 docs(backend): rewrite README for Udhamshil Nepal
Clean up djinit template boilerplate; drop unused JWT feature, project structure, API docs sections.
2026-09-23 14:49:36 +05:45
sankalp e4cb363cc3 chore(config): fix app name, DRF/JAZZMIN settings, lint paths
Add AppConfig verbose_name 'Udhamshi Nepal'. Use tinymce (correct installed app), OpenAPI schema class, default filter backends, drop unused simplejwt. Add JAZZMIN_SETTINGS grouping/icons matching admin sections. Fix ruff per-file-ignores glob prefix; EOF newlines in asgi/wsgi/settings.
2026-09-23 14:49:27 +05:45
sankalp 4a267e399a feat(admin): modular admin split by domain with custom sections
Split monolithic registration into per-domain modules (career, company, contact, product, projects, team, testimonials, website) over shared base helpers. Monkeypatch get_app_list to regroup all models into 8 branded sections (Website Content, About & Company, Careers, Products, Projects & Events, Our Team, Testimonials, Contact Messages). Product list annotates feature_count instead of per-row counts (N+1).
2026-09-23 14:49:20 +05:45
sankalp fecc479b5d feat(api): add public read-only API endpoints
DRF viewsets for career, contact, homepage, org, products, projects, team, testimonials. Contact create is public (AllowAny) with list admin-only to close PII leak; pagination applies. Products prefetch features to kill N+1. Wire routes under /api/.
2026-09-23 14:49:14 +05:45
sankalp 74fc3efd96 feat(models): add domain models with race-free singleton
Add Career, Contact, HeroSection, Stats, MarqueeService, Product(+Features), Project, Events, Team, Testimonial models. Export all models in __init__.py. Rework Organization into a fixed-PK singleton so concurrent creates collide on the PK index instead of racing a check-then-insert; replaces lat/long with google_map_link, adds Working hour default. Add title/subtitle to about sections, plus WhatWeDo, SisterCompanies, OurService.
2026-09-23 14:49:07 +05:45
sankalp 388f785b3c backend: removed unused file 2026-09-11 15:21:01 +05:45
sankalp 94aa2e3348 backend: added org model only 2026-09-11 15:15:25 +05:45
sankalp 62b8cec24c chore(root): scafold the project 2026-09-11 14:57:18 +05:45
sankalp a49649f4f2 Initial commit 2026-09-11 14:28:36 +05:45