Re: where is base.html located?

2014-05-04 Thread Sandeep kaur
On Mon, May 5, 2014 at 9:53 AM, Venkat Subbiah wrote: > > Trying to follow the generic views from this tuotorial. Where would be "base.html" be located. > https://docs.djangoproject.com/en/1.6/topics/class-based-views/generic-display/ > > publisher_list.html contains the line > > {% extends "base.

Re: where is base.html located?

2014-05-04 Thread Mario Gudelj
Usually in the same templates directory your publisher_list.html is in. On 05/05/2014 2:28 pm, "Venkat Subbiah" wrote: > Trying to follow the generic views from this tuotorial. Where would be > "base.html" be located. > > https://docs.djangoproject.com/en/1.6/topics/class-based-views/generic-disp

where is base.html located?

2014-05-04 Thread Venkat Subbiah
Trying to follow the generic views from this tuotorial. Where would be "base.html" be located. https://docs.djangoproject.com/en/1.6/topics/class-based-views/generic-display/ publisher_list.html contains the line {% extends "base.html" %} -- You received this message because you are subscri

Seeking chat or chaterbox module for use on django project

2014-05-04 Thread bn
I'm referencing: https://groups.google.com/d/msg/django-users/Jp5qM-HEeOg/YUNjy8qBnPUJ And https://www.djangopackages.com/grids/g/chat/ Seeking a multiuser chat or chatterbox for a django project. Meaning, a frame visitors can type into, and send a message to other users also viewing a site pag

Re: Stuck on Tutorial-- can't import Question

2014-05-04 Thread Jorge Andrés Vergara Ebratt
Check the models.py file, you might have a typo in Question On May 4, 2014 7:44 PM, "Tim Fong" wrote: > Hi, > Here's my code: > >> from django.contrib import admin >> # Register your models here >> from django.contrib import admin >> from polls.models import Question >> admin.site.register(Questi

Django Query Data

2014-05-04 Thread Brendan Edwards
Hi, I have just started learning Django (been flip flopping between meteor and django, cant decide which to use..) and I am fairly new to web development in general. Basically, I have a query where I am using the code "teecolor = GolfCourseTees.objects.values('Tee_Color').filter(Course_Name=

Stuck on Tutorial-- can't import Question

2014-05-04 Thread Tim Fong
Hi, Here's my code: > from django.contrib import admin > # Register your models here > from django.contrib import admin > from polls.models import Question > admin.site.register(Question) When I try to hit the admin page now, I get an error, "Exception Value: cannot import name Question Except

Re: PyCountry currency formatting woes

2014-05-04 Thread Sithembewena Lloyd Dube
Thanks, i was actually getting the error information to update the post. Apoligies to waste your time posting here - I could not find an appropriate PyCountry discussion list and my next best bet seemed to be a Python users' list. For those who care to look, the error is as follows (a concise exam

PyCountry currency formatting woes

2014-05-04 Thread Sithembewena Lloyd Dube
Hi everyone, I have a function which accepts an alpha2 country code and a price string, where the aim is to get the country's currency and use the currency.letter property of that currency to format the supplied price string. The above works fine so far - yet it falls over when called with German