Re: admin problem

2011-06-27 Thread Jean-Pierre De Villiers
Hi, A quote from the django tutorial: "If you installed Django using a Linux distribution’s package manager (e.g. apt-get or yum) django-admin.py may have been renamed to django-admin. You may continue through this documentation by omitting .py from each command." So try using "django-admin star

Re: Is there an HTML editor that's Django-aware

2011-05-31 Thread Jean-Pierre De Villiers
I would suggest a section that all that newbies can visit on the website, with links to various text editors so that they can make their own decisions depending on their own personal preference etc. Cheers JP De Villiers On Tue, May 31, 2011 at 3:26 PM, Tom Evans wrote: > On Mon, May 30, 2011

AttributeError: Model object has no attribute "attributename"

2010-11-21 Thread Jean-Pierre De Villiers
Hi, I've been using Djangos manytomany functionality to add values into the auto generated table, here are my model classes: class Contract_Item(models.Model): quant = models.DecimalField(max_digits=10, decimal_places=4) item = models.OneToOneField(Item) class Contract(models.Model):

AttributeError: Model object has no attribute blah

2010-11-19 Thread Jean-Pierre De Villiers
Hi, I've been using Djangos manytomany functionality to add values into the auto generated table, here are my model classes: class Contract_Item(models.Model): quant = models.DecimalField(max_digits=10, decimal_places=4) item = models.OneToOneField(Item) class Contract(models.Model):

Re: Accessing schemas in django

2010-09-28 Thread Jean-Pierre De Villiers
can select different db's on the fly: > > result = MyModel.objects.using('anotherdb').filter... > > Should get you there. > > On Sep 27, 4:37 am, Jean-Pierre De Villiers > wrote: > > On Sep 27, 9:30 am, Nabil Servais wrote: > > > > > Hello, > > > >

Re: Accessing schemas in django

2010-09-27 Thread Jean-Pierre De Villiers
On Sep 27, 9:30 am, Nabil Servais wrote: >   Hello, > > Le 27/09/2010 08:53, Jean-Pierre De Villiers a crit : > > > Hi, > > Is there a way to access an existing database schema in Django? > > Any help would be appreciated! > > > J > > You can use the

Accessing schemas in django

2010-09-26 Thread Jean-Pierre De Villiers
Hi, Is there a way to access an existing database schema in Django? Any help would be appreciated! J -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this gr