Re: django unittest with post not working

2016-02-05 Thread JAMES DAMILD ETIENNE
Yes but it stillnot saving the data after posting :/ -- 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

django unittest with post not working

2016-02-04 Thread JAMES DAMILD ETIENNE
Hi , will some help with this please , I am writting a django unittest for a web app. when i do a post like that : r = self.client.post(reverse('login'), {'username': 't...@hotmail.com', 'password': '12345'}) print 'logins page load>>', r.status_code the status code returns 302. it's

Re: How should it make django test create a default_test database that is using 5 shemas ?

2016-02-04 Thread JAMES DAMILD ETIENNE
Ok thanks , make sense , 'ill try to do that thank 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

Re: How should it make django test create a default_test database that is using 5 shemas ?

2016-02-04 Thread JAMES DAMILD ETIENNE
> > any help please ? > thank you > On Friday, January 29, 2016 at 6:31:17 PM UTC-5, JAMES DAMILD ETIENNE wrote: > > I have a possgres database with 5 shemas , it connects very well to it , > but when truing to do unit test on my models or view , the default table

how to run django test with a default test database , while the real database is a posgres with 5 shemas ?

2016-01-29 Thread JAMES DAMILD ETIENNE
any help please ? -- 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 to

How should it make django test create a default_test database that is using 5 shemas ?

2016-01-29 Thread JAMES DAMILD ETIENNE
I have a possgres database with 5 shemas , it connects very well to it , but when truing to do unit test on my models or view , the default table created in sqllite3 is saysing that on of my table is not there : return Database.Cursor.execute(self, query, params) OperationalError: no such