Can you please provide more details...your views.. models etc On Apr 13, 2020 01:58, "Abhishek Pandey" <talktoav...@gmail.com> wrote:
> Hello Everyone! > > I am a new Django learner. I followed some tutorials to install django but > when i try to runserver an error message comes up. Whenever I hit this > command: python manage.py runserver > the following error comes up. > > Watching for file changes with StatReloader > Performing system checks... > > Traceback (most recent call last): > File "manage.py", line 21, in <module> > main() > File "manage.py", line 17, in main > execute_from_command_line(sys.argv) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/core/management/__init__.py", line 401, in > execute_from_command_line > utility.execute() > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/core/management/__init__.py", line 395, in > execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/core/management/base.py", line 328, in > run_from_argv > self.execute(*args, **cmd_options) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/core/management/commands/runserver.py", > line 60, in execute > super().execute(*args, **options) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/core/management/base.py", line 369, in > execute > output = self.handle(*args, **options) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/core/management/commands/runserver.py", > line 95, in handle > self.run(**options) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/core/management/commands/runserver.py", > line 102, in run > autoreload.run_with_reloader(self.inner_run, **options) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/utils/autoreload.py", line 599, in > run_with_reloader > start_django(reloader, main_func, *args, **kwargs) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/utils/autoreload.py", line 584, in > start_django > reloader.run(django_main_thread) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/utils/autoreload.py", line 299, in run > self.run_loop() > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/utils/autoreload.py", line 305, in run_loop > next(ticker) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/utils/autoreload.py", line 345, in tick > for filepath, mtime in self.snapshot_files(): > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/utils/autoreload.py", line 361, in > snapshot_files > for file in self.watched_files(): > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/utils/autoreload.py", line 260, in > watched_files > yield from iter_all_python_module_files() > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/utils/autoreload.py", line 105, in > iter_all_python_module_files > return iter_modules_and_files(modules, frozenset(_error_files)) > File "/Users/Abhi/PycharmProjects/SearchProject/venv/lib/ > python3.6/site-packages/django/utils/autoreload.py", line 141, in > iter_modules_and_files > resolved_path = path.resolve(strict=True).absolute() > TypeError: resolve() got an unexpected keyword argument 'strict' > > > > Can anyone help me out with this, please? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/df96311a-d9ef-4dec-aca3-1b003f279c76%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/df96311a-d9ef-4dec-aca3-1b003f279c76%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPsfuofTQ2F8C%2BhymMZfXdhqiAx%2BrbBYP4rch-qHm-DKhNKV_A%40mail.gmail.com.