Ebenezer
my name venv is venv
Okay so when the interpreter is changed successfully, you’ll see venv showing at where the python3.8 is
Editing Name
Editing Name
this possible reinstall venv?
Editing Name
Editing Name
I'm imagining that the virtualenv that was in trouble
Ebenezer
Muhammad Shofyan
Hi..
can someone help me with my problem here :
.
https://stackoverflow.com/questions/66839763/make-edit-funcion-without-conflict-on-edit-booking-django/66841738#66841738
.
Thanks
Editing Name
Christof
I do that but it doesnt help
M
Can anyone help me please with a git project which uses drf. I walked though around the CRUD of API just wanted to check what is real use of this in website building
Arun
How to prevent form submission after redirect...any one?
Zey
For adding items to cart I am not using post request is it fine?
Maz
Sacrifice and do the internship. You'll have a star on your resume which is better than most fresh grads. Plus you'll have real-world experience with production apps. And if you do good work your employers may decide to hire you full time. Even if they dont, it will be easier to monkey branch from there.
Akash
I am using django-storages to store private files in s3 bucket.
When I add the model to django-admin I get the unsigned url which gives access denied, how to fix it?
Enigma
hey.
how can i Place a txt file to the root of the website?
Enigma
the root is the place that files gets save?
Zey
Prateek
Random
How to convert ER diagrams into modles
Enigma
Prateek
Enigma
Prateek
What? :|
Actually this is moreover server related stuff not django so msg me personally I will explain you there ,
Enigma
Prateek
Deezi
How can I automatically add monthly interest to earning users in Django?
Randy
Gives an error on this system for entering the number of records
(an exception occurs when creating migrations, writes that it cannot find the table, i.e. it simply does not occur due to some error)
post = models.Post ()
part_with_post_count = models.PostPart.objects.filter (post = post) .count ()
What's wrong with it?
Enigma
Randy
What you want to do
I want get count of PostPart with concrete post (its PostPart's property)
But this line is with exception :(
Enigma
Randy
Enigma
Randy
Which line?
part_with_post_count = models.PostPart.objects.filter (post = post) .count ()
Enigma
Enigma
Is there any function with postpart name?
I gusse she dose not have any model named postpart in her models
Enigma
even i cant find any model named Post in doc
Randy
It looks like count () doesn't exist
Randy
Randy
even i cant find any model named Post in doc
class PostPart(models.Model):
post = models.ForeignKey(Post, on_delete=models.DO_NOTHING, null=True, blank=True)
description = models.TextField(null=True, blank=True)
image = models.ImageField(upload_to='images/', null=True, blank=True)
Enigma
Enigma
Rajeev
Question : I filtered the data based on user. Logic is implemented in view. It's working fine. But, how to enable for superuser..
Anonymous
Hi
Django support how much req/sec?
Ivan
Hi everyone! Who knows, what the best practice to use for checking today date? I have 2 works methods:
datetime.now()
date.today()
Sai
first one you will get date with time
Sai
In second one you get only date
Игорь
Please advise the material, which describes in detail how to create authorization for several types of users. For example, when a teacher is authorized, he is redirected to the teacher's page, and the student to the student's page
Dany
Hi. Does anybody here has worked before with Websockets? I implemented Websockets and it was working just fine locally. But when I tried to deploy to Heroku, it doesn't even connect.
Dany
What do you mean?
Mariya
hello everyone how can i export django dtabase schema?
Dev
Dev
you can take a look at https://github.com/centrifugal/centrifugo
Dany
Alejandra
Hello! How much is the price for to do the backend of a sport betting platform?
Editing Name
Hello, I need to get all the fields of a line that has the same email, how can I make this query in the database that returns everything related to this email?
class ValidateAccountSerializer(serializers.Serializer):
email = serializers.EmailField()
def validate_email(self, email):
all_data = CustomUser.objects.filter(email=email)
print(all_data)
return email
class Meta:
model = CustomUser
fields = ('email',)
Faby’s
Hello ! How to generate a Desktop installer for a Django rest framework application.
Nirupam
How to delete old records in django using periodic task or auto scheduler?
Rushabh
Nirupam
I m asking like cronjob
Nirupam
Timedelte will help to count the time date..not auto scheduling
Enigma
hey.
i want to create a url that whenever the user send a request to it , a .txt file gets downloading automatically. can anyone help me with that?
Rushabh
Sumit
Is csrf_extempt only option to deal with graphql api in production ? Will it be secure. if not, please suggest an alternative