Sidh Reddy
Hello good morning can anyone help with Django task
Doragonsureiyā
Hello good morning can anyone help with Django task
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 ~90,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
I have doubt about threadings, and queue . I am creating a pipeline data importer to db , but I did an sample where I fake my data, but I got 1k entries when I sent 100 . why is this? https://gist.github.com/SkyBulk/8f970a3f34affeab171c268aba99956a
Anonymous
hi everyone. help me please.
Anonymous
C:\Users\test\Downloads\psycopg2-2.8.6\dist\psycopg2-2.8.6\psycopg2-2.8.6\psycopg2-2.8.6>python setup.py install running install running bdist_egg running egg_info writing psycopg2.egg-info\PKG-INFO writing dependency_links to psycopg2.egg-info\dependency_links.txt writing top-level names to psycopg2.egg-info\top_level.txt Error: pg_config executable not found. pg_config is required to build psycopg2 from source. Please add the directory containing pg_config to the $PATH or specify the full executable path with the option: python setup.py build_ext --pg-config /path/to/pg_config build ... or with the pg_config option in 'setup.cfg'. If you prefer to avoid building psycopg2 from source, please install the PyPI 'psycopg2-binary' package instead. For further information please check the 'doc/src/install.rst' file (also at <https://www.psycopg.org/docs/install.html>).
Anonymous
what i do. help me please
Anonymous
there is no such folder but I created it.
Anonymous
after creating folder again such a mistake
Humberto
Why don’t you install with pypi??
Anonymous
because firewall have in my work network. it is block my traffic
Anonymous
why it is not possible to send a picture to this channel
Michael the wolf 🐺
Restricted other wise people would send pictures spam. Use imgur or something similar
Tguser
heya can someone let me know that why am I getting logo of django on putting extension of. html?
zax4r0
its happening at vs code
u installed any django extension in vs code ?
Tguser
u installed any django extension in vs code ?
yes beacause I'm making project on it
zax4r0
Tguser
but as I write django code it's not getting snippets
Tguser
and after that again started with whole project by inserting files.association in settings then now it's not showing snippets for html file
zax4r0
idk why i kainda prefer atom for python based project 😂 and vs code for react or js stuff 😂😂😂😂😂 slow down mode 😔
zax4r0
still not working
remove django extension close code kill from task manager open install again 😀
Tguser
remove django extension close code kill from task manager open install again 😀
I don't know how to kill from task manager can you help me out . as I can directly uninstall django ,will it be okay?
zax4r0
I don't know how to kill from task manager can you help me out . as I can directly uninstall django ,will it be okay?
nono remove that extention fronvs code close vs code if u using windows 10 open task manager and check is vs code still running if its running just stop then re-open vs code install django extension then it should work 🙂
Tguser
okay
Shivendra
I got a error in drf Unable to login with provide credentials I am using token based login Can anyone tell me what I mean missing
Shivendra
And how to make a logout in drf using basic authentication
Ujjwal
Hi everyone . Can I integrate django backend to react front end without having access to react frontend code . I have django code with me. Actually we are a team of 10 members . 5 are working on front end and 5 on backend . I am in the backend team and they told me to make an api to integrate react front end . I only have access to backend code
Vikash
My Django project deploy successfully but doesn't load images I use heroku site for deploy my django project Anyone help me figure out this problem
Agent Q
My Django project deploy successfully but doesn't load images I use heroku site for deploy my django project Anyone help me figure out this problem
You should try googling first https://stackoverflow.com/questions/61894188/heroku-django-images-not-loading
Anonymous
raise TypeError("'class Meta' got invalid attribute(s): %s" % ','.join(meta_attrs)) TypeError: 'class Meta' got invalid attribute(s): constraints
Anonymous
Can anyone here resolve this problem
Anonymous
?
vijay
hey I know python(intermediate),html(basic),Linux(inter) and i need friend who like to learn new things
Doragonsureiyā
hey I know python(intermediate),html(basic),Linux(inter) and i need friend who like to learn new things
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 ~90,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Uday
Hi everyone I need a Django developer kindly dm
Khumoyun
Hello, project=django_elasticsearch_dsl_drf Who knows tutorial or example about Django elasticsearch dsl with DRF? P.S: Documentation of django_elasticsearch_dsl_drf is so sophisticated
Fazil
I just made Django app that asks for a website and does some scrapping and processing stuff on all URLs found in website. I have used threading and muli processing. But what if many users visit my Django app? How do I scale this up?
Fazil
What issue do you foresee with multiple users?
I see many users requesting service at same time and that would cause computational/ loading problems?
Fazil
Will my app be able to serve them?
Daniel
I see many users requesting service at same time and that would cause computational/ loading problems?
Use asynchronous instead of threads. If a user is assigned 2 process and I threads what about a 1000 users. You're gonna need more resources. Consider asynchronous
Anonymous
mysql or postgresql??
Uday
Hi everyone I need a Django developer kindly dm
Doragonsureiyā
Hi everyone I need a Django developer kindly dm
Rule 🔟: Job-related offers are only allowed in the offtopic chat @PythonOfftopic. To not be considered spam, job offers must include skillset/techstack, a pay figure, contact information, and a brief job description.
Mirco
mysql or postgresql??
PG is better with Django to unlock superpowers
λ reo
PG is better with Django to unlock superpowers
pg? Do you wanna mean PostgreSQL?
Azizbek
Please can me help i dont set in html file {% set var='hello world' %} it is dont work
Focky
Please can me help i dont set in html file {% set var='hello world' %} it is dont work
Why don't u put your var in the view like x = 'hello World' and pass to template through the context
Ashutosh
Can anyone give good resources for learning django
Ashutosh
And please tell the diffence in learning of django and django rest framework
Azizbek
one more question how define index in html example: views.py def(request): database = ['Hello', 'some word'] context = {'db': database} return render (request, 'some.html, context} html {% for i in db %} <p>{{ i[0] }} Alex </p> {% endfor %} i[0] it is dont work
Azizbek
Why
sarth
how to remove email field completely in all auth package register form
Nikhil
how to remove email field completely in all auth package register form
remove it from models and the do makemigrations again
sarth
remove it from models and the do makemigrations again
but email field is default provided by all auth package, i have not created it in model..
Anonymous
good morning guys
useless_vevo
Good evening
Anonymous
Has anyone used used cdn vuetify in Django?
ꪉꫝꪖꪹᦋꪖꪜ
{{{body}}} tag is not rendering home page, is there any solution?
Rishabh
anything is raise Exception () gets displayed on UI too ?
Rishabh
in*
Patience
Hi everyone! I have faced same issue like this: https://stackoverflow.com/questions/66340860/django-media-play-not-able-to-play-video-in-middle-or-chosen-time Can anyone help me ?
Patience
Have anyone served video media in html and able to play it in middle. The error is showing in CMD: AttributeError: 'NoneType' object has no attribute attribute 'split' if I start it to the beginning it works, can anyone help me?