how to restrict responses to a single server/domain ?

2015-12-30 Thread Abraham Varricatt
I'm trying to build something similar to a microservice using Django and can't figure out how to setup the authentication part. When I say 'microservice' I mean, we have a bunch of systems like - example.com , test.com , another.com and another.test.com (a subdomain). I'm going to build a RE

Re: how to restrict responses to a single server/domain ?

2015-12-30 Thread James Schneider
> > I'm trying to build something similar to a microservice using Django and > can't figure out how to setup the authentication part. > > When I say 'microservice' I mean, we have a bunch of systems like - > example.com , test.com , another.com and another.test.com (a > subdomain). I'm going to b

Re: django 1.9 - application does not

2015-12-30 Thread Fred Stakem
I had the same issue and I found it was coming from django-rest. I uncommented the app and it disappeared. Not sure the solution. On Thursday, December 24, 2015 at 1:32:11 AM UTC-5, Shekar Tippur wrote: > > Hello, > > I have a application on my laptop and I am trying to move it to AWS. > I have i

Re: wsgi.py apache segmentation fault

2015-12-30 Thread Baris Adrian
hi Eugenio, Did you get a solution to this problem. If so what? because i am stuck and i could appreciate the help. Kindest REgards On Thursday, October 8, 2015 at 5:45:40 PM UTC+3, Eugenio Trumpy wrote: > > Hello everybody, > > I'm very not so expert on django, I'm at the first experience. > I

Re: how to restrict responses to a single server/domain ?

2015-12-30 Thread Billu
Wouldn't it be much easier to just check the IP (or mac) addresses of the request and if it matches the allowable ip(s), then allow otherwise deny? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivin

Re: Migrate django project to eclipse/pydev ide

2015-12-30 Thread Gary Roach
On 12/22/2015 04:53 PM, Clifford Ilkay wrote: On 22/12/15 07:05 PM, Andrew Farrell wrote: Could you also tell us: 1) Why you need to switch to Eclipse specifically rather than PyCharm , SublimeText , or (the one I use) Atom

How change info about register user

2015-12-30 Thread Dariusz Mysior
In Django\contrib\auth\forms.py I have clas like below. When I use it and create a form to register a user with fields user, password, confirm password I have also info about correct characters to register user. How can I change this info? class UserCreationForm(forms.ModelForm): """ A

Re: Migrate django project to eclipse/pydev ide

2015-12-30 Thread CLIFFORD ILKAY
On 30/12/15 02:00 PM, Gary Roach wrote: On 12/22/2015 04:53 PM, Clifford Ilkay wrote: On 22/12/15 07:05 PM, Andrew Farrell wrote: Could you also tell us: 1) Why you need to switch to Eclipse specifically rather than PyCharm , SublimeText

Working with Django signals

2015-12-30 Thread Bernardo Garcia
I have a custom users schema in Django for work with roles or users type, creating an application named userprofile which will be or will setup my custom user model. In my settings.py I have the following configuration: INSTALLED_APPS = [ ... 'userprofile',]#Custom model Users AUT

Re: how to restrict responses to a single server/domain ?

2015-12-30 Thread James Schneider
On Wed, Dec 30, 2015 at 5:14 AM, Billu wrote: > Wouldn't it be much easier to just check the IP (or mac) addresses of the > request and if it matches the allowable ip(s), then allow otherwise deny? > > That's the super short and incomplete version of my response. My answer went more into depth ab