Re: IDE to practice django template language

2013-04-19 Thread Tim Cook
On Fri, Apr 19, 2013 at 9:01 AM, Thomas Weholt wrote: > PyCharm! Allthough commercial - it's great and really worth the prize, and > now is on sale for half prize! > > > Hi Thomas, I am a long time WingIDE user and although it supports Django quite well I am wondering if you can contrast it with

Re: Filtering M2M in Admin Interface

2013-03-31 Thread Tim Cook
2013 at 1:40 PM, Tim Cook wrote: > Hi All, > > I have a scenario setup very much like the Polls example in the tutorial. > > class Terminology(models.Model): > name = models.CharField(max_length=110) > abbreviation = models.CharField(max_length=20) > version = m

Filtering M2M in Admin Interface

2013-03-30 Thread Tim Cook
Hi All, I have a scenario setup very much like the Polls example in the tutorial. class Terminology(models.Model): name = models.CharField(max_length=110) abbreviation = models.CharField(max_length=20) version = models.CharField(max_length=30) def __unicode__(self): retur

Re: Django wiki and notify

2013-03-29 Thread Tim Cook
It might help to have the traceback to see 'where' the actual error is occuring. --Tim On Fri, Mar 29, 2013 at 9:31 AM, Josue Balandrano wrote: > Hi everyone. I just installed django in a test local server. Within a > virtualenv and postgres. Everything is working ok, in a basic installation > s

Re: South Error in migration:

2013-03-28 Thread Tim Cook
On Thu, Mar 28, 2013 at 6:50 AM, Tom Evans wrote: > This should be many migrations, not one migration. > > 1) Schema migration: Add nullable foreign key to Project to CCD. > 2) Data migration: Create Project objects as needed from 'RMversion' links > 3) Data migration: Update CCD objects to point

South Error in migration:

2013-03-27 Thread Tim Cook
I can't find a similar scenario in the list archives, so . I had run the initial migration, etc and all seemed fine. I modified one model from this: class CCD(models.Model): rm_version = models.ForeignKey(RMversion, related_name='%(class)s_related+') ... to this: class CCD(models.Mod

Re: Is there a plan for Django to handle NoSQL databases natively?

2013-03-27 Thread Tim Cook
I am not using it right now, but plan to when I have more Django experience. So I have been watching the non-rel group: django-non-relatio...@googlegroups.com and it does seem to be active now. Maybe you want to recheck and if they are having project management issues you can help? HTH, Tim On

Re: Lost CSS & Javascript in Django Admin

2013-03-27 Thread Tim Cook
Thank you James and Branko. Yes, it was the relevant part of the docs that, actually I had read, but didn't understand at the time. I appreciate your patience in pointing it out to me. Cheers, Tim On Mon, Mar 25, 2013 at 6:57 PM, Branko Majic wrote: > On Mon, 25 Mar 2013 18:12:44 -03

Lost CSS & Javascript in Django Admin

2013-03-25 Thread Tim Cook
Hi All, I have a Django app running behind Apache according to the WSGI instructions: https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/ I modified my project IAW Two Scoops of Django instructions so that I have separate settings files and different directories. (see layout bel

Re: What are the steps to build a website?

2013-03-25 Thread Tim Cook
You obviously have a lot of questions, with a lot of variability in the answers. I highly recommend: https://django.2scoops.org/ --Tim On Mon, Mar 25, 2013 at 8:17 AM, Benjamin Marsili wrote: > Hey everyone, > > I am trying to design a website from scratch using django, it's my first > time usi

Re: DB Weirdness

2013-03-23 Thread Tim Cook
, 2013 at 11:07 AM, Tim Cook wrote: > Thanks for the reply, Russell. > Responses inline: > > On Fri, Mar 22, 2013 at 10:10 AM, Russell Keith-Magee > wrote: > >> However, I'm guessing that this *isn't* the name of the database that you've >> got Djan

Re: DB Weirdness

2013-03-22 Thread Tim Cook
Thanks for the reply, Russell. Responses inline: On Fri, Mar 22, 2013 at 10:10 AM, Russell Keith-Magee wrote: > However, I'm guessing that this *isn't* the name of the database that you've > got Django configured to use. If you're following the tutorial (and > following the same lessons for your

DB Weirdness

2013-03-22 Thread Tim Cook
HI All, Sorry I couldn't think of a better subject. :-) I am fairly new to Django. I have done most of the tutorial and started reading Two Scoops of Django (TSD). Of course being impatient I also started my project, in parallel. Danny made a good point in TSD about using the same database in

Re: Django split setting and environment variables

2013-03-21 Thread Tim Cook
I just picked up a copy of "Two Scoops of Django". It covers this very, and much more in the area of project setup and management with Django. Some great lessons learned in this book. Well worth the investment. See the Django resources page for the link. HTH, --Tim On Thu, Mar 21, 2013 at 11: