How to access using foreing key

2020-10-30 Thread Ashutosh Mishra
class User(models.Model): name=models.CharField(max_length=50,blank=True,null=True) latitude = models.CharField('Latitude', max_length=30, blank=True, null=True) longitude = models.CharField('Longitude', max_length=30, blank=True, null=True) location = models.PointField(blank=True, null=True)

Django Doctor: a bot that suggests fixes to code smells in your GitHub Pull Request

2020-10-30 Thread rik...@gmail.com
Today I released Django Doctor: it's a bot that suggests fixes to any code smells it finds in your GitHub Pull Request. Just click "approve" to commit the fix for low effort code improvement! I made this after realising I can automate some of the dev effort during code review: there are some

Re: Patreon and Django-AllAuth Integration

2020-10-30 Thread Andrew Stringfield
You guys are awesome! I will try these solutions later this evening. On Wednesday, October 28, 2020 at 11:30:56 PM UTC-4 oladipo...@gmail.com wrote: > Hello Sir, > You need to set the LOGIN_REDIRECT_URL in your settings.py file. > > On Mon, Oct 26, 2020, 8:47 PM Andrew Stringfield > wrote: >

Django and Vue

2020-10-30 Thread www.forum-gh.com
hello family please i need guidance on how to integrate vue and django to: 1. use one url 2. drf and vue -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Get datetime now, not at server initialisation

2020-10-30 Thread Carles Pina i Estany
Hi Clive, On Oct/28/2020, Clive Bruton wrote: > Thanks, that was very helpful. I had another pointer on this and found out > that the easiest way to do this is just to change the ```file``` line in the > class to: > > ``` > file = ImageField(_('image'),

Gyftr api integration

2020-10-30 Thread ankit baliyan
Plz, Tell me how to integrate Gyftr api in rest-framework. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view