Re: Installing django on python3.5.2. Debian

2016-12-13 Thread Michal Petrucha
On Tue, Dec 13, 2016 at 01:16:52PM -0800, mihail.poplav...@gmail.com wrote: > Hello! I have a problem with installing Django on python 3.5.2, Debian > I can't install pip on this version of python. However, python 3.4 has pip. > How can I install pip in python 3.5.2? If you installed Python from

Re: Installing django on python3.5.2. Debian

2016-12-13 Thread Antonis Christofides
Hi, How did you install Python? Usually pip is installed together with Python. If for some reason it hasn't been installed, you should be able to install it with "python -m ensurepip". See https://docs.python.org/3/library/ensurepip.html. Regards, Antonis Christofides

Installing django on python3.5.2. Debian

2016-12-13 Thread mihail . poplavkov
Hello! I have a problem with installing Django on python 3.5.2, Debian I can't install pip on this version of python. However, python 3.4 has pip. How can I install pip in python 3.5.2? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

RE: Django Browser issue

2016-12-13 Thread Anjali Mk -X (anmk - WIPRO LIMITED at Cisco)
Hi, Thanks for the reply. I donno how to connect to manage.py from host server since Django code is not placed in that host. Hosting server is connecting to code through wsgi. Please let me know if you know how to connect then I will try and check. Regards, Anjali [banner7] Anjali Mk

Re: Problem with makemigrations on Speedy Composer

2016-12-13 Thread GMail
Well, as far as I know, in Django you need to have abstract base classes for models (https://docs.djangoproject.com/en/1.10/topics/db/models/#model-inheritance ). If I understand your case correctly, NamedEntity and

Re: Problem with makemigrations on Speedy Composer

2016-12-13 Thread Uri Even-Chen
If I set SpeedyComposerNamedEntity to be abstract (which makes sense, there will not be objects of it), I get this error message: peedy\composer>manage.py makemigrations SystemCheckError: System check identified some issues: ERRORS: compose.Composition.accompaniment: (models.E006) The field

Re: Problem with makemigrations on Speedy Composer

2016-12-13 Thread Uri Even-Chen
Why does it have to be abstract? NamedEntity and Entity are also not abstract. https://github.com/urievenchen/speedy-net/blob/master/speedy/net/accounts/models.py Uri. *Uri Even-Chen* [image: photo] Phone: +972-54-3995700 Email: u...@speedy.net Website: http://www.speedysoftware.com/uri/en/

Re: Problem with makemigrations on Speedy Composer

2016-12-13 Thread GMail
Hi! First guess - SpeedyComposerNamedEntity is not an abstract model. Meta is not inherited from NamedEntity, you have to do that explicitly: class SpeedyComposerNamedEntity(NamedEntity): ... class Meta(NamedEntity.Meta): pass ... > On 13 Dec 2016, at 18:30, Uri

Problem with makemigrations on Speedy Composer

2016-12-13 Thread Uri Even-Chen
Dear Django Users, I'm trying to write the models of Speedy Composer in Django 1.10.4, but I can't run makemigrations - I get this error message: speedy\composer>manage.py makemigrations SystemCheckError: System check identified some issues: ERRORS: compose.Composition.accompaniment:

Re: virtualenv is not compatible with this system

2016-12-13 Thread graeme
It looks like you are trying to use virtualenv with Anaconda. I would have thought conda is likely to work better with Anaconda (I do not know whether virtualenv will work at all with Anaconda, conda is certainly the usual way to create virtual environments with Anaconda). On Tuesday, December

Re: Opinions on permissions stategy

2016-12-13 Thread Vinicius Assef
Yes, mptt can save your day. When handling hierarchies it's important to establish clear priorities. An example: given the following hierarchy: Project (1st "floor") -> Module (2nd "floor") -> Task (3rd "floor"), if not directly assigned, a task should consider module's permission? Or the

virtualenv is not compatible with this system

2016-12-13 Thread Ravin Kohli
I am trying to create a virtual env on a mac when is execute the following line i get an error saying virtualenv is not compatible with this system virtualenv env_new Using base prefix '/Users/ravinkohli/anaconda3' New python executable in /Users/ravinkohli/env_new/bin/python dyld: Library not

Re: Filling out a form using a json file

2016-12-13 Thread jochen . luig
Hello Abraham, thanks for your answer! On Mon, 12. Dec 10:15, 'Abraham Varricatt' via Django users wrote: > What about using the forms validate() method? i.e. if the user has not > filled in all the JSON details, return a validation error. This should give >