Mirco
Django Bot
>> Links - Terrible choices: MySQL | ionel's codelog
Anonymous
Guys, I'm using the last version of python 2.1.1
Anonymous
And I'm with a problem
Anonymous
I'll sent a photo with the problem
Anonymous
Sorry I can't send an image
Anonymous
You describe the problem
cj
Guys, I'm using the last version of python 2.1.1
Why python 2.1.1? 😱😱😱 isn't it thaaaaat old? and that's not the last 🙄 the last is 3.7.x
cj
I think he meant Django 2.1
🤔probably... that's different and make some sense 🤔
Jimmies San
sure
Jimmies San
or maybe is john titor but from past instead future
Jimmies San
who knows!!!!
cj
🤷🏻‍♂️
Jimmies San
ssshhh they knows!!! 🤐
cj
I know guys using Django 1.4 with Python 2.7 right now 🙄
Jimmies San
😱
Jimmies San
with south migration!
Jimmies San
vintage effects
cj
and they're sitting just 2 desks from me 😱 I'm scared
Jimmies San
run, you fool!
cj
🏃
Robert
I know guys using Django 1.4 with Python 2.7 right now 🙄
Yeah. I know people running 1.6 and 1.8 on Python 2.7. These apps were created in the last 2 years!
Robert
At the same time, I built an app on 1.10 (updated to 1.11) and Python 3.5 and they looked at me like I was the crazy one
Anonymous
Can anyone give me reference for reverse proxy in hosting django application using Ubuntu nginx supervisor
Anonymous
@login_required def room(request, room): base = Room.objects.get(name=room) data = Topic.objects.get(room=base.id) return render(request, 'room.html', {'topic': data}) # error here baby TypeError 'Topic' object is not iterable
Anonymous
no answer found
Anonymous
theres no direct answer I found
Anonymous
Finally
Anonymous
I found
Anonymous
I'm using python 3.6
Django Bot
>> Links - Twitter
Anonymous
Where can i find best django tutorials ...full stack web development..
Ajay
Anonymous
In youtube i dint even get a django email verification..sms sending
Mirco
Where can i find best django tutorials ...full stack web development..
https://simpleisbetterthancomplex.com/series/2017/09/04/a-complete-beginners-guide-to-django-part-1.html
Anonymous
Ill try udemy courses...
Mirco
I read some docs..but in comments there are many errors
https://www.codingforentrepreneurs.com/courses/ecommerce/ This one is good imho He starts from the basics
Anonymous
Thanks
Mirco
Mirco
I'm following that one 😀
Nasser
Hello
Nasser
I'm a Django beginner,is there any good resource to start with?
Nasser
Thanks
Django Bot
>> Links - The Dramatic Benefits of Django Subqueries and Annotations - Reminiscence - self-hosted bookmark manager and personal wayback machine
Anonymous
Hi guys i looking for python remote jobs if you want outsource your project i can help you If you have any project just send me message
Aamin
I have a model with Foreign Keys. And i want to use bulk create to add data. But it's converting the data to string.
pino@mastrobirraio ~$
hi all. i have a ManyToMany field in my model and i create the form using the CreateView django class. The models regards a Blog. The blog post table is related to a table that contains the categories using the ManyToMany field. If I'm writing a new post and i need to create also a new category, I must leave the page, create the new category and then reopen the form to create the post rewriting it from 0. Exists a way to create the new value into the category table whitout leave the page keeping also the content of the form? Thanks in advance
Django Bot
>> Blogs - Angular API Calls with Django, Part 2: Building the Micro-Blog App
Chris
Please who can help me debug this error
Chris
I’ve searched the the internet for how to debug this error but I’m not getting the solution
Rohan
What's the value that you're passing?
Chris
i was using models.UUIDfield to get a unique id for each user but when i parse Customer.objects.all() i get this eror
Mirco
i was using models.UUIDfield to get a unique id for each user but when i parse Customer.objects.all() i get this eror
Customer.object.all() is not a string uuid.UUID expects a string if I don't go wrong
Chris
unique_id = models.CharField(primary_key=True,max_length=32, editable=False, default=str(uuid.uuid5(uuid.NAMESPACE_DNS, "qwerty.org")))
Chris
i used this command to input a default uuid
Chris
so the uuid is put into the database by default
Chris
but when i want to retrieve from the database, i get this error
cj
but when i want to retrieve from the database, i get this error
You have to override the __str__() function
Chris
You have to override the __str__() function
I did that but it didn’t work as well
Chris
But what Ive sorted it out
Chris
Why don't you use simple uuid4?
Yeah Eventually I used uuid4 And it worked
Chris
But I think Django developers should come clear with respect to using models.UUIDField Because I was using it at first and it posed a lot of issues to retrieving data from my database Models.charfield worked for me
Chris
Anyways thank so you for helping me out
Django Bot
>> Links - Django dumpdata and loaddata (Example)
Brian
Hey... Anyone aware why using the .as_view() methods needs extra arguments(eg. 'get' and 'list') where as the docs say we don't have to?
Brian
Well, talking about APIs