hi again i added codes but i dont see anything on template i sent my views where do i change
2009/2/6 Alex Gaynor <alex.gay...@gmail.com> > > > On Fri, Feb 6, 2009 at 8:52 AM, Muslu Yüksektepe < > musluyuksekt...@gmail.com> wrote: > >> ok i am telling you again >> i wrote photo album >> i add title and photos. >> i need show my titles like this >> >> a1 >> a2 >> a3 >> a4 >> b2 >> b3 >> b4 >> b5 >> b6 >> c1 >> c2 >> c3 >> c4 >> c5 >> c6 >> >> and >> >> i wanna use letter like this >> a b c d e f g .... >> >> when i click "a" it have to show only >> a1 >> a2 >> a3 >> a4 >> or click "b" >> b2 >> b3 >> b4 >> b5 >> b6 >> >> later i wanna choose titles. >> i hope i can understand >> example: http://www.utexas.edu/world/univ/alpha >> >> >> 2009/2/6 Alex Gaynor <alex.gay...@gmail.com> >> >>> >>> >>> On Fri, Feb 6, 2009 at 8:33 AM, Muslu Yüksektepe < >>> musluyuksekt...@gmail.com> wrote: >>> >>>> my model: >>>> #-*- coding: utf-8-*- >>>> from django.db import models >>>> from django.contrib import admin >>>> import re >>>> import os,sys >>>> from datetime import datetime >>>> from sorl.thumbnail.fields import ImageWithThumbnailsField >>>> # >>>> class Fotoalbum(models.Model): >>>> baslik = models.CharField(max_length=100,verbose_name="Başlık", >>>> help_text='Max: 100 Karakter') >>>> slug = models.SlugField(max_length=300,verbose_name="Otomatik Link", >>>> help_text='Max: 300 Karakter') >>>> tarih = models.DateTimeField(verbose_name="Yayın Tarihi", >>>> default=datetime.now) >>>> guncelleme = models.DateTimeField(auto_now=True) >>>> etiketler = models.CharField(max_length=100, help_text='Max: 100 >>>> Karakter') >>>> image1 = ImageWithThumbnailsField(blank=True, >>>> upload_to='fotoalbum/%Y/%m/%d', thumbnail={'size': (150, >>>> 150)},verbose_name="1. Resim") >>>> image1aciklama = >>>> models.CharField(max_length=200,blank=True,verbose_name="Açıklama", >>>> help_text='Max: 200 Karakter') >>>> image1sil = models.BooleanField(verbose_name="Sil", help_text=" >>>> Dosyayı sistemden silmez sadece veritabanından siler.") >>>> >>>> def save(self): >>>> if self.image1sil: >>>> self.image1 = "" >>>> self.image1aciklama = "" >>>> self.image1sil = False >>>> super(Fotoalbum, self).save() >>>> >>>> def get_tag_list(self): >>>> return re.split(" ", self.tags) >>>> >>>> def __unicode__(self): >>>> return self.baslik >>>> >>>> my django version is 1.0.2 >>>> python 2.5.2 >>>> i added codes but nothing changed >>>> >>>> 2009/2/6 Alex Gaynor <alex.gay...@gmail.com> >>>> >>>>> >>>>> >>>>> On Fri, Feb 6, 2009 at 7:39 AM, Muslu Yüksektepe < >>>>> musluyuksekt...@gmail.com> wrote: >>>>> >>>>>> i tryed but it doesnt work. >>>>>> >>>>>> 2009/2/5 Muslu Yüksektepe <musluyuksekt...@gmail.com> >>>>>> >>>>>> thanx i will try tomorrow. >>>>>>> i hope it will be ok >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> You need to provide more information than simply it doesn't work, try >>>>> dpasting a traceback. >>>>> >>>>> >>>>> Alex >>>>> >>>>> -- >>>>> "I disapprove of what you say, but I will defend to the death your >>>>> right to say it." --Voltaire >>>>> "The people's good is the highest law."--Cicero >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> What do you mean nothing changed? Does the view throw an exception, does >>> it not do what you want? You aren't providing very much information. >>> >>> >>> Alex >>> >>> -- >>> "I disapprove of what you say, but I will defend to the death your right >>> to say it." --Voltaire >>> "The people's good is the highest law."--Cicero >>> >>> >>> >> >> >> > The view I suggested does just this, you said there was some problem with > that, but you haven't said what that problem is. > > > Alex > > -- > "I disapprove of what you say, but I will defend to the death your right to > say it." --Voltaire > "The people's good is the highest law."--Cicero > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---