New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exception in thread django-main-thread error #419
Comments
Same as mine |
getting same error but didn't get any solution yet. :-( |
same as mine |
same as mine can anyone help please |
Doesn't help to understand your issue at all. |
For those who are facing a similar problem and land on this page. Go to your settings.py and make sure you have a coma at the end of each lines in your installed apps, Middleware etc... Worked for me |
If you have this problem, go to the |
@vbonh can you please elaborate more. Facing same problem |
@AkshatPatel07 Are you able to solve this error? |
same as mine |
Yess |
Python manage.py migrate |
I solved the problem by just installing required packages.
…On Fri, 10 Jun 2022, 11:52 am Aj.weerachai, ***@***.***> wrote:
same as mine can anyone help please
—
Reply to this email directly, view it on GitHub
<#419 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQQUSWNMSGVQYXXWWBNJ43VOLQ4VANCNFSM4QO6HPRA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I was also facing the same issue. Check for the database which you are using is installed or not and if you are not using any databases, then go to settings.py and comment out the Database section This will resolve the issue |
I ran cmd as administrator and everything worked. |
same issue for me and i have checked the settings.py it was perfect |
Having working on windows and when i take my app to linux, I have that issue.. everything works file on windows but when I pull it from windows to linux and run any manage.py command I have the same issue you raised on this.. any ideas ? |
I was having the same issue. |
check the setting configration (stting.py) file |
Exception in thread django-main-thread: |
PS C:\Users\Usuario\OneDrive\Escritorio\libreria\sistema> python manage.py runserver Exception in thread django-main-thread: Alguien sabe por que me aparece este error |
For me solved as below: |
i updated the pip using command "python.exe -m pip install --upgrade pip" and then reinstalled django |
Watching for file changes with StatReloader Exception in thread django-main-thread: I am getting this error please someone help... |
Describe the problem
Tell us about the problem you're having.
I was trying to install djangorestframewok and i installed it then i had an issue running the server have attached the image file
(localdev-EUbEEbsi) C:\Users\ASUS\Desktop\localdev\ecom>python manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
Exception in thread django-main-thread:
Traceback (most recent call last):
File "c:\users\asus\appdata\local\programs\python\python38-32\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "c:\users\asus\appdata\local\programs\python\python38-32\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\ASUS.virtualenvs\localdev-EUbEEbsi\lib\site-packages\django\utils\autoreload.py", line 53, in wrapper
fn(*args, **kwargs)
File "C:\Users\ASUS.virtualenvs\localdev-EUbEEbsi\lib\site-packages\django\core\management\commands\runserver.py", line 118, in inner_run
self.check(display_num_errors=True)
File "C:\Users\ASUS.virtualenvs\localdev-EUbEEbsi\lib\site-packages\django\core\management\base.py", line 392, in check
all_issues = checks.run_checks(
File "C:\Users\ASUS.virtualenvs\localdev-EUbEEbsi\lib\site-packages\django\core\checks\registry.py", line 70, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "C:\Users\ASUS.virtualenvs\localdev-EUbEEbsi\lib\site-packages\django\core\checks\urls.py", line 101, in check_url_settings
if value and not value.endswith('/'):
AttributeError: 'tuple' object has no attribute 'endswith'
Steps to reproduce
Tell us how to reproduce it.
System configuration
The text was updated successfully, but these errors were encountered: