Anonymous
https://stackoverflow.com/questions/53637182/django-no-such-table-main-auth-user-old
Anonymous
this is my problem
Anonymous
can u help me??
Alex
can u help me??
mate, there are tens answers on your question. You simply can pick one you like. Just god damn read them.
cj
can u help me??
use the most recent versions of everything, instead of downgrading to almost 3 years old versions
Anonymous
mate, there are tens answers on your question. You simply can pick one you like. Just god damn read them.
yes i know the best answer is to downgrade the version of sqlite and i dont know how to do it and other nine answers were not successfull
cj
I already told you, use the most recent versions, instead of downgrading to a very old versions, you're reading a 2 years old answer which surely won't work these days
Moe (محمد)
Hello, i have a list of users with edit button, is there a way to show the updateView in collapsing way? Or a popup?
Moe (محمد)
Basically i have a listView that list all users, each user with its info and an Update button, this update button is hooked to the user(id) UpdateView and shows a form that updates the user in a new window, can i show the UpdateView form in the same html page instead of opening a new tab?
Moe (محمد)
Is ajax an option and is there any way other than ajax?
Romila
Hi , Can anyone have an idea on how to sanitize the input field in django forms
cj
unless you're doing weird things 🤔
Romila
But some places are their where I got alert in one form field
Romila
Romila
show the code then
Not able to share code
Alex
Not able to share code
well, nothing to help then
Romila
😐
Romila
well, nothing to help then
Do you have any resources?
Alex
Do you have any resources?
of oil, gas or iron?
Romila
of oil, gas or iron?
Sanitization of input fields in django😒
Mirco
Sanitization of input fields in django😒
Official docs forms'topic
Romila
Okay
Igor
hi guys i create a field uuid but the field not is genereted automatic
Igor
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) fiz assim
KumiShida 💖
Hi everyone, I'm using django-rest-framework-simplejwt to use JWT for authentication FE (VueJS) and BE (Django). They have an option to put JWT inside cookie. At localhost, this works well for me. As I know, the cookie cannot share with other domains? Does anyone deploy FE & BE at different domains and share JWT inside cookie to each other?
Hello
I think you can configure CORS to share cookies Idk i might be wrong just guessing..
Avral
Hello! Anyone know a good starter template for Django 2.x ? I need: docker, django, selery, postgres, redis
Anonymous
Hello! Are you open to opportunity that can allow you earn a passive income? Do you know you can make thousands of dollars with bitcoin mining? We offer a vast range of opportunities to help business minded investors small or large scale we have the best investment plans
KumiShida 💖
I think you can configure CORS to share cookies Idk i might be wrong just guessing..
CORS is configuration for accessing origin, not cookie. I think no way to share cookie cross domain. Does anyone have some experiences about secure token?
Habib
Thanks you for sharing.
You're welcome
Moeed
What is best practice of hashing password? On client side or on server side?
Akhil
Help I have downloaded a template online and tried to use it for my django project but when I run it it does load the static files. The error is that it fails to load the page as it is. On console it shows the following error "Uncaught TypeError: $(...).slicknav is not a function" Template is working perfectly when i run it on browser. But not working with django. what could be the problem
Moeed
Have you imported jQuery?
Moeed
Have you imported jQuery?
from cdn or local files?
Akhil
Have you imported jQuery?
how..? im noob. learning things
Moeed
Search for jquery in your .html file
Akhil
Search for jquery in your .html file
all jquerys are from local
Moeed
all jquerys are from local
import them using cdn links or google how to import static files in django's template
Moeed
Yes, you need import all static files using cdn links if available or by using django's predefine way.
Moeed
Server side,
Thanks for your response. So, in request password will be in plain text.
Shailesh Kumar
Hello everyone, I am getting server error (500) in django with digitalocean. It's was working before, suddenly it's stop. Please help me out.
Cesar
Learn what error 500 means and then only then... you shall Come here with your question.
Akhil
How to remove static folder from django server??
Romila
How to upload media image file from django forms to s3bucket which should go in b folder path should be like: a/b/abc.png
Romila
I used image field in create and update user In update form it is working But in create form it is not working
Romila
Okay
XeroX
how can I implement a Recommender class in django?. My Recommender takes product_id as input calculates the similarity and gives list of similar items to the given Product. I am facing difficulties in implementing it in my django project
Anonymous
Can anybody tell me when to write custom update method in serializer. Iam using one of the API-VIEW, and it is saying me to write custom update method.
Igor
hey, guys what the best practice to import a CSV with one million records or more?
Deep Narayan
https://django-import-export.readthedocs.io/en/latest/
Deep Narayan
You can use this pip module for easy import export
Deep Narayan
https://django-import-export.readthedocs.io/en/latest/
Go through this link. It can handle that much import size easily in various extension including CSV.
MK-47
Help. I have installed tinymce in my django project. Registered it at my urls and also used it in my models but it fails to load in my admin panel.. what could be the problem
Igor
Go through this link. It can handle that much import size easily in various extension including CSV.
Its work for a csv with an Million Records? Mu fear is nota work for a Lot records
Deep Narayan
But can't say anything about a million records.
Deep Narayan
I haven't imported that much at once in any of my project yet.
Deep Narayan
Well I have used it to import 75k records and that worked for me.
Igor
Ok I Go trying o import
Deep Narayan
Cool
Igor
man, do you know how do i measure the execution time of a function? I want to see if the import will not be too slow