George
Look at the arch linux wiki
George
Its the most suitable for this kind of problems
Rajjix
because even here you already wrote so much and still no one knows what exactly ur problem is
Rajjix
Do your part, tell my problem is this this this and i can’t connect to networks or i can’t locate my driver, i have tried this this and this
Anonymous
Wtf it got fixed by itself
Anonymous
Sry for wasting your time
George
Anonymous
Anonymous
Dunno how
George
Lol, next time think before asking
Rajjix
Lol, next time think before asking
🤷‍♂️🤦‍♂️
Anonymous
Lol, next time think before asking
It was showing me driver missing error while installing
Anonymous
Lol
Dinu
I am having WiFi driver issue
which driver ?? realtek?
George
Dick head
What, its the driver for my distro
Rajjix
/ban @legions01 narcissism
Anonymous
/ban @legions01 narcissism
I abused him bcz he was making fun of my problem
Anonymous
In another group
inchidi
looks like you guys need an offtopic group, please continue this conversation at @pythonofftopic
Anonymous
Is it possible
Anonymous
Compiling django files
Anonymous
Hi Guys, Do you know any tutorial for work with the framework dash into django?
Luis
If you are using linux, read about Immutable files.
Luis
Nobody can delete, modify o move immutable files
Luis
Anyway, CPython creates bytecode files .pyc and .pyo
cj
you'd better change your programming language 🤷🏻‍♂️
Anonymous
He was talking about standardalonne
Anonymous
At that time
inchidi
Hey man don't say like that
thats true tho, python use intrepeter not compiler. also packaging and compiling not a same thing
cj
Hey man don't say like that
I hope you know Python is an interpreted language 🙄
Luis
I think making your files immutables solve the problem. No body can modify your code...
Rajjix
1300+ members, we should start a company together, i’ll be your inspiration
Rajjix
only if your homework is worth doing 😍
Ronald
Anyone familiar using Django Celery for running cron jobs?
Anonymous
Anyone want to help with Django Rest framework ?
Anonymous
I have created a script that scrapes data and make entries to Database.
Anonymous
Now I want to Create an API for that. Please guide me through
Anonymous
psql or sqlite is more suitable for django....
Anonymous
psql
Any documentation for psql and django
Anonymous
psql
Why psql is more suitable than sqlite??
R
Why psql is more suitable than sqlite??
Tons of reasons, ask google and will tell you
Kamran
Hi ! How can add to my project news subscribe with
Kamran
email
Kamran
and everytime when I will add the news they will get notification
Renita
even i wanna know this...
Kamran
Please help.
Anonymous
How to remove all word connectors ?
Anonymous
From a sentence in python
inchidi
and everytime when I will add the news they will get notification
you will need to have knowledge about django signal, and email backend for this. of course its not the only way to get this done.
inchidi
first, you make the model to store which user subscribe your content
inchidi
assuming only registered users can subscribe to your content, i'll add is_subscribed field to the user profile like this: class AnUserProfile(Model): user = models.OneToOne(User, models.CASCADE, 'profile') is_subscribed = models.BooleanField(default=False)
Kamran
Thank you!
inchidi
roughly your signal will looks like this: @receiver(post_save, sender=News) def send_email_to_subscriber(sender, instance, **kwargs): # get all user email that subscribed to your contents emails = [user_profile.user.email for user_profile in AnUserProfile.objects.filter(is_subscribed=True)] # send the email to all emails ...
inchidi
the last thing is the way you send the emails. its up to you, do you have your own mail server and can send email via smtp with that, or you are using 3rd party mailer like sendgrid. any choice you pick, you'll need to set your EMAIL_BACKEND.
Maz
first, you make the model to store which user subscribe your content
So in addition to the model storing the user model and post model, there's a dif model needed as a connector?
inchidi
So in addition to the model storing the user model and post model, there's a dif model needed as a connector?
no connector needed between those models. you just need to store if certain user subcribed to your content (willing to receive email notification)
Maz
Okay..
Renita
Hmm
Maz
[Django Send emails to all users in the database table - Stack Overflow] is good,have a look at it! https://stackoverflow.com/questions/27664175/django-send-emails-to-all-users-in-the-database-table
Isaías
Good day. I use CreateView in djando. When I create a user using the CreateView non-hash password. Django displays the following message: Invalid password format or unknown hash algorithm.
Isaías
Help.
Rajjix
u need to share code, and is your purpose to store user passwords in raw string format?
Isaías
https://pastebin.com/kLXc9zkE
Rajjix
user-model as well
Rajjix
you want authorized users to be able to create other users
Rajjix
Did i get that right?
Isaías
Yes