Re: migrations error

2017-03-20 Thread carlos
Hi, Camilo, yes of course, i see when create first 0001_initial.py files this file import the models for third party app, but when uninstall app i apply news migrations i think django migration check all files i discover the import models for the third apps not exit anymore and raise the error,

Connect to SQL server but error when migrations

2017-03-20 Thread max
I have the following question post on stackoverflow , but no one can answer me. Hope anyone who has experience on it, I appreciate it! -- You received this message because you are subscribed to the Google

Re: Python / Django newbie looking for mentorship

2017-03-20 Thread Feria Científica
Thanks a lot, I´ll start by the second, greetings! Richard On Mon, Mar 20, 2017 at 2:03 AM, Mark Phillips wrote: > Feria, > > Start here if you are comfortable with Pythonhttps://docs. > djangoproject.com/en/1.10/intro/tutorial01/ > > Start here if you are

Testing a Django library

2017-03-20 Thread thauk
I am working on a Django library (which will be packaged) and want to set up testing for it. Looking at a number of existing Django libraries, here seem to be a number of ways to set up testing, and all of them are different. Are there any best practices? Is there a guide that specifies how it

migrations error

2017-03-20 Thread Camilo Torres
Hi, Do you have the virtual environment active when you run the migrate command? -- 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

Re: drop down multi checkbox with bootstraps selet

2017-03-20 Thread ايهاب توفيق
thank you for your help بتاريخ السبت، 18 مارس، 2017 6:58:07 م UTC+2، كتب ايهاب توفيق: > > I am tring to create drop down checkbox with values from database in my > templet using bootstrap select and form MultipleChoiceField like this > > > > Html > > select class="selectpicker" multiple> >

Re: No module named utils

2017-03-20 Thread Tim Graham
My guess it that the version of django-compressor you're using doesn't support Django 1.5 -- that's a rather old, insecure version. You'll either have to update to a supported version of Django (see https://www.djangoproject.com/download/#supported-versions) or use an old version of

Authentication via a different app on the same domain

2017-03-20 Thread Saman Ehsan
I have a django application with an API written using Django Rest Framework, and I want users to login with their account from another service. Since the service will be on the same domain as my application, is is possible to use cookie-based session authentication? Or do I need to use OAuth?

No module named utils

2017-03-20 Thread Mark Knochen
Hi, i have a Django Version 1.5.1 and Python Version 2.7.5 ... No i get the error: Request Method: GET Django Version: 1.5.1 Exception Type: ImportError Exception Value: No module named utils Exception Location: /home/lib/python2.7/compressor/conf.py in , line 5 Python Executable:

migrations error

2017-03-20 Thread carlos
Hi all, When I install my first third party application in my model I create my initial migration and everything okay, after that probe I uninstall that application and create another new migration number 2, but it throws me an error because there is no longer the application in both the Setting

Re: superuser having all permissions makes perm checking messy

2017-03-20 Thread guettli
Am Samstag, 18. März 2017 06:00:14 UTC+1 schrieb Melvyn Sopacua: > > On Thursday 16 March 2017 02:29:21 guettli wrote: > > > > > In our custom code we already skip check1 and do only check2. > > > > Why do you even do these checks? > Good question. I want to get all users which have a

Re: Programming Error at admin

2017-03-20 Thread Melvyn Sopacua
On Saturday 18 March 2017 08:52:03 Andréas Kühne wrote: > You shouldn't get any errors when running migrations. What I am > guessing now is that the sessions table is missing completely or some > of the columns in the table are missing. But you would only be in that state, if the session

Re: Meta class completely missing.

2017-03-20 Thread chris rose
hi brandon try removing (object) from your meta class declaration -- 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

Re: Tweaking the admin title to display the model name

2017-03-20 Thread Andréas Kühne
Yes, I actually have written an application where we use the django admin interface as the primary work area for the client who uses the system. We use a lot of specially written actions and widgets, but it is really versitile. The only problem we have had was when we wanted to do polymorphism

Re: GeoDjango

2017-03-20 Thread Jani Tiainen
Hi, There are several options how to actually server maps. Few simplest options are running seperate server that serves maps like MapServer, GeoServer or Mapnik. Of course if you want to serve maps from Django directly that maybe tricky. That django-wms package seems to leverage MapServer

Re: GeoDjango

2017-03-20 Thread Derek
One option is to use Geoserver on the backend to manage your spatial data (in files or databases), and then to serve this via Django. See: https://www.youtube.com/watch?v=rU_Jh6RcY24 On Saturday, 18 March 2017 15:21:55 UTC+2, sbrunel62 wrote: > > Hello, > > I’m new on GeoDjango, I need to

Re: Python / Django newbie looking for mentorship

2017-03-20 Thread Antonis Christofides
> If you have 20 Years of experience as a software developer you can easily > learn python by yourself in one or two weeks. Of course he can. However a teacher is a huge boon, for various reasons, and if you have a little more money than time it's really a good idea to get one. If someone is

Re: Tweaking the admin title to display the model name

2017-03-20 Thread Derek
Good point; with some work (e.g. adding actions), the admin can cover 80 to 90% of what most DB-focused projects will need - the django-suit interface also makes it look pretty slick! On Saturday, 18 March 2017 09:54:37 UTC+2, Andréas Kühne wrote: > > Yeah I know - the django admin platform is