Hi All,
I am trying to add dashboard navigation links for one of the applications, but it does not seem to work.
I've done so far-
1. Added razorpay app in project.apps.dashboard
2. Created views.py and apps.py files
I've created a
Gist of all the mentioned files.
Dashboard application structure:
apps/dashboard/razorpay/
├── apps.py
├── __init__.py
├── __pycache__
│ ├── app.cpython-38.pyc
│ ├── apps.cpython-38.pyc
│ ├── __init__.cpython-38.pyc
│ └── views.cpython-38.pyc
└── views.py
When I open up the dashboard, I get the below-mentioned error:
django.urls.exceptions.NoReverseMatch: Reverse for 'razorpay-list' not found. 'razorpay-list' is not a valid view function or pattern name.
I've tried various things like - Adding apps.py urls to project urls.py
Then I get -
TypeError: __init__() missing 2 required positional arguments: 'app_name' and 'app_module'
Thanks in advance,
Ankit