Re: Query Set and Output

2013-08-06 Thread Bulkan
Hi there, What does your template index.html look like ? Cheers http://bulkan-evcimen.com On Wed, Aug 7, 2013 at 1:19 PM, Muhammed TÜFEKYAPAN wrote: > Hello everyone, > > I write a basic model in django 1.5.1 > > My model is looks like this: > class Excuse(mod

Re: error in sql..

2013-03-20 Thread Bulkan
Hi there, Looks like the EXISTS part in your sql is wrong as it needs another sub query. See the documentation at [1] 1 - http://dev.mysql.com/doc/refman/5.0/en/exists-and-not-exists-subqueries.html Cheers http://bulkan-evcimen.com On Thu, Mar 21, 2013 at 4:25 PM, Avnesh Shakya wrote

Re: Can Django do this?

2013-03-20 Thread Bulkan
Yes you certainly can. Here is the tutorial to get you started https://docs.djangoproject.com/en/1.5/intro/tutorial01/ On Thu, Mar 21, 2013 at 1:25 PM, Harry Ord wrote: > Hello > > Can i create a website just like this with Django? > > http://www.hbn.cl/ > > -- > You received this message bec

[ANN] django-domande - an app to represent generic questions on forms

2013-03-12 Thread Bulkan
ng out the full documentation and providing a working example but I would like to get some feedback. So please test-drive the app and let me know of your constructive criticisms. [1] - https://github.com/bulkan/django-domande Cheers ---- http://bulkan-evcimen.com -- You received this message

Re: dynamic form fields in admin?

2013-03-06 Thread Bulkan
rm, change): > # save > if "key" in self.form.cleaned_data: > del self.form.cleaned_data['key'] > super(MyModelAdmin, self).__init__(request, obj, form, change) > admin.site.register(MyModel, MyModelAdmin) In the save method of My

Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-03 Thread Bulkan
Hi, You can try something like the following; from datetime import datetime, timedelta from django.contrib.auth.models import User half_hour_ago = datetime.today() - timedelta(minutes=30) User.objects.filter(last_login__lt=half_hour_ago) Cheers http://bulkan-evcimen.com On Mon, Mar 4, 2013

Re: Upgrade django 1.5

2013-03-03 Thread Bulkan
Yes you could. https://docs.djangoproject.com/en/dev/releases/1.5/ http://bulkan-evcimen.com On Mon, Mar 4, 2013 at 1:32 PM, Randa Hisham wrote: > Iam working in aproject using django 1.4.2..could I upgrade to django1.5 > > -- > You received this message because you are subsc

Re: Django IRC & sqlite3 .schema

2013-02-25 Thread Bulkan
s [1] - http://freenode.net/faq.shtml#registering http://bulkan-evcimen.com On Tue, Feb 26, 2013 at 10:50 AM, Dorian Kiss wrote: > Hi. I have some issues here which I'm hoping you will be able to help me > with, > > Firstly, I tried to get into the Django IRC @freenote.net b

dumpdata --traceback for 0.96

2007-12-26 Thread Bulkan
Hi All, http://code.djangoproject.com/changeset/6936 Just wondering if i there is a way to get this functionality for 0.96? Im trying to dump the data in our production server so that i can use it as data for testing but it fails for two apps in the project with the following error Unable to se