Closed TSmiley12 closed 1 year ago
Hi, I am very to Django; I am trying to find the setting.py file but can't find it. After cloning, the LMS gets the following error. Please tell me how I can resolve these issues. I appreciate any help you can provide.
Hi there,
Could you elaborate more on that please, is this error occurring when
running python manage.py migrate
? Also, have you cloned the latest
version, because I pushed changes like 4 days ago?
Basically, the error is reporting that the column department_id
is
already been created and you're trying to re-create it, which is not
possible. You could solve this by dropping/deleting your database and
re-run python manage.py makemigrations
and python manage.py migrate
respectively.
Let me know for further help
Best regards Adil Mohammed
On Wed, May 17, 2023 at 2:20 PM Tayy3bkh4n @.***> wrote:
Hi, I am very to Django; I am trying to find the setting.py file but can't find it. After cloning, the LMS gets the following error. Please tell me how I can resolve these issues. I appreciate any help you can provide.
— Reply to this email directly, view it on GitHub https://github.com/adilmohak/django-lms/issues/1#issuecomment-1551208205, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOPB3IQUG2DGZDYXEDOHRM3XGSYAJANCNFSM6AAAAAAW4HG5U4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
\Online Examination\New folder\django-lms-main\env\lib\site-packages\django\db\backends\sqlite3\base.py", line 357, in execute return Database.Cursor.execute(self, query, params) django.db.utils.OperationalError: duplicate column name: department_id