'python manage.py createsuperuser' error

2016-01-12 Thread Lansana Camara
Learning Python and Django for the first time and I'm stuck at this part of the intro tutorial: https://docs.djangoproject.com/en/1.9/intro/tutorial02/#introducing-the-django-admin The 'python manage.py createsuperuser' command gives me this error: *Superuser creation skipped due to not

Re: [melbourne-pug] OS license requirements

2016-01-12 Thread Mike Dewhirst
Further to this, for the SharedSDS project licensing is now settled on GNU GPL v3 for the bulk of the software. API code will be GNU LGPL v3 Mike On Tuesday, August 12, 2014 at 10:43:58 AM UTC+10, Mike Dewhirst wrote: > > Cross posting again to thank everyone for responding ... > > I'm going

Re: Commenting system to use to build with REST API

2016-01-12 Thread amarshall
Thank you. I ended up doing just that and writing my own. works great :D On Wednesday, December 23, 2015 at 1:18:52 PM UTC-5, Dheerendra Rathor wrote: > > You can write your own system with just two models - Post and Comment. > Then write custom serializers and viewsets to submit comments. >

Not getting any results back using DRF Haystack

2016-01-12 Thread amarshall
So I've used django rest framework to serialize my data to make api calls. Great, that all worked well. Now I wanted to implement a search and return the serialized data in JSON format like I do with normal data. I feel like I followed the drf-haystack basic usage guide(

Re: apps.populate deadlock

2016-01-12 Thread James Schneider
Have you tried the Django dev mailing list? You're dealing with the deep internals of Django, the black magic of which us lowly end users take for granted. You may have better luck there, since they have a much better understanding of the gears and gizmos behind the scenes. -James On Jan 12,

Custom field reference flowchart

2016-01-12 Thread martin f krafft
Dear Django people, I'm working on something I called "IndirectGenericForeignKey",¹ and following suggestionsi I received on django-developers, I've made a bit of progress on my implementation, using a custom (pseudo-)field.² My code works, but I can't exactly say I understand all of it, which

Re: invalid literal for int() with base 10: '' using FormSet with File Upload

2016-01-12 Thread Luis Zárate
What is the value of pk in study_form_set = DiagnosticStudyFormSet(request.POST, request.FILES, prefix='studies', queryset=DiagnosticStudy.objects.filter(diagnostic__id=pk)). ? Is pk an int? try print type(pk) El martes, 12 de enero de 2016, Néstor Boscán escribió: > Hi

Re: apps.populate deadlock

2016-01-12 Thread John Bazik
Breaking it down: - Django.setup wants to load all apps, and calls apps.populate - Django-cms plugins register themselves at load time - Django-cms plugin registration involves loading templates - Django-multisite provides a template loader (for per-site templates) -

Re: apps.populate deadlock

2016-01-12 Thread John Bazik
Here's the actual traceback. John -- 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, send email

apps.populate deadlock

2016-01-12 Thread John Bazik
I'm porting a site from django 1.6 -> 1.8, and getting deadlock (no errors) at load time. The problem is that apps.populate is getting called twice and hanging on the lock. This is from executing "python manage.py help". There are lots of moving parts, but a trace shows something like this:

Re: Compilation Error while installing

2016-01-12 Thread Simon Charette
Hi, These warnings are safe to ignore, please see 1.9 release notes for more details . Simon Le mardi 12 janvier 2016 12:06:43 UTC-5, Kshitij Saraogi a écrit : > > Hello, > > I was

Compilation Error while installing

2016-01-12 Thread Kshitij Saraogi
Hello, I was installing django via pip and I got a few errors. Here is the traceback: ➜ ~ pip3 install Django Downloading/unpacking Django Downloading Django-1.9.1-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded Installing collected packages: Django *** Error compiling

invalid literal for int() with base 10: '' using FormSet with File Upload

2016-01-12 Thread Néstor Boscán
Hi Django Forum I'm working on a web application that has a page with form set that requires file upload. When I upload the files I get: Django Version:1.9.1Exception Type:ValueErrorException Value: invalid literal for int() with base 10: '' Exception

Re: Admin is still annoying regarding model save(), and model post_save signals.

2016-01-12 Thread Luis Masuelli
Notes: This is only annoying when the logic involves many2many fields. -- 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

Admin is still annoying regarding model save(), and model post_save signals.

2016-01-12 Thread Luis Masuelli
If you want to perform additional logic when you save your model... class MyModel(models.Model): #... def save(self, *args, **kwargs): self.a_rel_model_set.add(O) super(MyModel, self).save(*args, **kwargs) self.another_rel_model_set.add(O2) Or similar login

Strange behaviour of filter() on related model (RelatedManager) - django 1.9.1

2016-01-12 Thread Balázs Oroszi
Hi, I noticed something strange with filtering related objects. Below is a complete sample demonstrating the problem. This is only for demonstrating the problem. Django version is 1.9.1 Given the model in a "testapp" app: from django.db import models class

Django job opportunity in Bordeaux, France

2016-01-12 Thread bruno desthuilliers
We're looking for a Python / Django dev : http://emploi.alsacreations.com/offre-565470-Developpeur-django-python.html -- 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

Re: Upgrading to 1.9 - Any Easy Guide ?

2016-01-12 Thread André Jarussi
Hello, I recently had to upgrade from Django 1.4 to 1.8 (not quite ready for 1.9) ... I made the upgrade with the minor realeases .. I didn't had much trouble with the patches .. basically .. 1.4 to 1.5 .. deploy .. see whats wrong .. 1.5 to 1.6 .. deploy .. see whats wrong .. until you

Re: Upgrading to 1.9 - Any Easy Guide ?

2016-01-12 Thread Vibhu Rishi
Hi Tom So essentially you are saying to go with upgrade to 1.7 - fix issues and then to 1.8 etc ? V. On Jan 11, 2016 11:45 PM, "'Tom Evans' via Django users" < django-users@googlegroups.com> wrote: > On Mon, Jan 11, 2016 at 4:36 PM, Vibhu Rishi > wrote: > > Hi > > > > I

Re: django 1.8 , makemigrations throwing errors

2016-01-12 Thread Atul kumar Gupta
Thanks Christoph , Solved my problem. Love you. -- 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

bulk copy data from 1 model to another in django

2016-01-12 Thread Rahul Jha
I am having 2 model of similar schema and I want to bulk copy from model1 to model2 but model2 is having 3 more fields but I want to store null in these fields. class SubscriberBalanceProcess(models.Model): VOICE_SOC = models.CharField(max_length=50, null=True) SMS_SOC =