Django form wizard multiple file uploads problem

2020-04-08 Thread Deniz Bazan
I have a problem with form wizard, I have a form wizard with 3 steps. In step 2, user uploaded several files. In step 3, send the data to the database. I can save files in server in step 2, but if user does not finish the form then files will remain on the server for free.Therefore I should not

In my django web app i wannt show time in user timezone

2018-12-07 Thread Deniz Bazan
see the page with his own timezone. I use Django 2.1 with postgresql database. Thanks for any recommendation! Regards, Deniz -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: How to add a language in Django that its not supported by default?

2018-08-10 Thread Deniz Bazan
thanks Clay, but this code was not from me,i cant understand this code.I need help for extra language by Django,wenn i dont find any solution for this it ist very sad for me. On Fri, Aug 10, 2018 at 3:17 PM Clay Records wrote: > Hey Deniz, > > It seems you're making a mista

I need help! How to add a language in Django that its not supported by default?

2018-08-10 Thread Deniz Bazan
I m trying to make a website in 5 languages. The main language should be kurdish but it is not supported by Django default. I tried already the how to add new languages into Django?

How to add a language in Django that its not supported by default?

2018-08-09 Thread Deniz Bazan
Im trying to make a website in 5 languages. The main language should be kurdish but it is not supported by Django default. I tried already the how to add new languages into Django?

Re: New language adding error('Unknown language code si.')

2018-08-09 Thread Deniz Bazan
Hi Kumara, did you find a solution for your question, because i have same problem. Am Montag, 30. April 2018 14:04:01 UTC+2 schrieb lakshitha kumara: > > Hello Jason, > > *Thanks you for your reply but **unfortunately** that example not working > any more with django 2 and python 3 .* > > > *T

Re: Simply adding GROUP BY to a QuerySet

2009-02-18 Thread Deniz Dogan
On 18 Feb, 19:33, Jacob Kaplan-Moss wrote: > On Wed, Feb 18, 2009 at 12:24 PM, Deniz Dogan > wrote: > > I'm sorry about that, I meant something like this: > > > { 2008-01-02 : [Bike 1, Bike 2], > >  2008-02-09 : [Bike 7, Bike 4] } > > Well, you can'

Re: Simply adding GROUP BY to a QuerySet

2009-02-18 Thread Deniz Dogan
09 : [Bike 7, Bike 4] } I guess I didn't quite think that through. :) Deniz --~--~-~--~~~---~--~~ 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@goo

Re: Simply adding GROUP BY to a QuerySet

2009-02-18 Thread Deniz Dogan
On 18 Feb, 19:08, Jacob Kaplan-Moss wrote: > On Wed, Feb 18, 2009 at 11:12 AM, Deniz Dogan > wrote: > > Let's say I have a model called Bike with a DateField called > > "production_date". Now I want to get all of the Bikes and group them > > by their

Simply adding GROUP BY to a QuerySet

2009-02-18 Thread Deniz Dogan
I do this in Django? I can't seem to figure it out. Thanks, Deniz --~--~-~--~~~---~--~~ 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

Question about templates

2009-02-15 Thread Deniz Dogan
o to for the templates to know whether the user has logged in or not, should I pass request.user(.is_authenticated()) in each render_to_response or is there a simpler solution? Thanks, Deniz --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Unable to login (cookies not enabled?)

2009-01-06 Thread Deniz Dogan
On 5 Jan, 11:41, Deniz Dogan wrote: > On 5 Jan, 10:47, Deniz Dogan wrote: > > > > > Hi > > > I'm having trouble when using the AuthenticationForm in Django. It > > tells me that I haven't enabled cookies, even though I'm completely > > sure

Re: Unable to login (cookies not enabled?)

2009-01-05 Thread Deniz Dogan
On 5 Jan, 10:47, Deniz Dogan wrote: > Hi > > I'm having trouble when using the AuthenticationForm in Django. It > tells me that I haven't enabled cookies, even though I'm completely > sure that I have. I get this error: > > "Your Web browser doesn'

