Search Result

Collapse
3 results in 0.0013 seconds.
Keywords
Members
Tags
base
  •  

  • imhomer
    started a topic Django base.py: 'str' object is not callable

    Django base.py: 'str' object is not callable

    I met this problem (Django base.py: 'str' object is not callable) when I go through a Django tutorial:

    photo/models.py:
    Code:
    from django.db import models
    from django.contrib.auth.models import User
    from django.contrib import admin
    
    class Album(models.Model):
        title = models.CharField(max_length=60)
        public = models.BooleanField(default=False)
        def __unicode__(self):
    ...
    See more | Go to post

  • Call functions of derived classes in a list of base class

    So, I have created some Collision Detection classes that all derive from a base class known as CollisionBase.

    I have a List<CollisionB ase> in which I will be going through and calling a method known as Intersect. CollisionBase and all of the derived classes have this method defined, with the CollisionBase class having it as virtual and the defined classes having it as override.

    This list will contain up to three...
    See more | Go to post

  • wmstudio
    started a topic OpenOffice.org, PostgreSQL and Unicode

    OpenOffice.org, PostgreSQL and Unicode

    I have a PostgreSQL database encode in UTF-8. I try to do a mail merge from OOwriter. This seems to work except for non western characters. E.g. when I access the database from pgAdmin, a GUI client I can see all UTF-8 encoded characters. When I cut a text from the GUI and paste this text in OOwriter everything works well. The same text through a mail merge only shows question marks. An example:
    ---------------
    เมืองไทย...
    See more | Go to post
Working...