All Questions
Tagged with python-2.7 django
4,031
questions
-1
votes
2
answers
65
views
can't find the page URL
I got the same error while writing code.
I started making this project using a video tutorial on YouTube. I think the problem is in the URLConf but I can’t find this problem myself.
Essentially the ...
0
votes
0
answers
38
views
Django Tests Throw ORA-00942: table or view does not exist
I haven't found any questions with respect to Django tests and Oracle DB. I am trying to run a test on an existing application, but am running into the table or view doesn't exist error.
I am confused ...
0
votes
0
answers
27
views
django project on macbook pro M1 pro crashed with illegal hardware instruction
environment: 16-inch,2021
cpu: Apple M1 Pro
mermory: 16 GB
os version: 14.4.1 (23E224)
python version: 2.7.15
Heading
i try to run "python manage.py runserver 0.0.0.0:8080", but i got ...
3
votes
1
answer
183
views
Unable to connect to cloud datastore from local legacy project based on python2.7 and django 1.4
I have a django==1.4 project (python==2.7) that I wanted to run and make some changes. I am unable to connect to cloud datastore from my local codebase. Right now, when I run the project using ...
0
votes
0
answers
51
views
When I run "python .\manage.py runserver" I get this: No Python at '"C:\Users\Utilizador\AppData\Local\Programs\Python\Python312\python.exe'
virtual environment activated
(env) PS C:\Users\Utilizador\Documents\FSapp> python .\manage.py runserver
No Python at
'"C:\Users\Utilizador\AppData\Local\Programs\Python\Python312\python....
0
votes
0
answers
21
views
Run django application (Python 2.7.18) in mac m1 environment
I am having issue running django application running in python 2.7.18 version. I have tried everything but numpy and pandas are not being installed. Due to which I am unable to run the project.
I ...
0
votes
0
answers
78
views
Using stage_block API to upload file chunk is so slow when executing under Uwsgi request in Django
I am using python 2.7.18 with azure-storage-blob==12.3.2 and Django to implement file upload with small chunk, when calling stage_block API in interactive mode directly each chunk request takes less ...
0
votes
0
answers
29
views
Not able to install django-filetransfers for python 2.7.18
I am not able to install django-filetransfers for python 2.7.18, I have the same installed in other machine but since I am migrating the project to the new machine I am trying to install it. Please ...
0
votes
2
answers
775
views
I am trying to install django-jazzmin but I am getting an error
When I try to install django-jazzmin using command pip install django-jazzmin I am getting the error.
ERROR: Could not find a version that satisfies the requirement django>=2 (from django-jazzmin) (...
0
votes
2
answers
26
views
django problem when i start an application
When I start an application like (pages) then I link it with the project in settings => INSTALLED_APPS:
INSTALLED_APPS = [ 'pages.app.PagesConfig', 'django.contrib.admin', 'django.contrib.auth', '...
1
vote
1
answer
47
views
Clarification Regarding Pip Package Sub Dependencies Getting Upgraded
I have a doubt regarding pip installation.
Suppose i have a requirements.txt file in python project as below
Django==4.1.7
While downloading Django it also downloads sub dependencies.
└─$ pip show ...
0
votes
1
answer
237
views
how to use twilio webhook to reply to an sms in production
I am new to Twilio services and just started using their api for sms with django. the sms outbound work well and now i want to make sure to grab the value replied by the person who has received the ...
0
votes
1
answer
48
views
what is a function inside a function in django/python
I wanna know, what is main idea function inside a function in djanggo?, something like this example.
def partition_by_mod(base):
def func(n):
return n % base
return staticmethod(func)
...
0
votes
1
answer
355
views
"Django-filter" Is it possible to use FilterClass(FilterSet) MultipleChoiceFilter within ViewSet methods? Django 1.11, Python 2.7
I have my class ClassFilter(FilterSet) with some of the Filters fx. MultipleChoiceFilter, ModelMultipleChoiceFilter etc. in it:
class ClassFilter(FilterSet):
something_severity = ...
0
votes
0
answers
429
views
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb. Did you install mysqlclient or MySQL-python?
I wanted to install MySQL database for a Django Project which is developed in Python 2.7
I watched a lot of StackOverflow questions and responses... and I could not find a solution, but what i found ...