These are chat archives for django/django

16th
Jul 2018
John
@flyboy1565
Jul 16 2018 03:44 UTC
test
Bulkan Evcimen
@bulkan
Jul 16 2018 04:06 UTC
tastiepie :S
Puneet Kaura
@pkaura_twitter
Jul 16 2018 06:38 UTC
Hi Djangonauts, One question for a DRF based application: I have a frontend system based on React which has user-defined subdomain portals like user1.frontendapp.com, user2.frontendapp.com what is the best way to integrate this is a DRF backend should DRF app also support user1.backendapp.com user2.backendapp.com or simply the I can have all urls like backendapp.com/user1/[all_url_paths] and backendapp.com/user2/[all_url_paths]
Evaluating pros and cons of the two approaches.
Curtis Maloney
@funkybob
Jul 16 2018 09:39 UTC
@pkaura_twitter I'd be surprised if DRF can't check the request.get_host() result to affect filtering
Puneet Kaura
@pkaura_twitter
Jul 16 2018 10:39 UTC
@funkybob so which approach do you favor 1) backendapp.com/user1/ vs 2) user1.backendapp.com say we have to login users for user 1 only
Curtis Maloney
@funkybob
Jul 16 2018 10:41 UTC
2
Elijah Rippeth
@erip
Jul 16 2018 10:49 UTC
@funkybob Yep, I guess. The django-admin commands
Curtis Maloney
@funkybob
Jul 16 2018 11:02 UTC
@elcolie are you sure you're asking in the right channel?
:]
@elcolie
Jul 16 2018 11:02 UTC
@funkybob My bad. Thank you
Curtis Maloney
@funkybob
Jul 16 2018 11:03 UTC
@erip there's django.core.management.call_command
@erip or the slightly higher level as seen in your manage.py
mounikeshmintu
@mounikeshmintu
Jul 16 2018 11:24 UTC
guys does anyone have an idea of how actually sharing works like sharing post from facebook to twitter and how can i add something to facebook that can share content to my site using api or anything
Curtis Maloney
@funkybob
Jul 16 2018 11:26 UTC
@mounikeshmintu in that specific case, it's just making a new post on the other service
mounikeshmintu
@mounikeshmintu
Jul 16 2018 11:34 UTC
@funkybob no, i need to know how can we create that sharing option in facebook
Curtis Maloney
@funkybob
Jul 16 2018 11:39 UTC
you want Facebook to be able to share to your app?
mounikeshmintu
@mounikeshmintu
Jul 16 2018 12:10 UTC
yes
soulilya
@soulilya
Jul 16 2018 12:43 UTC
Hallo! Who working with requests or zeep?
mounikeshmintu
@mounikeshmintu
Jul 16 2018 12:43 UTC
@soulilya i'm working with requests
soulilya
@soulilya
Jul 16 2018 12:46 UTC
is there's way to use other charset?
in documentation i not found any information about that
mounikeshmintu
@mounikeshmintu
Jul 16 2018 12:50 UTC
@soulilya i dnt have any idea abt that
Hantsaniala Eléo
@hantsaniala_gitlab
Jul 16 2018 12:57 UTC
Hello everybody ! I'm new with Django. If I want to create a project that manage task, team, and project, I must create one app for each table ? Or what I supposed to do ?
mounikeshmintu
@mounikeshmintu
Jul 16 2018 13:30 UTC
@hantsaniala_gitlab you can create one app for all the three or you can create 3 different apps and seperate them through urls personally i suggest you to create 3 different apps if in case you have faced an issue then you will be knowing where the issue is
Hantsaniala Eléo
@hantsaniala_gitlab
Jul 16 2018 13:31 UTC
@mounikeshmintu Okey thanks, I'll trying to create only one app for them all I think.
Renjith S Raj
@renjithsraj
Jul 16 2018 18:27 UTC
Blog #6. How to use builtin Login with Latest version Django 2.0.7- Part 2
http://www.epicups.com/blog/how-use-builtin-login-latest-version-django-207-part-2/