Re: Installation script?

2012-09-03 Thread Andres Reyes Monge
Take a look at this project https://github.com/dcramer/logan On Monday, September 3, 2012 6:39:41 AM UTC-6, Carsten Agger wrote: > > I've created a Django web service consisting of two separate sites, by > default running on the same server, which implements a "document broker" > service capabl

Re: FactoryBoy & ManyToManyField

2012-11-20 Thread Andres Reyes Monge
The simplest would be to class ATestCase(TestCase): def setUp(self): super(ATestCase, self).setUp() self.user = UserFactory() self.workplace = WorkplaceFactory() self.workplace.employees_set.add(self.user) def test_foobar(self): # how do I add sel

Speeding up test database creation

2012-11-26 Thread Andres Reyes Monge
The tutorial uses a sqlite file database not a in memory database, try omitting the name parameter and it should speed things up -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com