Re: unit testing

2013-07-07 Thread Javier Guerra Giraldez
On Sun, Jul 7, 2013 at 10:47 PM, Larry Martell wrote: > MeasDataTest is declared as: > > class MeasDataTest(TestCase): > > Why do I get "does not refer to a test"? where do you define your test? AFAIR, it must be either in the models.py, or a tests.py file in the same directory. > Then I tried

Re: unit testing

2013-07-07 Thread Larry Martell
On Sun, Jul 7, 2013 at 7:22 PM, Larry Martell wrote: > Just getting started with django unit testing. I created a very simple > test, just to see how things work. Here is my test: > > from django.test import TestCase > > fixtures = ['auth_user', 'auth_permission', 'data_cst'] > > class MeasDataTes

unit testing

2013-07-07 Thread Larry Martell
Just getting started with django unit testing. I created a very simple test, just to see how things work. Here is my test: from django.test import TestCase fixtures = ['auth_user', 'auth_permission', 'data_cst'] class MeasDataTest(TestCase): def test_MeasDate(self): # login r

QtWebkit Browser - CSRF verification failed

2013-07-07 Thread Nir Blinder
Hello Everyone, I am building a browser with QtWebkit , Every site that uses django CSRF security returns an error: Forbidden (403). CSRF verification failed I use cookies, and I can see the csrftoken cookie just fine. Anybody knows why ? Any idea? -- You received this message because you

Re: Big Picture?

2013-07-07 Thread Sanjay Bhangar
On Sun, Jul 7, 2013 at 7:05 AM, Amirouche Boubekki < amirouche.boube...@gmail.com> wrote: > Hi, > > I have a diagram I call big picture, you might find it useful (see > attachment). > > Anything green is most of the time provided by the framework at least it > is the case in Django. > > Anything g

Re: Big Picture?

2013-07-07 Thread ron
Thanks for the link ajohnston, I'll do the Gjango download and give it a whirl. :) On Sunday, July 7, 2013 2:21:05 PM UTC-7, ajohnston wrote: > > Hi Ron, > > To understand more clearly how Django works and what it can do for you, I > would strongly urge to you go through the tutorial here: > > h

Re: Big Picture?

2013-07-07 Thread ron
Thanks Huy T, I'm leaning towards MySQL so far, based on the link you gave. On Sunday, July 7, 2013 3:45:01 AM UTC-7, Huy T wrote: > > Django comes with support via it's backend to various databases. If you're > using MySQL 5.0+, Django will support that. The majority of your > interaction will

Re: Big Picture?

2013-07-07 Thread ron
Thanks Amirouche, Your diagram is immesely clarifying. I think I'll use it to keep track of things. Thanks again. :) On Sunday, July 7, 2013 7:05:08 AM UTC-7, Amirouche wrote: > > Hi, > > I have a diagram I call big picture, you might find it useful (see > attachment). > > Anything green is mos

Re: Big Picture?

2013-07-07 Thread ron
Thanks, I'm leaning towards MySQL so far, based on the link you gave. On Sunday, July 7, 2013 3:45:01 AM UTC-7, Huy T wrote: > > Django comes with support via it's backend to various databases. If you're > using MySQL 5.0+, Django will support that. The majority of your > interaction will be don

Re: Big Picture?

2013-07-07 Thread ajohnston
Hi Ron, To understand more clearly how Django works and what it can do for you, I would strongly urge to you go through the tutorial here: https://docs.djangoproject.com/en/dev/intro/tutorial01/ Depending on your current Python level and familiarity with web programming in general, it will tak

Re: Impossible? Django with NTLM SSO auth on windows?

2013-07-07 Thread Yves Rausch
Hello guys, we had a similar issue and created a new module on apache 2.4 where you can use ntlm authentication on a windows machine. Here is the binary download and some information (including a link to github repository): http://www.informer.de/produkte/apache-sspi-ntlm/ Hope this helps. Am

change buttons or widgets

2013-07-07 Thread Kakar Arunachal Service
Hi, I think this is too early for me to ask bcoz m still learning the whole web thig. But i'm just very curious. So my question is, how do i change the button or widgets if i had to? I'm sorry if i named or termed it in a wrong way. Thanks! -- You received this message because you are subscribed

Re: type object 'DataTable' has no attribute 'datFile'

2013-07-07 Thread Daniel Roseman
On Saturday, 6 July 2013 12:07:34 UTC+1, Nigel Legg wrote: > I have the following code: > models.py: > class DataTable(models.Model): > datFile = models.CharField(max_length = 200) > structFile = models.CharField(max_length = 200) > bannerVar = models.CharField(max_length = 50) >

Re: Big Picture?

2013-07-07 Thread Kakar Arunachal Service
True! On Sun, Jul 7, 2013 at 7:35 PM, Amirouche Boubekki < amirouche.boube...@gmail.com> wrote: > Hi, > > I have a diagram I call big picture, you might find it useful (see > attachment). > > Anything green is most of the time provided by the framework at least it > is the case in Django. > > An

Re: Django, python, MYSQL, Eclipse3.7

2013-07-07 Thread Branko Majic
On Wed, 3 Jul 2013 15:30:16 -0300 "Rafael E. Ferrero" wrote: > just import one model into another using import statement. > > > 2013/7/3 Branko Majic > > > On Wed, 3 Jul 2013 05:03:35 -0700 (PDT) > > Vamsi Popuri wrote: > > > > > I have 2 projects. They are* project 1* and *project 2*. > > >

Re: Missing peice before best practises

2013-07-07 Thread Randy Baxley
I use a desktop at home and a laptop when I go attempting to hack in the open community. The hack experiances always seem so messy to me. Most recently I am trying to help with a project called SUMO but there are tons of download requirements outside of the python and django. I have also tri

Re: Big Picture?

2013-07-07 Thread Huy T
Django comes with support via it's backend to various databases. If you're using MySQL 5.0+, Django will support that. The majority of your interaction will be done probably through the ORM (Object Relational Mapping system.) You may want to skim on a very high-level this URL: https://docs.django