Subgroups Implementation (from LDAP)

2018-09-05 Thread Benjamin SOULAS
Hi everyone, I m not expert at all in Django so it can be a silly question but I take the risk: I have to implement *LDAP server* (which work perfectly with *django-auth-ldap*, but my question is not related to this library). I was wondering what happens if groups possesses subgroups? Even if

Re: Subgroups Implementation (from LDAP)

2018-09-07 Thread Benjamin SOULAS
to django-auth-ldap? Or as I already done with python-ldap?? I don't think I could chosse a naming convention if, in advance, it is not possible to me to know which groups will be retrieved, right? Le vendredi 7 septembre 2018 01:57:27 UTC+2, Mike Dewhirst a écrit : > > On 7/09/2018 12:49 AM,

Re: models.py => Mandatory to create tables?

2018-09-07 Thread Benjamin SOULAS
I agree it should, but it doesn't, better, it does not find my model: [image: project_structure.png] [image: issue__init__.png] -- 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

models.py => Mandatory to create tables?

2018-09-07 Thread Benjamin SOULAS
Hi everyone, Quick question I do not find the answer: does models have to located into *models.py* script? It believe not, If I got a project composed of 100 tables, it's weird to me that all models should be located here ... I tried, in this file, to import a model located somewhere else, but

Re: models.py => Mandatory to create tables?

2018-09-07 Thread Benjamin SOULAS
important thing is that you MUST have a > models.py file OR a models module (a directory with the name models and a > __init__.py file with the imports from the individual files). > > Regards, > > Andréas > > > Den fre 7 sep. 2018 kl 16:27 skrev Benjamin SOULAS &

Re: models.py => Mandatory to create tables?

2018-09-07 Thread Benjamin SOULAS
Ok ... Shame ... i found, One day I created a "models" directory to store my models ... So because of this, it didn't make any migrations ... Sorry for the inconvenience, but now I know I have to take care about my folder naming convention ... Kind regards Benjamin. -- You received this

Re: models.py => Mandatory to create tables?

2018-09-07 Thread Benjamin SOULAS
n Friday, 07 September, 2018 10:06 PM, Benjamin SOULAS wrote: > > Hi everyone, > > Quick question I do not find the answer: does models have to located into > *models.py* script? It believe not, If I got a project composed of 100 > tables, it's weird to me that all models sh

Re: models.py => Mandatory to create tables?

2018-09-07 Thread Benjamin SOULAS
Whatever > > > > *Connected by Motorola* > > > Benjamin SOULAS > wrote: > > Hi everyone, > > Quick question I do not find the answer: does models have to located into > *models.py* script? It believe not, If I got a project composed of 100 > tables, it's weird to m

Re: Subgroups Implementation (from LDAP)

2018-09-06 Thread Benjamin SOULAS
... Kind regards Benjamin Le mercredi 5 septembre 2018 23:51:49 UTC+2, Mike Dewhirst a écrit : > > On 5/09/2018 11:25 PM, Benjamin SOULAS wrote: > > Hi everyone, > > > > I m not expert at all in Django so it can be a silly question but I > > take the risk:

Re: Subgroups Implementation (from LDAP)

2018-09-07 Thread Benjamin SOULAS
cts, I did in django-auth-ldap google groups, but nobody answers, this is why I came here .. Thanks a lot (*Merci beaucoup*! Kind regards Le vendredi 7 septembre 2018 09:48:16 UTC+2, Mike Dewhirst a écrit : > > On 7/09/2018 4:38 PM, Benjamin SOULAS wrote: > > Actually, I don't use

Models which link to Groups (by ForeignKey)

2018-09-10 Thread Benjamin SOULAS
Hello everyone, I want to implement a model which make references to 2 groups, to do this, I thought I had to defined, in the model which links the 2 groups, a foreign key for each Group like this: from django.contrib.auth.models import Group from django.db import models class

Re: models.py => Mandatory to create tables?

2018-09-10 Thread Benjamin SOULAS
Hi Andréas, Yes you are absolutely right, because I am still coding a POC to test some module features, I think I forgot to delete it. Now the make migrations and migrate works, BUT it didn't create the expected table, so still have an issue on that, hope to find quickly what happened?

Re: models.py => Mandatory to create tables?

2018-09-10 Thread Benjamin SOULAS
Finally I recreate a new DB and it works now -- 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 post to this group,

Re: Models which link to Groups (by ForeignKey)

2018-09-10 Thread Benjamin SOULAS
Ow, ok, I got it, thx a lot But in order to create this object (retrieve my groups from the ORM), should I implement something specific? Because for my request, I just want to specify the group names and then, in my app, retrieve those, create my link between the groups... I thought I had to

Re: python manage.py runserver

2018-11-15 Thread Benjamin SOULAS
could you give us the context? what the error is? Le jeu. 15 nov. 2018 19:14, a écrit : > python manage.py runserver isnt running with me > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > You

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Benjamin SOULAS
Hello, Currently I integrate VueJS, it works like a charm, the documentation is awesome Le jeu. 29 nov. 2018 21:17, Jani Tiainen a écrit : > Also there exist ExtJS, Dojo Toolkit and at least Svelte which I've > tried... > > kennedy kay kirjoitti to 29. marrask. 2018 klo > 21.25: > >> For me

Re: Kerberos authent implementation

2018-09-13 Thread Benjamin SOULAS
No problem. I have to develop an app for customers assuming they can have different authentication system (just for information: I am discovering LDAP, RADIUS, Kerberos and others for a few days, I don't have skills in that). The aim of our app is to adapt itself depending if the customer has

Re: Kerberos authent implementation

2018-09-13 Thread Benjamin SOULAS
Thanks a lot for your response, we use django-auth-ldap too, for openldap, but for regular AD, I am still waiting some stuff, I started to modify my settings.py, hope this works. No problem for Kerberos, maybe someone will read my post and give advices ! -- You received this message because

Kerberos authent implementation

2018-09-13 Thread Benjamin SOULAS
Hello every one, I would like to test Kerberos authentication. Can someone give me advices? I saw Django-kerberos and django-auth-kerberos, but there are not much maintenairs on those, so is it more appropriate to develop my own Django Backend to handle this authentication? I don't see much

Re: Not able to connect mongo DB with django2.1

2018-09-19 Thread Benjamin SOULAS
Hi Akshat, Could you be more specific? Do you have some code to provide to us in order to help you? Do you have errors? Pymongo is a good lib if you intend not to use the Django ORM, if you want to use the ORM, Djongo exists, or others ODMs Kind regards, Benjamin -- You received this