Re: Security News?

2015-08-19 Thread Nikolas Stevenson-Molnar
Cool, thanks for the tips! I like Ars Technica, too. _Nik On 8/18/2015 3:55 PM, François Schiettecatte wrote: +1 on this. And I also follow http://arstechnica.com, they are usually pretty quick. François On Aug 18, 2015, at 5:30 PM, Shawn Milochik wrote: I've been

MIGRATION_MODULES correct setup.

2015-08-19 Thread b . wade
Hi we have a farily large Django 1.8 project and there are a few 3rd party apps we are using that don't have Django migrations so I am trying to create ones for the apps in question. In my settings file I have: MIGRATION_MODULES = { 'oauth_access':

Re: How to insert recent session Username or UserId in database table in Django?

2015-08-19 Thread Luis Zárate
Did you make migrations ? $ python manage.py makemigrations $ python manage.py migrate El miércoles, 19 de agosto de 2015, Remaze Vs escribió: > operationalError at/ > no such column:products_product.User_id > > -- > You received this message because you are subscribed to

Re: Djangocon Costa Rica next year.

2015-08-19 Thread Luis Zárate
I think in two possibilities: 1) Request permission to use the DjangoCon name to the DSF. ¿How can do that? "The only exception to this is the name "DjangoCon", which must not be used without the permission of the DSF;" 2) Change the name to Spanish name like "Conferencias Django" (Django

Re: Django 1.6.11 model class query

2015-08-19 Thread 'Tom Evans' via Django users
On Wed, Aug 19, 2015 at 3:18 PM, Nikunj Badjatya wrote: > Hello All, > > I have a django model class defined as: > > > class Test(models.Model): >id=AutoField(primary_key=True) >name = models.CharField(max_length=45, null=False) >description =

Re: Django 1.6.11 model class query

2015-08-19 Thread Vijay Khemlani
I'm guessing Django does not update all of the fields of the instance when saving it, only the id On Wed, Aug 19, 2015 at 11:31 AM, Nikunj Badjatya wrote: > Also, > When the same object is retrieved using > > > print(Test.objects.get(id=row.id).uuid) # Prints uuid. >

Re: Django 1.6.11 model class query

2015-08-19 Thread Nikunj Badjatya
Also, When the same object is retrieved using print(Test.objects.get(id=row.id).uuid) # Prints uuid. -- 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 1.6.11 model class query

2015-08-19 Thread Nikunj Badjatya
Hello All, I have a django model class defined as: class Test(models.Model): id=AutoField(primary_key=True) name = models.CharField(max_length=45, null=False) description = models.CharField(max_length=200, null=True) uuid = models.CharField(max_length=250) class Meta:

Re: Djangocon Costa Rica next year.

2015-08-19 Thread François Schiettecatte
lmgtfy: https://2015.djangocon.us Austin, early sept. Francois > On Aug 19, 2015, at 8:29 AM, Larry Martell wrote: > > On Wed, Aug 19, 2015 at 6:37 AM, Russell Keith-Magee > wrote: >> If you're coming to DjangoCon US in a couple of

Re: 'self' is not define

2015-08-19 Thread Florian Schweikert
On 19/08/15 13:25, Remaze Vs wrote: > username=self.request.user.username What do you want to accomplish with this line? This cannot work. Where should self and self.request come from? You probably want to us a ForeignKey to the User model. (user = models.ForeignKey(User)) Afterwards you have to

Re: Djangocon Costa Rica next year.

2015-08-19 Thread Larry Martell
On Wed, Aug 19, 2015 at 6:37 AM, Russell Keith-Magee wrote: > If you're coming to DjangoCon US in a couple of weeks, make yourself known > to me and I'll introduce you to the team organising that event - I'm sure > they'll have plenty of advice, and maybe even some

'self' is not define

2015-08-19 Thread Remaze Vs
I am new in Django I am trying to insert session login username in database.but facing this error. my model.py file class Product(models.Model): title = models.CharField(max_length=120) description = models.TextField(null=True, blank=True) category = models.ManyToManyField(Category, null=True,

Re: Djangocon Costa Rica next year.

2015-08-19 Thread Russell Keith-Magee
On Wed, Aug 19, 2015 at 9:50 AM, Luis Zárate wrote: > Hello everyone, > > I want to organize the first "djangocon Costa Rica" next year, I know it's > too soon to speak about this but it's the first time here and it's very > important to do it well, so the community and I are

ANN: eGenix mxODBC 3.3.5 - Python ODBC Database Interface

2015-08-19 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix.com mxODBC Python ODBC Database Interface Version 3.3.5 mxODBC is our commercially supported Python extension providing

Re: How to insert recent session Username or UserId in database table in Django?

2015-08-19 Thread Remaze Vs
operationalError at/ no such column:products_product.User_id -- 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

Re: How to insert recent session Username or UserId in database table in Django?

2015-08-19 Thread Remaze Vs
> > OperationalError at / >> >> no such column: products_product.User_id >> >> operationalError at/ no such column:products_product.User_id -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: How to insert recent session Username or UserId in database table in Django?

2015-08-19 Thread James Schneider
Use 'from' instead of 'import' for the first word. -James On Aug 19, 2015 12:33 AM, "Remaze Vs" wrote: > thanks for your time, but I am facing error invalid syntax , on that line > import django.contrib.auth.models import User > > my model.py > from django.conf import

Re: How to insert recent session Username or UserId in database table in Django?

2015-08-19 Thread Remaze Vs
thanks for your time, but I am facing error invalid syntax , on that line import django.contrib.auth.models import User my model.py from django.conf import settings from django.core.urlresolvers import reverse from django.db import models from django.db.models.signals import post_save import