Re: Micro Service Architecture

2019-10-14 Thread vineet daniel
Have a look at this https://pypi.org/project/django-grpc/ Regards Vineet Daniel Cell : +918527565696 Websites : Blog | Linkedin | Twitter On Mon, Oct 14, 2019 at 6:40

Re: how to retrieve data from database using raw SQL not django ORM

2019-10-14 Thread Kanyamahanga Hubert
Your error message is pretty clear. Change a little bit your urls.py to take pk keywords like this: path("events//",getEvents,name = "getEvents"), On Mon, 14 Oct 2019 at 07:53, Kasper Laudrup wrote: > Hi Leb Dev, > > On 14/10/2019 08.28, leb dev wrote: > > > > once i tried to perform the

Re: User Password Automatically changes after 15 days

2019-10-14 Thread Aldian Fazrihady
It doesn't make sense that something has a feature to automatically change user's password. It is because only the user is allowed to know the plain text of his password. Backend can only know the hash of the password. Please check if your deployment has a data fixtures that overrides some

Re: User Password Automatically changes after 15 days

2019-10-14 Thread Duncan Jerry
this question should be directed to AWS customer care line, if u reach out to them, they will reply On Mon, Oct 14, 2019 at 9:26 AM developer panther wrote: > Hello all, > > I am facing a serious issue in production, that password of users table is > automatically changes after 15 days or

Re: Should there be separate django app for every user type in a django project?

2019-10-14 Thread test user
Yes, i have checked this article many times. It tells you how to implement user model to handle multiple user types not on how the apps should be laid out in that case. My question was if you have 5 types of users in your website and each user has different interfaces and tasks to perform.

Re: Defining frequently used HTML fragments as constants?

2019-10-14 Thread Julio Cojom
I guess it will be in your views , if it's used in more than 1 def maybe you can use a def who return your variable and use it in for loop to call it many times. El lun., 14 de octubre de 2019 10:27 a. m., Spiff escribió: > Hi, I'm reading up on how to properly output html. Let's say I have a

User Password Automatically changes after 15 days

2019-10-14 Thread developer panther
Hello all, I am facing a serious issue in production, that password of users table is automatically changes after 15 days or probably 2 weeks we are using server:- AWS server EC2 instance database:- MYSql Usertable :- Django auth table please look into this on priority -- You received this

Defining frequently used HTML fragments as constants?

2019-10-14 Thread Spiff
Hi, I'm reading up on how to properly output html. Let's say I have a row for a table that would be useful in more than one method, is it a good idea to define this as a constant, like so? MONTH_ROW = '{1}\n' -- You received this message because you are subscribed to the Google Groups "Django

django-haystack filter engine with elastic search backend. It gaves a list of all engine but i want to display only one engine that matches with maker

2019-10-14 Thread Priyanka patil
class PartLookUpHaystackSerializer(HaystackFacetSerializer): serialize_objects = True class Meta: # The `index_classes` attribute is a list of which search indexes # we want to include in the search. index_classes = [PartIndex] # The `fields`

Re: Micro Service Architecture

2019-10-14 Thread Uzama Zaid Mohammed Jaward
Great guys. Is Apache Kafka is good for inter communication among Django micro services or is there any better technology exists? On Sat, Oct 12, 2019 at 20:05, lemme smash wrote: > go > ^^) > > On Friday, October 11, 2019 at 8:39:33 PM UTC+3, Uzama Zaid Mohammed > Jaward wrote: >> >> Hi all >>

Django 3.0 beta 1 released

2019-10-14 Thread Mariusz Felisiak
We've made the second release on the way to Django's next major release, Django 3.0! With a month and a half until the final release, we'll need timely testing from the community to ensure a stable release. Check out the blog post:

Re: how to run a function from a link withing popup modal bootstrap with django

2019-10-14 Thread Rajkumar Mittal
path("events//", views.getEvents, name = "getEvents"), this is the correct way On Monday, 14 October 2019 14:19:58 UTC+5:30, leb dev wrote: > > I have a django project that includes a popup modal where the modal has > tabs as links one of these tabs once the user clicked it must perform a >

Re: Docker

2019-10-14 Thread Nick Sarbicki
K8S has a very different system of volumes which is separate from Docker. Docs are here: https://kubernetes.io/docs/concepts/storage/volumes/ For K8S you mainly need to consider what your running K8S on, AWS, GCP, bare metal etc? As well as what you are storing on your volumes and if they only

Re: Docker

2019-10-14 Thread vineet daniel
in reference to kubernetes cluster as well? with multiple containers? developer pushes the code to git and that invokes kube pipeline where does volume come into picture here. I might be wrong here and that's why need clarity on this. May be we are thinking differently. Regards Vineet Daniel Cell

Re: transition part of particular template to another template

2019-10-14 Thread Motaz Hejaze
you need a link to refer to the other view ( html page ) On Sun, Oct 13, 2019 at 6:20 PM mohamed khaled < mohamed.khaled33...@gmail.com> wrote: > I want to take the result from* detail.html* to *list.html * > > in *detail.html* > > > {% with comments.count as count %} > {{count}}

Re: how to run a function from a link withing popup modal bootstrap with django

2019-10-14 Thread Rajkumar Mittal
Use views.getEvents in urls.py On Mon, 14 Oct, 2019, 2:20 PM leb dev, wrote: > I have a django project that includes a popup modal where the modal has > tabs as links one of these tabs once the user clicked it must perform a > function and retrieve data from the database. > > The problem is

Re: Docker

2019-10-14 Thread Nick Sarbicki
You would use volumes in the same way regardless of how git is used and your CI/CD is setup. Documentation on volumes in docker is here: https://docs.docker.com/storage/volumes/ and for compose here: https://docs.docker.com/compose/compose-file/#volume-configuration-reference On Monday,

how to run a function from a link withing popup modal bootstrap with django

2019-10-14 Thread leb dev
I have a django project that includes a popup modal where the modal has tabs as links one of these tabs once the user clicked it must perform a function and retrieve data from the database. The problem is that once the user clicked the tab nothing happen as is the function isn't initialize.

Re: how to retrieve data from database using raw SQL not django ORM

2019-10-14 Thread Kasper Laudrup
Hi Leb Dev, On 14/10/2019 08.28, leb dev wrote: once i tried to perform the task the system crash and display: getEvents() got unexpected keyword argument "id > That error message is pretty clear. Look at your getEvents() function. It doesn't take a keyword argument, while in your

Re: Docker

2019-10-14 Thread vineet daniel
How would one use volumes if containers are to initiated after git merge/push ? (CI/CD setup). Regards Vineet Daniel Cell : +918527565696 Websites : Blog | Linkedin | Twitter

how to retrieve data from database using raw SQL not django ORM

2019-10-14 Thread leb dev
0 I have a django project that is connected to SQL server database and when i tried to click button to retrieve data from the database the system crash . i am trying to convert the below syntax in ORM into raw sql: dbEntry = Person_.objects.get(pk =pk) Note : *I am not using ORM* once i