I re-deployed my webapp on render after i created another model but it kept giving me server 500 error. So i deleted all files from all my migrations except init.py in my system and started a fresh migration with new superuser. Now when i run it on my localhost, its is working but not showing any texts in the html code. the browser console is giving me an error as below:
dom7.esm.js:135 Uncaught TypeError: Cannot read properties of undefined (reading 'classList')
at dom7.esm.js:135:8
at n.forEach (<anonymous>)
at n.addClass (dom7.esm.js:134:8)
at V.updateSlidesClasses (updateSlidesClasses.js:21:15)
at V.slideTo (slideTo.js:171:10)
at V.init (core.js:553:14)
at new V (core.js:227:14)
at main.js:261:3
at main.js:293:3
i also dont get what this error is.
can someone help me out?
also when i deploy its making migrations but its not migrating:
Migrations for 'pages':
pages/migrations/0001_initial.py
- Create model Success
- Create model Testimonials
Operations to perform:
Apply all migrations: admin, amking_projects, auth, contenttypes, gallery, pages, sessions
Running migrations:
No migrations to apply.
==> Uploading build...
==> Deploying...
*** the first code section is when i run it on local host. and the second one is when i deployed it. it is deploying succesfully but giving me a server 500 error page ***
and i cant find this file in finder: