# Issue with Python project using Django Admin

**URL:** <https://forum.codewithmosh.com/t/issue-with-python-project-using-django-admin/4498>\
**Category:** Python\
**Created:** [April 28, 2021, 3:23pm UTC](https://forum.codewithmosh.com/t/issue-with-python-project-using-django-admin/4498 "2021-04-28T15:23:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voozy](https://avatars.discourse-cdn.com/v4/letter/v/c0e974/32.png) [@Voozy](https://forum.codewithmosh.com/u/Voozy)\
**Post date:** [April 28, 2021, 3:23pm UTC](https://forum.codewithmosh.com/t/issue-with-python-project-using-django-admin/4498/1 "2021-04-28T15:23:45Z")

</div>

![issue](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/2/2ff5698375f8e6506e438121de017b11196f7163.jpeg)

Python Course Module 12:

I cannot add genres and delete users on the Django Admin Panel. I migrated all three times according to the video and ran the development server through VS code. Please help.

---

<div class="post-metadata">

**Author:** ![Deepank](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@Deepank](https://forum.codewithmosh.com/u/Deepank)\
**Post date:** [April 28, 2021, 4:17pm UTC](https://forum.codewithmosh.com/t/issue-with-python-project-using-django-admin/4498/2 "2021-04-28T16:17:20Z")

</div>

Hey. I think I found the solution to it. Mosh has used Django 2.1 for his project, which is incompatible with db.sqlite. Kindly try your project with the latest version of Django. I think it may help.

---

<div class="post-metadata">

**Author:** ![westley](https://avatars.discourse-cdn.com/v4/letter/w/9de0a6/32.png) [@westley](https://forum.codewithmosh.com/u/westley)\
**Post date:** [August 23, 2021, 4:40pm UTC](https://forum.codewithmosh.com/t/issue-with-python-project-using-django-admin/4498/3 "2021-08-23T16:40:29Z")

</div>

samething. Cannot add even with 3.\* veriosn

---

<div class="post-metadata">

**Author:** ![RotoruaPete](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/rotoruapete/32/2183_2.png) [@RotoruaPete](https://forum.codewithmosh.com/u/RotoruaPete)\
**Post date:** [September 2, 2021, 7:39am UTC](https://forum.codewithmosh.com/t/issue-with-python-project-using-django-admin/4498/4 "2021-09-02T07:39:24Z")

</div>

I was having the same problem and after reading this post I remembered I had the same problem when I was doing Mosh’s free Youtube course. The solution was to install ver 2.1.5 of django.

I was also having a problem with the line

> path(‘movies/’, include(‘movies.urls’))

in vidley/urls.py. I trouble shooted this to it for some reason not reading the / at the end of the movies string. For some reason it wasn’t getting read, though I had checked the syntax and saved the file over and over. In the end I made it into a raw string so I had

> path(r’movies/', include(‘movies.urls’))

Not sure if this is a version issue but it solved the problem.

Peter

---

<div class="post-metadata">

**Author:** ![Kalishwari](https://avatars.discourse-cdn.com/v4/letter/k/d6d6ee/32.png) [@Kalishwari](https://forum.codewithmosh.com/u/Kalishwari)\
**Post date:** [September 6, 2021, 9:30am UTC](https://forum.codewithmosh.com/t/issue-with-python-project-using-django-admin/4498/5 "2021-09-06T09:30:59Z")

</div>

Thank u so much Mr Roto
