私は次の方法でモデルを使用しています:
class UserProfile:
# Some Stuff
class CompanyProfile(UserProfile):
# Some more stuff
class CandidateProfile(UserProfile):
# Even more stuff
CompanyProfile と CandidateProfile が UserProfile から継承していることを意味します。これらの CompanyProfile と CandidateProfile を登録フォームと別のプロファイルフォームから入力するにはどうすればよいですか? ユーザーを作成したり、データを入力したりしているプロファイルをどのように伝えることができますか?