# where can i find the code in django source code?

**URL:** <https://forum.djangoproject.com/t/where-can-i-find-the-code-in-django-source-code/40781>\
**Category:** Getting Started\
**Created:** [May 4, 2025, 8:56pm UTC](https://forum.djangoproject.com/t/where-can-i-find-the-code-in-django-source-code/40781 "2025-05-04T20:56:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![symphoneyyy](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/symphoneyyy/32/28206_2.png) [@symphoneyyy](https://forum.djangoproject.com/u/symphoneyyy)\
**Post date:** [May 4, 2025, 8:56pm UTC](https://forum.djangoproject.com/t/where-can-i-find-the-code-in-django-source-code/40781/1 "2025-05-04T20:56:16Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/e/c/ec31649aed1eeda77c503a68203f5ba26e0c2630.png)  
i wanna have a look at django source code in the picture, because i want have a similar one in my own page. but i searched contrib/admin and just found nothing. where are they…

---

<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:** [May 4, 2025, 10:10pm UTC](https://forum.djangoproject.com/t/where-can-i-find-the-code-in-django-source-code/40781/2 "2025-05-04T22:10:53Z")

</div>

First a side note: Please do not post images of code, templates, etc. Copy/paste the relevant text into the body of your post, marked as pre-formatted text.

The Django code resides in the `site-packages` directory within the Python (virtual) environment that you are using for your project.

---

<div class="post-metadata">

**Author:** ![ChathuraGH](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/chathuragh/32/27563_2.png) [@ChathuraGH](https://forum.djangoproject.com/u/ChathuraGH)\
**Post date:** [May 5, 2025, 4:15am UTC](https://forum.djangoproject.com/t/where-can-i-find-the-code-in-django-source-code/40781/3 "2025-05-05T04:15:24Z")

</div>

In github django source code repo.

> **[GitHub - django/django: The Web framework for perfectionists with...](https://github.com/django/django)**
>
> The Web framework for perfectionists with deadlines.

---

<div class="post-metadata">

**Author:** ![adyaprasad](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/adyaprasad/32/27223_2.png) [@adyaprasad](https://forum.djangoproject.com/u/adyaprasad)\
**Post date:** [May 5, 2025, 4:55am UTC](https://forum.djangoproject.com/t/where-can-i-find-the-code-in-django-source-code/40781/4 "2025-05-05T04:55:36Z")

</div>

Mostly In django Project, You have django project folder, created apps folder, may be .github folder and virtual env.

- You can find source code in: .venv\Lib\site-packages
- To build similar one, you can also check code of django project folder and created apps folder

I think clear code snippet will be more helpful to suggest you best
