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
Anonymous
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
Anonymous
Lol
Dinu
Nmn
Anonymous
George
Dick head
What, its the driver for my distro
Rajjix
/ban @legions01 narcissism
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
Anonymous
He was talking about standardalonne
Anonymous
At that time
inchidi
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
cj
George
Rajjix
only if your homework is worth doing 😍
George
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....
Mirco
Anonymous
psql
Any documentation for psql and django
Anonymous
psql
Why psql is more suitable than sqlite??
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
Maz
Mirco
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
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
Okay..
Renita
Hmm
Kamran
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