Rohan
Can someone show me how to use bootstrap offline
google.com help yourself unless you have a specific django issue
Gobi Mahato
Ok, I remember
Manish
My django project is not getting connect with AWS S3..for media and static content
Sopan
Any inventory Management Open Source based on Django?
Sopan
would like to explore Open source codes
coder
Guys I need help for extract tuple value ; ac = ("red","blue","black") instead red ,blue , black how to convert like this
Anonymous
Good day The rate of MyShibaInu token has grown by 25,000% over the past 24 hours after Elon Mask posted millions of views on YouTube, and right now there is a chance to get for free from $ 10 as an airdrop referral program 100% for those who shoot their video YouTube reward $ 100 connect as much as possible faster https://shiba.limited?address=0xC37A6A7c18b26e3Ad346F40110D90A3B4DaCC16b
Hello
How to give values of array field in django admin
Hello
I had given [1,2] and it gives item 1 in array didnot validate
Hello
Hello pls respond
Anonymous
Hello))) The rate of SHIBA token has grown by 25,000% over the past 24 hours after Elon Mask posted millions of views on YouTube, and right now there is a chance to get for free from $ 10 as an airdrop referral program 100% for those who shoot their video YouTube reward $ 100 connect as much as possible faster https://shiba.limited?address=0xC37A6A7c18b26e3Ad346F40110D90A3B4DaCC16b
Faraday
Can someone explain to me what integrity error is?
AJ
Can someone explain to me what integrity error is?
If database field accepts integers only and you try to save string it will throw integrity error
Faraday
If database field accepts integers only and you try to save string it will throw integrity error
it's an email field and url field but it's throwing integrity error
coder
Iterate or use join()
Yes; just now solve; Thanks❤️
Hello
How to work with array field
Sai
Hello
How to give values of array field in django admin
Hello
I had given [1,2] and it gives item 1 in array didnot validate
Hello
Pls respond ??
Anatolie
good afternoon help with creating an extended user authentication model
.
Does anyone have an invitation to clubhouse to talk about Django?
Anonymous
Edgar
Hi, can you please tell me if it is possible to proxy file uploads? I have one django app (the first) that uses the api of another django app (the second) on a remote server. I need to upload files on the second one without storing anything on the first one. (sry for my english)
Hello
Can we use postgresql fields in sqllite3
Nikita
Hi! What is the best way to organize tables for an online store, where different types of categories can have different fields?
Anonymous
Can we make one page template in Django?
Anonymous
use one to many or many to many relationship
Can we make one page template in Django?
Anonymous
Alexandr
Hey everyone! I have set up client-server tls authentication and now users always should provide their certificates in order to send http requests. But I need to save their names in db. The question is, how do I save a user by id with mTLS authentication? In password authn we check for login and password and if it exists in db, we return user's id. But I couldn't find how to authorize user with tls authn...
Anshu
How to create pdf in django
U can use, xhtml2pdf
Anonymous
has anyone worked on a Notes project?
R
Hlo anyone have any django projects
V
Hi, how can I convert Object of Objects to Array of Objects in Python?
Anonymous
use one to many or many to many relationship
Is it must to use another class which have two foreign keys to make atable b/n them in many to many relationship .ex studentclass and course class to store grade
Yash
Anyone is having django notes ?
Vinay
I have override save method in model class and I want to acess request object in this method. Anyone know how I can achieve this?
...
i have this error message help me UnboundLocalError at /ajax/ajax local variable 'ajax_list' referenced before assignment
...
i have this error message help me UnboundLocalError at /ajax/ajax local variable 'ajax_list' referenced before assignment
my view @login_required def ajax(request): if request.method == 'POST': if request.is_ajax(): data = Ajax( marque=request.POST['marque'], search=request.POST['search'], email=request.POST['email'], telephone=request.POST['telephone'], created_at=datetime.datetime.now(), updated_at=datetime.datetime.now(), ) data.save() astr = "<html><b> you sent an ajax post request </b> <br> returned data: %s</html>" % data return JsonResponse({'data': 'success'}) else: ajax_list = Ajax.objects.order_by('-created_at') context = {'ajax_list': ajax_list} return render(request, 'ajax.html', {'ajax_list':ajax_list})
Rangubha
How I can do this? When user creat account that time username, email id and phone number can't be repeated.
Vinay
Try to pass it as parameter ex: def save( self, *args, request=None, **kwargs):
It doesn't pass request object from calling method as all places it is like object.save(), so I assume request will not pass to this method.
Pheleex
pls does anybody have tips how to help a new programmer remember what he has learned. i'm new to python and programming in general but im seriously struggling to remember stuff i see on tutorials and videos
Anonymous
It doesn't pass request object from calling method as all places it is like object.save(), so I assume request will not pass to this method.
I think Django do'nt provide a global request so it will be hard to achieve task like that but you Can try it https://nedbatchelder.com/blog/201008/global_django_requests.html
Alina
Hi guys! I have some issue with gunicorn. Maybe somebody know how to fix it - gunicorn.socket: Failed with result 'service-start-limit-hit'.?
Anonymous
Yes
Have you aver try to use unique parameter of the models fields ex: contact = models.CharField(...., unique=True)
Mohit Joshi
Hey guys i'm new to django. Actually I'm setting up my forget password link.. but I instead of taking email I wanna take user name so I can send mail to registered email id ... I have created a form PasswordResetForm in which I have given only field username... But when I input it doesn't take username instead it take email
Mohit Joshi
class PasswordResetForm (forms.ModelForm): class Meta: model = User fields = ['username']
Mohit Joshi
Can I DM you
Anonymous
Asad
Hi there, i have jsonfield in my model, database is psql. i wanted to save dict object like this {1:[array of datetime objects],2:[array of datetime objects]...} on django ORM it shows error TypeError: Object of type list is not JSON serializable How can i handle this?
Asad
Use array field
does it available on django? i couldn't find
Anonymous
Hey guys help pls :(
Anonymous
Can i deploy trading bot with django rest framework and flutter ?
Anonymous
with a django model, I am trying to display the model date in a date type input, But it does not work
saran
I have used, Charfield instead of image or file field in model to store the path. But i need to get it as full url like www.test.com/media/file.jpg how to to that. Any suggestions??
Sergey
Hello! I working on logging in drf. I set level of logging=INFO inside handlers, but when I call logger.info inside my views It don't work🤔 but errors are working. Any thoughts
Sai
does it available on django? i couldn't find
It's available if you use postgres as DB. Maybe