Re: django smart-select

2011-08-04 Thread H . İbrahim Yılmaz
O.K. just a simple question: How can i chain *available_color *field to *color_name* field? Cheers... 2011/8/5 H.İbrahim Yılmaz > I tried many times. No answered what is the unclear? i cant understand... > What didn't you understand? > > > 2011/8/4 Tom Evans > >> On Thu, Aug 4, 2011 at 9:23 A

Re: django smart-select

2011-08-04 Thread H . İbrahim Yılmaz
I tried many times. No answered what is the unclear? i cant understand... What didn't you understand? 2011/8/4 Tom Evans > On Thu, Aug 4, 2011 at 9:23 AM, H.İbrahim Yılmaz > wrote: > > Any help? > > > > The question/what is wrong is unclear. > > I would have thought the number of people using t

Re: django smart-select

2011-08-04 Thread H . İbrahim Yılmaz
Any help? 2011/8/2 H.İbrahim Yılmaz > Any help pls? > > 2011/8/2 Dr.Linux > > Hi all, >> >> I'm so sorry for this e-mail. May be you answered similar questions >> many times. But I really need your help to learn how it's works. >> >> There is a little problem with third-level(?) models (or many

Re: Dynamic page refreash

2011-08-02 Thread H . İbrahim Yılmaz
http://www.quackit.com/javascript/javascript_refresh_page.cfm 2011/8/2 lmcadory > I'm having this problem, my web design knowledge is limited and I'm > having a hard time searching for the solution (if there is one) > > The problem is this: > > I have a view that counts the number of lines in a

Re: os.system not working for me!

2011-08-02 Thread H . İbrahim Yılmaz
You should use mysqldump command like that: target_dir = '/path/to/where/you/want/to/dump' os.system("mysqldump --add-drop-table -c -u user -ppassword database table > "+target_dir+"/table.bak.sql") Hope this help! 2011/8/2 dR Hossein > Hi every body! > I want to get backup from my db with os

Re: django smart-select

2011-08-02 Thread H . İbrahim Yılmaz
Any help pls? 2011/8/2 Dr.Linux > Hi all, > > I'm so sorry for this e-mail. May be you answered similar questions > many times. But I really need your help to learn how it's works. > > There is a little problem with third-level(?) models (or many times > related models) in admin area with django

Re: global name 'self' is not defined

2010-04-03 Thread H . İbrahim Yılmaz
Hi all, I change my view as below but, show no Form... from django.shortcuts import render_to_response from django import forms from yenicrm.musteri.models import * from yenicrm.ziyaret.models import * from django.contrib.auth.decorators import login_required from django.template import Context, R

Re: global name 'self' is not defined

2010-04-03 Thread H . İbrahim Yılmaz
Any help please? 02 Nisan 2010 23:12 tarihinde H.İbrahim Yılmaz yazdı: > Hi, > I use simply {{zform.as_table}} for rendering my form... > Thanks. > > > 02 Nisan 2010 20:43 tarihinde Bill Freeman yazdı: >> You are discarding the result of your first render_to_response and displaying >> the second

Re: global name 'self' is not defined

2010-04-02 Thread H . İbrahim Yılmaz
Hi, I use simply {{zform.as_table}} for rendering my form... Thanks. 02 Nisan 2010 20:43 tarihinde Bill Freeman yazdı: > You are discarding the result of your first render_to_response and displaying > the second, which is always an empty form (except when the form is valid, > when you are return

Re: global name 'self' is not defined

2010-04-02 Thread H . İbrahim Yılmaz
Hi all, Thanks it works! But, i have another question about my view. When i use my view (as seen below) i can't get see the form. Thanks! @login_required def ziyaret_ekle(request): if request.POST: zform = ZiyaretForm(request.POST) if form.is_valid(): yeni_ziyaret_o

Re: global name 'self' is not defined

2010-04-02 Thread H . İbrahim Yılmaz
Hi all, Thanks it works! But, i have another question about my view. When i use my view (as seen below) i can't get see the form. Thanks! 2010/4/2 Benjamin Welton : > def __init__(temsilci = None, *args, **kwargs) > > should include self as the first argument. > > def __init__(self, temsilci = Non

global name 'self' is not defined

2010-04-02 Thread H . İbrahim Yılmaz
Hi all, I get "global name 'self' is not defined" error what is the problem? Thanks. from django.db import models from django.forms import * from yenicrm.musteri.models import * from django.contrib.auth.models import User from django.forms.extras.widgets import * # Create your models here. class

modelform filter?

2010-03-28 Thread H . İbrahim Yılmaz
Hi, I Have a model and ModelForm I want to learn how i can filter areas? You can see my model below. from django.db import models from yenicrm.musteri.models import * from django.forms import ModelForm from django.contrib.auth.models import User class Ziyaret(models.Model): tarih = models.

Re: ModelForm+datepicker

2010-03-10 Thread H . İbrahim Yılmaz
Hi, I've already checked that and i got nothing :) I did in my model.py that: from django.forms.extras.widgets import SelectDateWidget date = forms.DateField(widget=SelectDateWidget()) But did not see the datepicker :S I got name error (forms) blabla? Is there any complete reference for "how to in

Re: django+modelform+Foreignkey

2010-03-10 Thread H . İbrahim Yılmaz
Thanks! "It Works!" ;) 2010/3/7 Kev Dwyer : > On Sat, 06 Mar 2010 23:39:59 +0200, Arkeoloji.web.tr wrote: > >> Hi all, >> I have some ModelForms.. This ModelForms based some ForeignKey included >> models. When i want to create a ModelForm I got these ForeignKey fields >> something like (in a dropdo

ModelForm+datepicker

2010-03-10 Thread H . İbrahim Yılmaz
Hi I have some ModelForm. I want to use in my templates (or views not sure cause i am a newbie) date selector. I search about that in google but there is not very clear information. Some of thems were for old old versions of dango. Regards... -- http://www.arkeoloji.web.tr -- You received this

django+modelform+Foreignkey

2010-03-06 Thread H . İbrahim Yılmaz
Hi all, I have some ModelForms.. This ModelForms based some ForeignKey included models. When i want to create a ModelForm I got these ForeignKey fields something like (in a dropdown menu) "BlaBla object". But i want to get in that dropdown menus something like "Linus Torvalds". I mean how can I sho

Re: static serve problem

2010-02-05 Thread H . İbrahim Yılmaz
Hi, Yes it is looking for an 'accounts/login/extent/login.css'. But other apps which i wrote views myself get everything from '/extend' directory. How can i fix that? Yours Sincerely, 2010/1/28 Atamert Ölçgen : > On Thursday 28 January 2010 13:26:37 H.Ibrahim YILMAZ wrote: >>     (r'^extend/(?P.*)

Re: django and webcams

2010-01-24 Thread H . İbrahim Yılmaz
Thanks Atamert, This is! :) http://docs.pyamf.org/dev/tutorials/actionscript/bytearray.html I visited your home page and read your articles. You're bokmarked! ;) Thanks! 2010/1/24 Atamert Ölçgen : > Hi İbrahim, > > On Saturday 23 January 2010 23:59:23 H.İbrahim Yılmaz wrote: >> Hi, >> I'm looking