Cohen
https://github.com/ccarrylab/mock_test_aws
Mirco
Please move to @python
Cohen
It’s a Django framework
Cohen
I was suggested to come to this group, but someone in @python
Cohen
I’m mocking AWS services.
Mirco
Yes but it's all about testing not a Django issue
Cohen
Ok
Anonymous
Hi
Anonymous
Please i need this book 👇👇
Build a Website With Django 3: A complete introduction to Django 3
Anonymous
Please
Anonymous
Help me
Mirco
Anonymous
Buy it
I don't have money 💔
Anonymous
I am from syria 😒
Mirco
You will buy it when you will have some
Here we don't support piracy
Anonymous
Mirco
Anonymous
Anonymous
Hi
problem:
i create a Post on admin panel in my site but the changes dose not show on the main page of my site
Doragonsureiyā
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
Anonymous
Mirco
this is not a job platform
Anonymous
Anonymous
i have a question, how can i implement two forms not related to each other in the same template?
ᴹᵃᵏˢᵃᵗ
Fabian
hello everyone, i need some help
Fabian
LawyerCertifications.objects.create(certification=certification['certification'], user=lawyer.user)
TypeError: 'TemporaryUploadedFile' object is not subscriptable
Fabian
certifications = serializer.validated_data.pop('certifications')
lawyer = LawyerProfile.objects.create(**serializer.validated_data)
for certification in certifications:
LawyerCertifications.objects.create(certification=certification['certification'], user=lawyer.user)
Fabian
it supposed that certifications is a dict containing one or more PDF of the certifates of the user, how do i save that to storage and DB?
ᴹᵃᵏˢᵃᵗ
Sai
వ్లాదమిర్ పుతిన్
in my CRUD app, i have set up utils in my app to handle sending sms sending. i want on successfl post request, i extract parameters from the json data and send the sms, where should i import my utils file
Rohan
వ్లాదమిర్ పుతిన్
వ్లాదమిర్ పుతిన్
im receiving post data, where should i parse this and call my send sms?
వ్లాదమిర్ పుతిన్
in views ?
Rohan
వ్లాదమిర్ పుతిన్
class DataList(generics.ListCreateAPIView):
queryset = Data.objects.all()
serializer_class = DataSerializer
class DataDetail(generics.RetrieveUpdateDestroyAPIView):
queryset = Data.objects.all()
serializer_class = DataSerializer
వ్లాదమిర్ పుతిన్
my views
వ్లాదమిర్ పుతిన్
where should i call my send sms message
వ్లాదమిర్ పుతిన్
assumming i did import sendmessage from util
వ్లాదమిర్ పుతిన్
class DataSerializer(serializers.ModelSerializer):
class Meta:
model = Data
fields = ('created', 'code','phone_number')
వ్లాదమిర్ పుతిన్
my serializers
Anonymous
We are planning to host html pages on github and connect them with the drf to reduce the load on our server.
Would this be a good option? Or we should use django templates instead.
Anonymous
The website will have a traffic of 2000 visitors and we need all sorts of push notifications and user auth
Anonymous
Anurag
hey plzz help me anyone has ever used apscheduler in django app i need urgent help
Mirco
Doragonsureiyā
Mirco
వ్లాదమిర్ పుతిన్
!paste
small formatted code snippets is fine IMHO, is that not readable for you?
kancharla
I have taken hosting VPS and I want to my Django+MySql site over there could any one send me how to do that
kancharla
Random
How to implement django as serverless for aws
Anonymous
for virtualenv i m getting permission denied error
Anonymous
i m running a python script from python3 env to a python2 env. cuz the script only works in python 2
Anonymous
i m. running using
/home/venv/bin/runtests -s /path/of/the/file.py
Anonymous
so i m getting error
/home/venv/bin permission denied
వ్లాదమిర్ పుతిన్
Anonymous
i have not set any permissions for file
వ్లాదమిర్ పుతిన్
check current
Anonymous
for script or virtual env
వ్లాదమిర్ పుతిన్
script file
Anonymous
okay checking
Pradyum
Hi, I am looking to create a unique id like ABAB-AB01-0182-AIWN (sample)
Pradyum
does any have any experience how to do it?
Pradyum
Am aware about uuid but it does create like this any idea?
deadspy
hey help me with this..
i send a list from views to templates ajax
so its having \n but its not breaking line there .
Before..
IN the html templates i used to use |linebreakbr
what for js?
Mehmet
You can use br tag.
deadspy
okay..
Mehmet
or put your \n terminated string between pre tags
Mehmet
But that may lead needing additional styling
deadspy
okay.. thanks...
Deep
hi i need some help regarding github
Deep
can anyone help me