How to use a treeabeard in a djago form

Submitted 3 years, 9 months ago
Ticket #53
Views 299
Language/Framework Django
Priority Medium
Status Closed

Hello! I am an industrial engineering student and I am developing a small project with a Gantt chart. I am using an app developed by someone on Github and they were using the admin panel to insert the task data. I don't want my users to access the admin panel so I create forms to insert the data. The problem is that on the admin panel the app is using a class to use the treebeard function to order the tasks I also need to use it on the form but I don't know-how.

Submitted on Jul 27, 20
add a comment

2 Answers

Hi Catgomessousa ,

Can you share your admin panel image?. I understand your requirement. It would help us to investigate further and provide you the right resource/documents.

Submitted 3 years, 9 months ago

Hi Catgomessousa ,
Did you try django-tree-form library?. i think this one would make sense for your requirement. may be check that too.

- bhavana 3 years, 9 months ago

I solved it thank you :)

- catgomessousa 3 years, 9 months ago

Awesome it would be great if you share the solution here ,it would be help other developers too :)

- sunil 3 years, 9 months ago

instead of using class Form_name (ModelForm) i use the threebeard directly to creat the form 

Submitted 3 years, 9 months ago

Great. Thanks for sharing the solution. This would definitely help other developers.

- sunil 3 years, 9 months ago

@Catgomessousa could you close this ticket from your end if everything looks good.

- sunil 3 years, 9 months ago

@Catgomessousa could you close this ticket ?.

- Vengat 3 years, 8 months ago


Latest Blogs