Re: reg: Building Django REST API to show number of matching pattern from log file

2020-01-13 Thread Derek
Some ideas (untested of course) "I need develop an API that will read the matching pattern from the log file, and push it to the DB." <== this is NOT an API - but have look at how a different script could access your log: https://stackoverflow.com/questions/12523044/how-can-i-tail-a-log-file-in

Re: Making an OR condition in a Queryset using .filter(**mydict)

2020-01-13 Thread Sreevardhan Reddy
https://docs.djangoproject.com/en/3.0/topics/db/queries/#complex-lookups-with-q-objects On Fri, Jan 10, 2020 at 7:54 PM Ezequias Rocha wrote: > Hi everyone > > I am using a dynamic filter and I am building my own arguments at runtime. > > The problem I am focusing is when I want my filter opera

Re: Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-13 Thread Julius Lange
Okay, thank you guys! I figured it out. The reason was another issue and my nooby assumtion led you in the wrong direction. Sorry, thanks again Julius Am Sonntag, 12. Januar 2020 22:56:43 UTC+1 schrieb Julius Lange: > > Dear people, > > currently doing the django tutorial! Really enjoy it so

Django Development opportunity in Ahmedabad, India

2020-01-13 Thread Roshan Shah
We require Django Developer with 3+ years experience to work out of our startup in Ahmedabad. We have a very small 4 person growing team. You will lead the team in Ahmedabad and remote team across India You will also manage client projects and grow the team in India. You are expected to have abso

Re: How to do SEO for my django website

2020-01-13 Thread Roshan Shah
Anyone fixing django-seo to be compatible with Django 3.0? On Fri, Jan 3, 2020 at 7:54 AM Yash Garg wrote: > rollyourown.seo in not compatible with latest version of django > > > On Friday, January 3, 2020 at 6:18:11 PM UTC+5:30, sagar ninave wrote: >> >> https://django-seo.readthedocs.io/en/lat

Re: URL pattern for URL with query string

2020-01-13 Thread S D
Thanks Jason. Kind regards, - SD On Mon, Jan 13, 2020, 16:28 Jason wrote: > The url resolver does not include GET query params in a URL, you need to > add them manually after the string. > > for example > > url = > f"{reverse('weather')}/?current_location={some_value}&booking_location={an

Re: URL pattern for URL with query string

2020-01-13 Thread Jason
The url resolver does not include GET query params in a URL, you need to add them manually after the string. for example url = f"{reverse('weather')}/?current_location={some_value}&booking_location={another_value}" -- You received this message because you are subscribed to the Google Grou

URL pattern for URL with query string

2020-01-13 Thread S D
Hey guys. SOS please. How do I write a URL pattern for a URL like this? weather/?current_location=-33.927407,18.415747&booking_location=-32.927407,19.415747 When I do reverse(‘weather’, kwargs={‘current_location’: some_value, 'booking_ location’: another_value}) I am getting a NoReverseMatch exce

Re: Confused about the Django admin panel!

2020-01-13 Thread Kasper Laudrup
Hi Tech Inject, On 13/01/2020 07.33, Tech Inject wrote: I am new at Django. and I am creating one college project now I need to add some good functionality at the admin panel. I want to add blog post type features with ajax to auto-save and all. I want to create data visualization using char

Confused about the Django admin panel!

2020-01-13 Thread Tech Inject
I am new at Django. and I am creating one college project now I need to add some good functionality at the admin panel. I want to add blog post type features with ajax to auto-save and all. I want to create data visualization using charts, etc. now the problem arises is I am confused about is t

Re: Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-13 Thread zana mhamad
Internet facebook -- 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 this discussion on the web visit https://gr

Re: Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-13 Thread zana mhamad
فيسبوك تثبيت شبكة انترنت علي تطبيقات علي جهاSamsung a7 2016 -- 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

reg: Building Django REST API to show number of matching pattern from log file

2020-01-13 Thread 'Amitesh Sahay' via Django users
Hello Users, I have a scenario for which I need to develop a Web API through Django RESTFrameWork. 1) We have a multiple linux machines on which a  log file is generated as soon as there is some change in hash value of a license file . The log file generation and the license file monitoring ha