DEV Community

Shailesh Waghole
Shailesh Waghole

Posted on

How to create users using custom input fields and without using forms.py file?

I want to make a user registration form. So I have my own custom fields. So I want to create a user without using forms.py file. Please comment out your solutions

Top comments (3)

Collapse
 
valxntine profile image
valentine

Why don't you want to use forms.py? It's my understanding that forms.py is a best-practice convention.

Collapse
 
shailesh6363 profile image
Shailesh Waghole

As per my project requirement, I want to take data from custom input fields

Collapse
 
selamet profile image
Selamet

I take the necessary information with jQuery and send it backand with Ajax. Then I create user. Also You can return your own custom fields in forms.py

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay