Mahesh
But how??
Muflone
But how??
By using a stamped mail
Muflone
Or a postcard
Muflone
Or whatever you prefer
Mahesh
It is possible to send on mobile number
Maz
It is possible to send on mobile number
https://m.youtube.com/watch?v=JQf2BIT4OB8
Muflone
Buy a SMS gateway
Maz
https://m.youtube.com/watch?v=JQf2BIT4OB8
I think that's three vids in a series. Guys, sometimes it requires less energy to give a straight answer than to type a whole paragraph of sarcasm.
Near
Guys I have error when modifying models and I get error table already exist and unknown column
AKASH
Delete under all migrations folder file
Abrar
How to host django site on a private server
Muflone
How to host django site on a private server
Depends, the simplest but not recommended way is to launch it as you do in your development system, using runserver Better solutions would be to use a python-mod or a specific web server
AKASH
Except init file?
All file and migrate again
Near
Muflone
migration files should NEVER be deleted or edited after being applied. you first have to unapply them and later you could safely delete them thrashing every migration like if it was an unuseful file is the right way to destroy a Django project
Владислав
Is there anyone here who speaks Russian?
Muflone
How I can fix it
reverting the steps that caused your issue
Muflone
I just do migrate zero
as you prefer, this is the wrong way to maintain a project and you cannot use such things in production system. learn to use the migrations instead of breaking everything and restart from zero
Анвар
Hi! How to run dynamically multiple bots using django?
Oğuzhan
If you fake migrations for fields that you already have in database
Oğuzhan
Fake is what you will need
Oğuzhan
Believe me
Oğuzhan
This problem occurs most of the time if you use already filed database
Near
If you fake migrations for fields that you already have in database
I already do that but when run server I get error column `` field list
Muflone
schema corruption is not a thing that could randomly happen it will happen when you change your choices without first applying the migrations or if you delete the migrations, ignoring the previous changes. django is a powerful framework and it will allow you to change any schema edit without having to touch the database schema by hand. just learn to use the migrations or revert the last if it caused some issue
Muflone
migrations are python sources. would you delete part of your sources?
Дауран
Guys I have a problem with registration on website and I couldn't save info from member who makes registration
Mark
manager = request.POST.get('Manager') if ',' in manager: manager = manager.split(',') for num in manager: num = get_object_or_none(Contacts, mobile=num.strip(' ')) company[0].manager.add(num) else: company[0].manager.add(get_object_or_none(Contacts, mobile=manager)) director = request.POST.get('Director') if ',' in director: director = director.split(',') for num in director: num = get_object_or_none(Contacts, mobile=num.strip(' ')) company[0].director.add(num) else: company[0].director.add(get_object_or_none(Contacts, mobile=director)) how to can I make a general function for both manager and director as both doing the same thing but on different field?
Andrej
How to host django site on a private server
I would pack the Django application inside a Docker container and run the container
Andrej
Hi! How to run dynamically multiple bots using django?
Which kind of bots? Ma be with Many tasks in Celery.
Andrej
Rahul
I am creating a site called as hotel booking site. Here how can I filter rooms are available on given check_in and check_out dates.
ASHIL
Is there any ways to build website with django and wordpress
Anonymous
anyone has used full calander
Doragonsureiyā
anyone has used full calander
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 a very high amount of people here the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
Rahul
Find rooms with booking and exclude theml
Please elaborate what do you want to say.
CJ
Hey plz help me out. Is giving csrf token in html file using {%csrf_token%} safe
Anonymous
how to add pagniation in django
Doragonsureiyā
how to add pagniation in django
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Anonymous
when i submit check box and radio button value it give me error like this on and off must be either true or fals
Anonymous
e
CJ
yes... but what do you expect by "safe"?
I mean if you know the csrf token using Developer mode then is it fine?
cj
I mean if you know the csrf token using Developer mode then is it fine?
well... you should read this first: https://docs.djangoproject.com/en/3.0/ref/csrf/
Enes
Hello guys
Enes
How can i deploy my django project with heroku. I have watch some videos about this but i dont want to use github is this possible?
Enes
Can you send me any tutorial link like so please
Enes
Corey Schafer is good but he used github
Enes
Yes, you need git not Github
Okay thanks man i will look at again about git
Florencio
Can anyone point me to a good article about changing the order of rows in a table with Ajax an store the new order in the db?
Shivam
How can I start contributing in Django for Gsoc? Is there anyone who is a Gsoc'er for django org.
Anonymous
Hi i am starting learning django in class views how methods are implemented ?? Usually for methods we class with class name followed by method name.. Where as in class views in url we r giving classviewname.as_view().. How the methods written are automatically getting called
Anonymous
Can any one explain??
Anonymous
And how to implement custom methods in class view..as i found we can just override dispatch and get methods...wt if more custom methods how we r going overide... Instead of writing methods models.py and then implementing in views is there any other method to write custom methods in class and write in url to call them??? Can anyone help me with it???
Anonymous
My problem is i want to generate the reports.. but having five filtering options how to filter and generate the reports for any combination of five filters
kancharla
I am new to web,, Can any one suggest me the configurations I need to have to host my Django application ,database is MYSQL And suggest me the cheap and best hosting platforms
Rohan
Gunicorn
When did gunicorn become a hosting platform? 🤦‍♂
A.M
Sorry I thought he asked for configuration, so I mentioned gunicorn