Hi Kirby.
Interesting idea. I'm not familiar with subdomains, but I will definitely
try this.
Thanks for the help,
Jorge
On Tuesday, August 27, 2013 4:12:47 PM UTC+2, C. Kirby wrote:
>
> Can each of the different requirements websites be on a different
> third-level or subdomain? (If your site
I'm using the admin site for editing a model. One of the fields in the
model is readonly when editing. But when try to save the model while
editing django gives the error "Please correct error below" and does not
give a clue about where the error happens. I know the cause is the readonly
field
Yes it is.
On Tue, Aug 27, 2013 at 11:16 PM, piasek piasek wrote:
> Hi
>
> I was wondering is it possible to get information about two tables in one
> query?
> I have two models
> Team (id, name, active, country) and Player (id, first_name, second_name,
> active, team)
> where Player.team = For
http://stackoverflow.com/questions/16597709/randomize-a-django-queryset-once-then-iterate-through-it
On Tue, Aug 27, 2013 at 11:16 PM, piasek piasek wrote:
> Hi
>
> I was wondering is it possible to get information about two tables in one
> query?
> I have two models
> Team (id, name, active, c
This is my progress so far :
class Utilisateur(models.Model):
user = models.OneToOneField(User)
role = models.CharField(choices=ROLES,blank=False,max_length=50)
managed_by = models.ManyToManyField('self',
related_name='managers',
This is my progress so far :
class Utilisateur(models.Model):
user = models.OneToOneField(User)
role = models.CharField(choices=ROLES,blank=False,max_length=50)
managed_by = models.ManyToManyField('self',
related_name='managers',
Hi, I am also going share Django ORM and SQLAlchemy connections.
Do you know the solution?
Thomas
W dniu środa, 22 czerwca 2011 20:38:54 UTC+2 użytkownik Vladimir Mihailenco
napisał:
>
> I am trying to share connection between Django and SqlAlchemy. I tried
> following code:
>
> from django.db
On Tue, Aug 27, 2013 at 6:37 PM, Harjot Mann wrote:
> I also want to shift my app from django version 1.4.5 to 1.5.1. You are
> right there should be some script which automatically upgrades the version
> without affecting the application.
No, there shouldn't. You would spend more time writing
Hi
Found the solution
ran the following sql directly and it worked fine
ALTER TABLE `table_name`
DROP INDEX `field1`
, ADD UNIQUE INDEX `field1` (`field1` ASC, `field2` ASC, `field3` ASC) ;
Also checked a distinct on the three fields to ensure data integrity
Thanks
Subramanyam
On T
Why do i get this error?
(django-env)[root@python pythondating]# django-admin.py makemessages -l nl
-i settings.py
processing language nl
CommandError: errors happened while running xgettext on .#models.py
xgettext: fout bij openen van './profielen/.#models.py' voor lezen: Bestand
of map bestaat
Here is my code
models.py
===
class member(models.Model):
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30)
dob = models.DateField()
def get_fields(self):
return(self.__dict__.keys()[0:len(self.__dict__.keys())-2])
vie
We all know about SSL so stop the lectures please. Sometimes you simply
want to reasonably encrypt on client and decrypt on server and for one
reason or another SSL is not an option.
On Thursday, October 11, 2012 7:37:43 AM UTC-7, Javier Guerra wrote:
>
> On Thu, Oct 11, 2012 at 3:39 AM, Laxm
So if I use sjcl.encrypt at browser then how do I do the equivalent of
sjcl.decrypt in python at server side. That is what the original question
was asking as I read it.
On Tuesday, October 9, 2012 8:24:06 AM UTC-7, Javier Guerra wrote:
>
> On Tue, Oct 9, 2012 at 12:07 AM, Laxmikant Gurnalkar
Hi ,
trying to display the member's list present in DB, the code works fine with
sample scripts where as with django view-model-template output doesn't come
properly.
urls.py
===
url(r'^list',ListContactView.as_view(),name='member-list'),
models.py
===
class member(models.Model):
fi
now i got passed that and i get this one
(django-env)[root@python pythondating]# django-admin.py makemessages -l nl
processing language nl
DjangoUnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position
37: invalid start byte. You passed in '\x00\x05\x16\x07\x00\x02\x00\x00Mac
OS X
i solved it. my mac created some weird ghost files that conflicted with it
--
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.
I have been beating my head against the wall trying to figure this out. I
came up with a simplified example to illustrate what I'm trying to do.
Posit a hypothetical university application; say, a system where students,
faculty and administration can all participate. There are different
pri
17 matches
Mail list logo