Unable to login (cookies not enabled?)

2009-01-05 Thread Deniz Dogan
form = AuthenticationForm() return render_to_response('login.html', { 'form' : form }) - Thanks, Deniz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&quo

Joining models on M2M field

2008-12-30 Thread Deniz Dogan
get a QuerySet containing exactly Level.objects.all() but with an extra column called "unlocked" which is True if the user has unlocked that level and False otherwise. Is there any way to accomplish this without using explicit SQL? Any help appreciated, Deniz --~--~-~--~~---

Re: Admin inlines and foreign keys

2008-09-14 Thread Ali Deniz EREN
; > for each row I want to add/edit. > > > > Just wondering. A client is bound to ask "can you just..." :) > > \d > > That should happen automatically - you shouldn't see the foreign key > to the parent model. Can you post your model and admin code on > dp

Re: Heavy database query (max 32 tables problem)

2008-07-19 Thread Deniz Dogan
Indeed I am. So if Leon Yeh could give me my thread back, I'd appreciate if anyone could inform me about a good solution to my problem. Deniz On 18 Juli, 17:58, "Scott Moonen" <[EMAIL PROTECTED]> wrote: > Norman, unfortunately I think he's asking for the mutua

Heavy database query (max 32 tables problem)

2008-07-18 Thread Deniz Dogan
long list of users. How would I go about doing what I want here? Deniz --~--~-~--~~~---~--~~ 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

Re: Dynamically setting a form's fields

2008-06-30 Thread Deniz Dogan
Thanks! On Jun 30, 9:28 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Try taking a look at > this:http://www.satchmoproject.com/trac/browser/satchmo/trunk/satchmo/conf... > > On Jun 30, 2:09 am, Deniz Dogan <[EMAIL PROTECTED]> wrote: > > > H

Dynamically setting a form's fields

2008-06-30 Thread Deniz Dogan
Hello. I'm trying to do what I like to call "dynamically set a form's field". I want the user to input a dictionary e.g. { 'intField' : 'int', 'strField' : 'str' } ...to the constructor of the form which will then create the fields 'intField' (forms.IntegerField) and 'strField' (forms.CharField

Re: Complex filtering

2008-06-23 Thread Deniz Dogan
Disregard this thread. Fixed it. Basically at first I was thinking "check so that X = True for all X", but instead I now check "check so that no X = False for all X". On Jun 23, 12:50 pm, Deniz Dogan <[EMAIL PROTECTED]> wrote: > Hello. > > I have a model Stu

Complex filtering

2008-06-23 Thread Deniz Dogan
the courses in which all students are named "John". How would I go about doing that? Deniz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: user profile is not getting saved in admin

2008-06-23 Thread Deniz Dogan
ere's a work around or best > practice way to handle it. I noticed in the docs stating to wrap > access to the user.get_profile() call around a try: except: and create > it if you get an error. But, I don't see how to do that simply in the > Admin system. > > On Jun 21, 3

Re: user profile is not getting saved in admin

2008-06-20 Thread Deniz Dogan
On 20 Juni, 05:26, "Gene Campbell" <[EMAIL PROTECTED]> wrote: > I have looked through the docs and search the group and web. Seems other's > are asking the question, but I haven't seen an answer yet. > > class UserProfile(models.Model): > country = models.ForeignKey(Country, core=True) >

Re: Django CSS

2008-02-04 Thread deniz
ings.py: MEDIA_ROOT = '/Users/Shared/web/mysite/' MEDIA_URL = 'http://127.0.0.1:8000/media/' I am new to web programming and completely lost. Please forgive my stupid questions. Regards, Deniz On Jan 2, 4:28 pm, Thomas <[EMAIL PROTECTED]> wrote: > Ronaldo, have a