Lone
Using Xampp and django
yap it doesnt why not use the django built in server...it easier .
Lone
can i see ua accounts.urls
π
XAMPP and django?????
Yes I was getting a lot of errors there wasn't any other way so I figure I delete the whole project and start over
π
I removed the date base I created in XAMPP and deleted the virtualenv folder from my C:drive. I am just hoping it doesn't lead to any more problems
π
Using Xampp and django
Django does work with MySQL- in XAMPP
π
is there anyway to check for existing virtualenv?
Sahil
anyone every worked with celery and redis ?
Doragonsureiyā
anyone every worked with celery and redis ?
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With 60k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
π
it makes no sense
I started Apache and started MySQL
π
visit admin
π
created a database
Mirco
created a database
Write into one message please
π
and connected with my project and a table showed in XAMPP in my database
Sahil
anyone every worked with celery and redis ?
alright I'm using celery and redis as backend for it currently celery results are stored but the question comes is how do I retrieve from redis because key names are like "celery-task-meta-xxx-x-xx"
Rohan
You want to see the queue?
Sahil
You want to see the queue?
there are loads of keys and their values now how do I retrieve values from these keys ? it's not 1 specific key.. so the problem is key names are as above mentioned
Rohan
You can also view all keys and values
Sahil
Oh i'll look up
Rohan
https://docs.celeryproject.org/en/stable/userguide/monitoring.html#monitoring-redis-queues
Rohan
Also check out flower for celery
π
I started Apache and started MySQL in XAMPP app then navigated to Admin in MySQL section It redirected me to localhost/phpmyadmin/ I went ahead and created database in phpmyadmin and named it in my project, I opened setting.py in text editor looked for DATABASE section i changed it from default django 'mysqlite3 to mysql' and changed second default section to my custom db name then in cmd I runserver which created a localhost:800 0 page after I applied python manage.py makemigrations and python manage,py migrate my model class was created and sql table was created in XAMPP in my custom db I created
ecDesign
Hello!!! to use .env files in django its with python-dotenv or there are a better lib/method?
Pk
pagination NoT working show error
Pk
Pagination may yield inconsistent results with an unordered object_list: <class 'TasksManager.models.Post'> QuerySet.
Pk
Any solution
ecDesign
django-environ you have to call environ.Env and access data ussing environ dict python-dotenv insert the env data into os.getenv in my opinion it seems better python-dotenv because I don't have to change the code, unless there are arguments against that lib.
cj
django-environ you have to call environ.Env and access data ussing environ dict python-dotenv insert the env data into os.getenv in my opinion it seems better python-dotenv because I don't have to change the code, unless there are arguments against that lib.
django-environ is a library to read values from environment variables, whether from a .env file or from OS's environment, but yes, you have to change your code a little bit, because: 1) it has a built-in type casting specific for django settings 2) you can follow 12factor approach 3) it fill os.environ too if you want to use that manually python-dotenv is just more generic
sheikh
How to override 403 error page
Anonymous
Can we create My SQL table based on python List
cj
Can we create My SQL table based on python List
do you know how Django's ORM works?
Anonymous
No
Anonymous
Can u explain it
Doragonsureiyā
Can u explain it
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Hamid
Hi how can I implement Django on colab?
Hamid
you can't
I hope one day this gonna happen, because it uses gpu instead of cpu
cj
Google Colab is not meant for that kind of uses
cj
it's to run other kind of Python scripts, not web projects
Hamid
I did most of ML , deep learning codes with colab , it is more collaborative in compare to other
cj
and... why do you want to use GPU for a Django project?
cj
I did most of ML , deep learning codes with colab , it is more collaborative in compare to other
yes exactly... but it's not for DJANGO projects, which is other kind of development
Hamid
To built AI project base on Django
cj
To built AI project base on Django
then make your AI development decoupled from the Django project and use a broker/API to communicate them 🤷🏻‍♂️
George
Well, depends but yes
George
i did the celery thing
Hamid
i did the celery thing
Could you please share the resource
cj
Or install it as a package :D
better to have it decoupled, so the AI project can run using GPU and you won't block their thread of each project
George
I should install numba
Anonymous
Hi folks ... is there any django developer uses ubuntu os for development..
Doragonsureiyā
Hi folks ... is there any django developer uses ubuntu os for development..
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With 60k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
$iductive
I deployed my django app on python anywhere, and some pages working and in some pages it's showing Connection timed out, can someone solve this problem??
$iductive
It is possible that pages that show a connection timeout have external files from cdn
External files from cdn are throughout the project i mean in base template only
Anonymous
giv any function for one of the delaying pages to review the problem with you
Anonymous
Screenshot the code
Vorke
Hi guys I have a django web app, that i need to host what is the best option apart from Google cloud?
Anonymous
How can I implement an end to end encryption in my Django chat app. Can anyone suggest some good django chat application projects? Thanks in advance.
Vorke
I would like something affordable and later on migrate to either Google or aws
Anonymous
Hi guys I have a django web app, that i need to host what is the best option apart from Google cloud?
I have recently used Heroku, and its quiet amazing and simple. And with git cli it makes deployment a cake walk!
A
#NeedHelp in a django app.
A
Can anyone help ?
Муродали
how?
A
Dm me if anyone can help with a django app.
Fabian
Cause I had a couple issues with python postgress controler
_dvd
self.url = MacroViewSet().reverse_action('add-student', args=['1']) gives the following error: AttributeError: 'MacroViewSet' object has no attribute 'basename' any idea?