Mi
dynaconf/README.md at master · rochacbruno/dynaconf https://github.com/rochacbruno/dynaconf/blob/master/README.md
Mi
Anyone using this?
Mi
Does it provide advantages with respect to python-decouple?
Django Bot
>> Blogs - Django development with Docker — Testing, Continuous Integration and Docker
Abhi
how to get your blog post posted over this django bot ?
inchidi
how to get your blog post posted over this django bot ?
https://github.com/DimasInchidi/tg-django-feed-bot/blob/master/rss.py
inchidi
dynaconf/README.md at master · rochacbruno/dynaconf https://github.com/rochacbruno/dynaconf/blob/master/README.md
i never using it, but from quick read i think it has really nice features tbh
inchidi
how to get your blog post posted over this django bot ?
technically if you would like to add your blog you can register it here
Django Bot
>> Links - How to Render Django Form Manually
Luis
https://github.com/mailslurper/mailslurper
Django Bot
>> Links - Building A Real-Time iOS Chat Application With Django | Lucas Jackson
Jimmies San
https://github.com/mailslurper/mailslurper
i prefer this https://github.com/mailhog/MailHog
Abhi
Hey guys How should i manage static files for templates and stuff? Also What is different between media and static files
Abhi
Should i have a static folder for each app or all together in the root folder
Django Bot
>> Blogs - Reactify Django >> Links - Ask HN: What's your favorite way of getting a web app up quickly in 2018? | - python - How do I make django secrets available inside docker containers - - Building APIs with Django and Django Rest Framework
Anonymous
Hi, What is best solution to make registration users in django rest framework with custom user model? use django-rest-auth or django-allauth or another 3rd party app or make all thing custom like sending email confirmations and so on
Django Bot
>> Links - Simple is Better Than Complex - Twitter - (500) https://www.geo-solutions.it/jobs/
Anonymous
Dudes, can I create a social network sing django
Anonymous
Yes
Thanks for the Info friend
Anonymous
Hi, how can set two different permission_class for get and post method in one class? django rest framework and Class base view
Django Bot
>> Blogs - Django CORS - How to configure Sass and Bower with django-compressor - part 1 (local conf - How to configure Sass and Bower with django-compressor - part 2 (deployment - A Basic SEO for Django - Classy Django REST Framework Release - 10 Django apps you're not using but should be - Uploading files from the frontend to Amazon S3 - 3 Django apps for sending great e-mails - Controlling access: a Django permission apps comparison - Database concurrency in Django the right way - Metaprogramming and Django - Using Decorators - Django and React Boilerplate as an Asset in Software Development - How I test my DRF serializers - Don't forget the stamps: testing email content in Django - Contributing to Django Framework is easier than you think - Advanced Django querying: sorting events by date - DjangoCon Europe 2017 was awesome! - [pt-BR] Organizando o Django Girls Recife - Organizing Django Girls Recife - Going to Technical Events is Awesome: A DjangoCon Experience - Multitenancy: juggling customer data in Django - Django REST Framework Read & Write Serializers - Taming Irreversibility with Feature Flags (in Python) >> Links - auth0-blog/django-vue.js - Introduction — django-cron 0.3.5 documentation - Uploading files from the frontend to Amazon S3 – Vinta Software - Building Modern Applications with Django and Vue.js - Oscar - Domain-driven e-commerce for Django - evzijst / dogslow — Bitbucket - Running a Django Application on Windows Server 2012 with IIS - antonagestam/collectfast: A Faster Collectstatic - healthchecks/healthchecks: A Cron Monitoring Tool written in Python & Djang
Daniel
>> Blogs - Django CORS - How to configure Sass and Bower with django-compressor - part 1 (local conf - How to configure Sass and Bower with django-compressor - part 2 (deployment - A Basic SEO for Django - Classy Django REST Framework Release - 10 Django apps you're not using but should be - Uploading files from the frontend to Amazon S3 - 3 Django apps for sending great e-mails - Controlling access: a Django permission apps comparison - Database concurrency in Django the right way - Metaprogramming and Django - Using Decorators - Django and React Boilerplate as an Asset in Software Development - How I test my DRF serializers - Don't forget the stamps: testing email content in Django - Contributing to Django Framework is easier than you think - Advanced Django querying: sorting events by date - DjangoCon Europe 2017 was awesome! - [pt-BR] Organizando o Django Girls Recife - Organizing Django Girls Recife - Going to Technical Events is Awesome: A DjangoCon Experience - Multitenancy: juggling customer data in Django - Django REST Framework Read & Write Serializers - Taming Irreversibility with Feature Flags (in Python) >> Links - auth0-blog/django-vue.js - Introduction — django-cron 0.3.5 documentation - Uploading files from the frontend to Amazon S3 – Vinta Software - Building Modern Applications with Django and Vue.js - Oscar - Domain-driven e-commerce for Django - evzijst / dogslow — Bitbucket - Running a Django Application on Windows Server 2012 with IIS - antonagestam/collectfast: A Faster Collectstatic - healthchecks/healthchecks: A Cron Monitoring Tool written in Python & Djang
holy crap that's alot of resources
Anonymous
`def get_permissions(self): ?`
I need to see sample, thanks
inchidi
Hi, how can set two different permission_class for get and post method in one class? django rest framework and Class base view
you mean something like permission_classes = (AdminGetPostPermission, UserGetPermission,) become permission_classes = (AdminGetPostUserGetPermission,)?
Anonymous
you mean something like permission_classes = (AdminGetPostPermission, UserGetPermission,) become permission_classes = (AdminGetPostUserGetPermission,)?
🤔 I didn't know we have UserGetPermission 😐 I mean that I have to method POST and PUT and I want all people can POST but just authenticated one can PUT
Anonymous
I make a User class to Registration and i want to add Update profile to it is it write way?
Anonymous
did you know you can create custom permission?
😅 yeap, but i didn't do it before so think maybe something like UserGetPermission should exist that i can use in permission_class in my class 🙂
Anonymous
did you know you can create custom permission?
what is your suggestion to make this class?
Anonymous
did you know you can create custom permission?
https://pastebin.com/wa2PgVXV This is what I wrote And i want that all people can post , like that i was said
inchidi
https://pastebin.com/wa2PgVXV This is what I wrote And i want that all people can post , like that i was said
i dont think at this point your "update profile feature" working correctly
inchidi
i would like to recommend you to make it work first
inchidi
you want to update there, but you didnt specify which data to update
Anonymous
you want to update there, but you didnt specify which data to update
shouldn't we specify this on update function in serializer class ?
inchidi
even though you want to do it in serializer class (which is should be harder than in views) at this point you cant do that since you have same code for post and put
inchidi
umm i have an idea
inchidi
try create 2 API endpoint (2 url) with generic views, one for create user and one for update user
inchidi
i think thats will be easier for you this case
Anonymous
even though you want to do it in serializer class (which is should be harder than in views) at this point you cant do that since you have same code for post and put
How can i do this in View? in django rest framework examples they do in serializers class like this http://www.django-rest-framework.org/tutorial/1-serialization/#creating-a-serializer-class
Anonymous
inchidi
hmm, i must try this way thank you 🌹
here is a sample about that
Anonymous
here is a sample about that
one more question 😐 i found too many solution to do something in django how can i figure out what is best?
inchidi
"if it works, is not stupid"
inchidi
😄
python
Hi. I'm new in django. I want to customize admin interface. I want display my models objects horizontally in admin page, It set vertically as default in django. Thank you friends.
Anonymous
😅 nice
Amit
Where to learn python ?please suggest me
Django Bot
>> Links - 10 Django apps you're not using but should be – Vinta Software - Python Application Layouts: A Reference – Real Python - Django development with Docker — Testing, Continuous Integration and Docker
R
When creating a new model instance, are m2m keys created objects created after signal post_save?
R
Trying to create a signal like that https://dpaste.de/9qFW but m2m field appears to be null during the signal, but completely created at the end
-
Hello
Django Bot
>> Links - Running Open edX in production with Docker — France Université Numérique
Django Bot
>> Links - Building Modern Applications with Django and Vue.js
Django Bot
>> Blogs - Angular 6 Tutorial with Django RESTful API — Building Bootstrap 4 UIs
Anonymous
Hey. I have a problem in blog API I want to see the author's name but this code shows me ID models.py author = models.ForeignKey(User,related_name='blog_posts') serializers.py class blogPostRetrieveSerializer(ModelSerializer): class Meta: model = BlogPost fields = ('image','title','author','body') serializers view (views.py): @permission_classes((permissions.AllowAny,)) class blogPostListAPIView(generics.ListAPIView): queryset = BlogPost.objects.all() serializer_class = blogPostRetrieveSerializer
Daniel
and find out how to access the name element
Daniel
or open django shell and test there
inchidi
btw class name should be Sentence Case Text tho
Anonymous
TNQ so much friends!
inchidi
english only
Shaked
Sorry
Shaked
If i have a json in javascript and i want to send the json to a python how do i send from javascript to python abd how do python recive the json
Shaked
How i do that
inchidi
How i do that
http://bfy.tw/ITRN
Django Bot
>> Links - Wagtail Social Feed — Wagtail Social Feed 0.4.1 documentation - Deploying Django Mezzanine Using Fabric | DigitalOcean
Anonymous
Hello guys I have a project problem