Re: Microservice with django

2019-11-08 Thread salimon jamiu olashile
th django > > > > I was wondering the same thing > > > > On Fri, 8 Nov 2019, 20:15 salimon jamiu olashile, < > tunedae1shi...@gmail.com> wrote: > > Hello all, > > > > How can I build a Django project/app that follow the microservice > archite

Microservice with django

2019-11-08 Thread salimon jamiu olashile
Hello all, How can I build a Django project/app that follow the microservice architecture? Looking to be pointed in the right direction. Best regards. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: DeferredAttribute object in form

2019-08-17 Thread salimon jamiu olashile
It seems the model & form class names are clashing. If you want use the same name, you can import each module as a whole. Edited: from . import models, forms def editbusiness(request): > data = models.Businessownercreate.objects.all() > if request.method == "POST": > form =

Re: Django website help

2019-05-29 Thread salimon jamiu olashile
Can you share more details about the problem? Screenshot or trace back anything On Wed, 29 May 2019 at 2:59 PM, Luka Nik wrote: > I can't build my Django website for some reason and I can't figure out > why. Do you have any ideas what should I do? > > Default Django site worked, but when I

Re: deploy to Heroku " collectstatic --noinput "

2019-05-27 Thread salimon jamiu olashile
Hello Omar, what’s the problem? On Sun, 26 May 2019 at 10:35 PM, omar ahmed wrote: > git push heroku master > Counting objects: 4, done. > Delta compression using up to 4 threads. > Compressing objects: 100% (4/4), done. > Writing objects: 100% (4/4), 414 bytes | 0 bytes/s, done. > Total 4

Re: Can't save to Postgres db locally - Fresher

2019-05-16 Thread salimon jamiu olashile
Is “contact” a model? On Wed, 15 May 2019 at 8:36 PM, Emmanuel klutse wrote: > Thanks Chetan Ganji, well appreciated. > > H, I changed the method name but problem still persist. > > I have tried all I can to handle the new errors but failed again. > > When I changed the contact here to

Re: Can't save to Postgres db locally - Fresher

2019-05-16 Thread salimon jamiu olashile
ay 2019 at 2:32 AM, salimon jamiu olashile < tunedae1shi...@gmail.com> wrote: > Is “contact” a model? > > > On Wed, 15 May 2019 at 8:36 PM, Emmanuel klutse > wrote: > >> Thanks Chetan Ganji, well appreciated. >> >> H, I changed the method name but pr

Re: Can't save to Postgres db locally - Fresher

2019-05-15 Thread salimon jamiu olashile
You’re passing a string instead of a variable. c = contact(email=email,subject=subject,message=message) On Wed, 15 May 2019 at 4:33 PM, Chetan Ganji wrote: > *Problem - * > def *contact*(request): > .. > c = *contact*(email='email',subject='subject',message='message') >

Re: How to create a login form with two more forms in it

2019-05-13 Thread salimon jamiu olashile
Hey, I think you can do this by adding conditionals to your template to handle the data sent from the view. Regards On Mon, 13 May 2019 at 3:29 PM, MUHAMMAD AFZAL wrote: > You could solve this problem in templates itself by placing form in > different positions or using advanced frameworks like

Re: Email Django app.

2019-05-10 Thread salimon jamiu olashile
The functionality should work on localhost. On Fri, 10 May 2019 at 11:17 PM, Marvelous Ikechi wrote: > Hello guys, > > I'm creating an third party app that can send and read users emails using > Django. How possible would it be to connect to the internet from my local > host, to send and

Re: (Help Me !) How to extract name attribute of element from instantiated form object inside views.py

2019-05-06 Thread salimon jamiu olashile
You’re welcome On Mon, 6 May 2019 at 5:08 PM, Mayur Bagul wrote: > thanks ! > > > for solution it will be helpful to me. > > On Monday, May 6, 2019 at 7:01:07 PM UTC+5:30, Jamiu Olashile Salimon > wrote: >> >> use this to access the city_name field value; >> >> form.cleaned_data[“city_name”] >>

Re: (Help Me !) How to extract name attribute of element from instantiated form object inside views.py

2019-05-06 Thread salimon jamiu olashile
use this to access the city_name field value; form.cleaned_data[“city_name”] Use to a print statement to see for yourself. On Mon, 6 May 2019 at 1:42 PM, Mayur Bagul wrote: > Hello Community, > > I've been stuck to this problem from one week. I have read Django Doc. and > i found little bit

Re: How to design database for django rest api

2019-05-06 Thread salimon jamiu olashile
Hello, You can use Django REST Framework to create Django APIs. Check out this tutorial (part 1 & 2) by King Kasulani on Medium. You can check Django REST Framework official website also. https://medium.com/backticks-tildes/lets-build-an-api-with-django-rest-framework-32fcf40231e5

Re: Projects to work on

2019-05-05 Thread salimon jamiu olashile
Can you give me more details on it? To understand what you’re talking about. On Sun, 5 May 2019 at 6:41 PM, Rob Gmail wrote: > I have a reports project that you might be interested in working on > > Rob > 203-671-6514 > Sent from my mobile device, please excuse the typos. > > On May 5, 2019, at