# Models more than one?

**URL:** <https://forum.djangoproject.com/t/models-more-than-one/21494>\
**Category:** Getting Started\
**Created:** [June 10, 2023, 12:45am UTC](https://forum.djangoproject.com/t/models-more-than-one/21494 "2023-06-10T00:45:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GaligaoHernanie](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/galigaohernanie/32/14095_2.png) [@GaligaoHernanie](https://forum.djangoproject.com/u/GaligaoHernanie)\
**Post date:** [June 10, 2023, 12:45am UTC](https://forum.djangoproject.com/t/models-more-than-one/21494/1 "2023-06-10T00:45:50Z")

</div>

can i create more than one models in django?  
how?

Thanks for the help…

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [June 10, 2023, 12:57am UTC](https://forum.djangoproject.com/t/models-more-than-one/21494/2 "2023-06-10T00:57:03Z")

</div>

Have you worked your way through the [Official Django Tutorial](https://docs.djangoproject.com/en/4.0/intro/tutorial01/)?

---

<div class="post-metadata">

**Author:** ![GaligaoHernanie](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/galigaohernanie/32/14095_2.png) [@GaligaoHernanie](https://forum.djangoproject.com/u/GaligaoHernanie)\
**Post date:** [June 10, 2023, 1:55am UTC](https://forum.djangoproject.com/t/models-more-than-one/21494/3 "2023-06-10T01:55:05Z")

</div>

Good day sir… i can create more than one models.py? i cant see in the [Official Django Tutoria](https://docs.djangoproject.com/en/4.0/intro/tutorial01/) .

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [June 10, 2023, 2:03am UTC](https://forum.djangoproject.com/t/models-more-than-one/21494/4 "2023-06-10T02:03:00Z")

</div>

Ok, that’s a slightly different question you asked at first - that’s ok.

Is it “possible”? Yes. There are a couple different ways that it _could_ be done - but my first question would be to ask why you think it might be necessary or desirable.

If you create multiple “apps”, you have separate models.py file - one in each app.

You could create other files containing models and import those classes into your models.py file.

You can also create a `model` module with multiple files inside it. (There’s other work needing to be done to make that work, and there are some limitations to doing that, so it’s not as “clean” a process as you may think.)

But in the general case, it’s not something generally done.

---

<div class="post-metadata">

**Author:** ![GaligaoHernanie](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/galigaohernanie/32/14095_2.png) [@GaligaoHernanie](https://forum.djangoproject.com/u/GaligaoHernanie)\
**Post date:** [June 10, 2023, 2:12am UTC](https://forum.djangoproject.com/t/models-more-than-one/21494/5 "2023-06-10T02:12:45Z")

</div>

thank you sir God Bless…
