Ruslan
guys, who knows what the error can be and why? can not track. Invalid HTTP_HOST header: ''. The domain name provided is not valid according to RFC 1034/1035. Saw this solution, but I don't have nginx, I don't quite understand the solution to the problem
Kushal
Guys, Is anyone can clear the OTP registration and login?
web
Hello .. can I get the best website for ( free templates ) to use as django templates : Responsive has (html+ css+ bootstrap4 ) ?
Harish
Who can teach me android app development..??
There are plenty of tutorials on YouTube. I'd suggest pick one and complete it. Reach out to Telegram/Discord groups for Android when you encounter problems with the tutorial
Anonymous
Who can teach me android app development..??
net ninja on youtube. flutter lessons
Shay
hi, i really need help with building a chat app in django. i built already the site now i need to make the chat with socket or django channels. can some one help me with it? im very new to django so it is very difficult for me to do this app (i tried lots of tutorials but its hard for me to understand when i cant ask questions)
Shay
if some one can help me please dm me
RKumar
How to apply notification function in my project anybody can help me
Anonymous
Any Ecommerce working repo suggestions Please
Anonymous
Anybody worked on chat app?
Focky
Anybody worked on chat app?
I've a personal project...
Focky
https://chatapp-container.herokuapp.com
Focky
Just create your room and the First message will be github repo
Anoop Pratap
Focky
Amazing good work
Thanks a lot dude
Anonymous
Focky
Good one .why u used redis
To store information from django_channel_layers
Focky
And for this project i used Redis on Cloud... Because i've many problems to deploy the app as Docker Container on heroku
mujokhiddin
Can you find any source or help for an effective project to learn how to project in Dgango
Anonymous
To store information from django_channel_layers
👍👍 I forgot that package needs redis
Ganesh
https://stackoverflow.com/questions/67347562/how-can-i-get-username-insted-of-userid
Ædel
How can a i make something like Genius.com 's lyrics captions?
Oğuzhan
I need your help guys my question is simple. For instance i want to contribute to https://github.com/CuriousLearner/django-phone-verify this project. What steps i should take? For example should i create a new django project?
Oğuzhan
and should i install this app with pip or download this app extract and put into django project?
Raymond
I suggest that you clone it first, and install the dependencies as specified
Raymond
Then take it from there
Diyorbek
Hello, if somebody have worked with django-mptt, please help me, if I go from index to another page, I get the following error. https://stackoverflow.com/questions/67353007/i-have-problem-with-django-mptt-i-am-using-django-mptt-for-the-first-time-and-i
Anonymous
can't find 'main' module
Sumit
Hi, I want to use Dgraph with Django, I have searched for it's support but not able to find anything except pydgraph, but I am not able to use it with django. Can anyone suggest me a way?
Anonymous
Hello guys, I am a beginner and I am going build a school management system . I am confused that whether I should implement all modules like student, parent, attendance,fees,etc in single app or should I create separate app for each. Anyone who can help?
Wang
Model use inherited
Wang
Like you can create person . Used inherited student teacher parents
Rahkmanuly
Hello there! The question is: I have a model A and Model B by FK relation. How to update Model B's field from Model A via View?
Gerald
Hello, I want to simulate an iot hardware project using Django. If anyone knows anything about it help please
Gerald
I know nothing about mqtt
Gerald
I think I need to see it asap
âshîsh
If you have ideas about TCP IP then MQTT can be easy to understand. Pls check documents and some practical videos to configure your IoT board such as RPi, bananaPi, Arduino etc.
Favas
Hello guys, I have model A and model B , how do I filter model B by model A value
Doragonsureiyā
I know nothing about mqtt
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Anonymous
Hello guys, I have model A and model B , how do I filter model B by model A value
Define model b in your views first Then filter a with a variable present in b and add .first() to get the first element of that field.
Anonymous
Instance rather not element.
Anonymous
non experienced:
Anonymous
can you guys guide me to get any of the online project for both web app and android app using django based like any youtube tutorial or any thing like that please
Peppe
https://stackoverflow.com/questions/67286037/why-the-platform-create-a-new-wallet
Peppe
anyone? PLS
Mirco
https://stackoverflow.com/questions/67286037/why-the-platform-create-a-new-wallet
That for loop is totally useless You have to put a unique constraint inside your Wallet model for the User fk And Django will raise an Integrity Error if you try to create another wallet related to the same user And the performance of that view will become easily weird once you have lots of wallets
Peppe
class Wallet(models.Model): _id = ObjectIdField() profile = models.ForeignKey(User, on_delete=models.CASCADE, unique=True) datetime = models.DateTimeField(auto_now_add=True) fiat_budget = models.FloatField(default=0.0) btc_budget = models.FloatField(default=0.0) eth_budget = models.FloatField(default=0.0) dot_budget = models.FloatField(default=0.0) ada_budget = models.FloatField(default=0.0) def str(self): return self.user.username
Peppe
ok?
Peppe
it not found
Peppe
it's
Ædel
How can a i make something like Genius.com 's lyrics captions in django?
Peppe
you do not create a single wallet whit this method
Peppe
without cicle for
Peppe
@login_required def wallet_new(request): wallets = Wallet.objects.filter(profile=request.user).first() if request.method == "POST": form = WalletForm(request.POST) if form.is_valid(): new_wallet = form.save() new_wallet.profile = request.user new_wallet.save() return render(request, 'app/response_wallet_executed.html') form = WalletForm() contex = {'form': form} return render(request, 'app/wallet_new.html', contex)
Peppe
i have changed the view
Yavno
There is a line html = '''<h1> Name <h1>''' Is it possible to convert to jpeg and save as file? Without creating html file
Peppe
But it doesn’t work
Peppe
class Wallet(models.Model): _id = ObjectIdField() profile = models.OneToOneField(User, on_delete=models.CASCADE) datetime = models.DateTimeField(auto_now_add=True) fiat_budget = models.FloatField(default=0.0) btc_budget = models.FloatField(default=0.0) eth_budget = models.FloatField(default=0.0) dot_budget = models.FloatField(default=0.0) ada_budget = models.FloatField(default=0.0) def str(self): return self.user.username
Bunty chhatri wala..
How do i implement n number of input fields on UI.. Eg: User wants to enter N number of tags related to some post.. How to do that? Using Django Taggit
Abbas
Hi. How can i search users? I have search bar and i want search users. I use django default user model. And i dont seacrh users. Please help me. I sorry my bad english))
⁣ ⁣⁣⁣ ⁣ ⁣⁣⁣ ⁣⁣𝙼𝚘𝚘𝚕𝚎𝚛⁣ ⁣⁣⁣
so since this is offtopic , would it be cool if i ask js question so i am trying to make "space" charCode as a play and pause button in a site i am working on but the browser also treats space as a "click" when u click sth, so how can i prevent the default browser event handling
Anonymous
Hi please tell me why init.py file is empty in django. Was asked in an interview.
Jay
Read docs, you'll know
Anonymous
Problem with hosting multiple django sites with one apache instance <VirtualHost *:80> Windows 10 What's the solution ؟
Mirco
But it doesn’t work
It does not work what ? And use pastebin
Peppe
I can create some wallet, no just one