0

I am a beginner and trying to create CRUD Django Application where I want to keep the below fields.

Company Name
DOB 
Date and time
State (should be dependency between State and City)
City (should be dependency between State and City)

Please help me for complete code

For example i give input as:

company name : ABC
DOB Date and time : 2022-01-01 08:12:00
State : Karnataka(if I select State "Karnataka" then related city of Karnataka has to be showed in dropdown)
City : Bangalore, Mysore

if I click on edit button entire field's value has to be show

form design has to horizontal (for Example)

company name DOB , Date and time
State ,  City

Not like this (for Example)

company name DOB 
Date and time
State
City
2
  • 1
    Please, describe exactly your problem, and format your code Commented Dec 27, 2022 at 8:27
  • Normally form in django viewed vertically. Can i make form as Horizontally for example.. label1 label2 Commented Dec 28, 2022 at 14:15

1 Answer 1

1

I created CRUD mini project with Dependent Dropdown

Repo link here

Browser Output

enter image description here

Sign up to request clarification or add additional context in comments.

19 Comments

This is awesome! But I need complete crud operation including Date & Time Field and Company name field. if it possible please create mini project including field which were mentioned. Thanks in advance.
Answer is updated check it
Repo link added
Can you please share me the code
Link added check in answer
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.