InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

[Question] I cant see newly added project urls

Open emrecanozkok opened this issue 3 years ago • 6 comments

Please verify that this bug has NOT been raised before.

  • [X] I checked and didn't find a similar issue

Describe the bug*

I created a new package to add a new model to the Inventree project. But the urls I defined do not work. What procedure should I follow when adding a new package?

Steps to Reproduce

Expected behaviour

Deployment Method

  • [ ] Docker
  • [ ] Bare metal

Version Information

Relevant log output

No response

emrecanozkok avatar Mar 09 '23 11:03 emrecanozkok

@emrecanozkok you are going to need to provide a lot more information here.

SchrodingersGat avatar Mar 09 '23 11:03 SchrodingersGat

@emrecanozkok you are going to need to provide a lot more information here.

i want to add project section like parts management. i added new package "project" and added urls.py and views.py, index.html in templates/project folder to test my url to get empty html page but i cant.

what i need to make for register my urls

emrecanozkok avatar Mar 09 '23 11:03 emrecanozkok

Where did you "add" a "package" and how? Give us steps to reproduce, expected behavior, deployment method, version information. Your bug report is for all purposes empty - we can not read your mind.

matmair avatar Mar 09 '23 12:03 matmair

im using pycharm, i clicked invenTree folder and added new package named "project" image

after that im added my urls tl urls.py image

and i added project to apps section in tasks.py which in root folder

image

im using 0.10.1 version

when i check the url list of inventree i cant see my urls.

image

emrecanozkok avatar Mar 09 '23 12:03 emrecanozkok

@emrecanozkok please read our docs on plugins. What you are attempting is not how the system was designed; We do not support forks that modify core code. InvenTree is not a django template or libary but a enduser plattform.

matmair avatar Mar 09 '23 12:03 matmair

@emrecanozkok please read our docs on plugins. What you are attempting is not how the system was designed; We do not support forks that modify core code. InvenTree is not a django template or libary but a enduser plattform.

thank you so much for explanation

emrecanozkok avatar Mar 09 '23 12:03 emrecanozkok