R
THank You! I will try
Anonymous
Hi guys ... I am beginner for django..and now want to make some basic project using python Django ...can you please suggest the demo project which help me
AKASH
Go to YouTube 'code with Harry' channel
Maksim
Check books in docs
Anonymous
Thank you guys for suggestions ...I will check
Mr. Anonymous
How connect mongodb to html form by using Django
Mirco
with views
Mr. Anonymous
If anyone has tutorials plz send link
Mr. Anonymous
Doragonsureiyā
If anyone has tutorials plz send link
https://docs.python.org/3/tutorial/index.html
Doragonsureiyā
If anyone has tutorials plz send link
Go take a look to the official Django tutorial: https://docs.djangoproject.com/en/dev/intro/tutorial01/
Tommaso
Hi everybody, I am developing an app in Django. The app has a form that allows the user to insert data, that is stored inside model_1. I want my app to routinely process the data inside model_1 with some algorithm and save it into a second model: model_2. My app is currently uploaded on Heroku. Does a routine process works on Heroku?
Remy
I guess you are looking for periodic tasks
Remy
If you need your background process to deal with your python code, celery is a good choice
Mirco
https://devcenter.heroku.com/articles/celery-heroku more info here @Tms91
Remy
or django-q
Never heard of it, will check : )
Doragonsureiyā
Thank you Mirco and Remy
You're welcome! 😊
Anonymous
Running anaconda prompt gives failed to create process
Anonymous
what to do?
Kumar
Rajat I think u should Uninstall Anaconda and again install it
Anonymous
Any better solution
Anonymous
??
Kumar
One more advice... Please don't install it in my pc folder
Sencer
Hello people, I have an issue with passing kwarg to an Q() object I set a variable: kwarg_var = {'foo': True} when I want to use that variable in Q() object like: exclude_filters = Q(**kwarg_var) django throwing below: File "/lib/python3.6/site-packages/lxml/builder.py", line 218, in call get(dict)(elem, attrib) File "/lib/python3.6/site-packages/lxml/builder.py", line 205, in add_dict attrib[k] = typemap[type(v)](None, v) KeyError: <class 'bool'> What could be wrong?
Sencer
While I test that case in python shell it's working.
vadim
look at lxml converting, this is not Django ORM error
vadim
You're welcome
Anonymous
I am using python manage.py collectstatic command
Anonymous
But it's shows error
Anonymous
Not found it gives error
Anonymous
Actually my static files are not in project root directory
Anonymous
I mean the static files folder are in my app folder
Anonymous
I am using S3 bucket it works properly
Anonymous
But after uploading the static files in S3 bucket
Anonymous
We have to run python manage.py collectstatic command
Anonymous
And that command is not working for my project
Anonymous
Anyone please see my issue
Денис
Anyone please see my issue
10 messages and none of them shows the project. Until you do, no way to help you.
rrguhan
Anyone build online judge using python?
Muslim
Anyone build online judge using python?
y? There’s perfect DomJudge
Anonymous
Anyone can help me with a little problem ??
Андрей
If you wiill zip two lists, you will get list of tuples
Yuri
Hey guys, what's the best way to save info about all requests and responses on a database?
Yuri
I want to log every request and response made to my API with it's relative user and resource
Yuri
I'm reading about middlewares but I don't know if it's the best choice
Андрей
But it will increase load on database, also you can use another db for that, like redis
Андрей
Or you can store info about requests using logging
Андрей
Also you can use your proxy server(nginx, apache) to do this
Андрей
Also i heard something about to use uWSGI or another wsgi-like server
Андрей
It depends on kind of information you want to store
Yuri
Or you can store info about requests using logging
Can I use it to persist on some db?
Андрей
Can I use it to persist on some db?
I think yes, but you have to create your own handler, i found one gist, but i don't sure that it works
Андрей
https://gist.github.com/ykessler/2662203#file_sqlite_handler.py
Anonymous
Anyone thr who use atom for coding???
Anonymous
???
Anonymous
Hello ma'am I need help with some code can I share link ma'am
Anonymous
Sure...
Денис
Yes ..
HTML only but yes
Abdulakhad
are there anyone who can help online? with teamviewer
Anonymous
@tor_gash bro
Денис
Trials
randomly tagging random people is considered SPAM, beware of the panda
cj
also sending unsolicited private messages is SPAM too