I nedd help - first Django app, part 2 - Admin - Adding related objects

2014-01-27 Thread Rafał Szymański
Hello everybody. I'm Rafał. I just started learnig and I'd like to ask You for little help. I'm in the part 2 of tutorial - admin, Adding related objects. I have no three slots for related Choices. Here is my code. Thanks in advance for any help. from django.contrib import admin from polls.models

Re: I nedd help - first Django app, part 2 - Admin - Adding related objects

2014-01-27 Thread Rafał Szymański
as usual... Thank you Ramiro for your effort W dniu poniedziałek, 27 stycznia 2014 14:14:14 UTC+1 użytkownik Ramiro Morales napisał: > > On Mon, Jan 27, 2014 at 7:54 AM, Rafał Szymański > <r.szy...@gmail.com> > wrote: > > Hello everybody. > > I'm Rafał. I jus

can't compare datetime.datetime to datetime.date

2014-01-27 Thread Rafał Szymański
Hi again I wolud like ask another question. If someone would be so kind and help that will be great. I'm in the begining of django tutorial. I use python3.3 and django1.6 I get error: can't compare datetime.datetime to datetime.date Here is my code: import datetime from django.utils import

Re: can't compare datetime.datetime to datetime.date

2014-01-28 Thread Rafał Szymański
> In [4]: timezone.now().date() > > Out[4]: datetime.date(2014, 1, 27) > > On Monday, January 27, 2014 5:38:20 AM UTC-8, Rafał Szymański wrote: >> >> Hi again >> >> I wolud like ask another question. >> If someone would be so kind and help that will b

Re: Looking for ways to improve my skills

2016-04-13 Thread Rafał Szymański
I can recommend http://codingforentrepreneurs.com/ and http://tangowithdjango.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Shouldn't formset show number of forms according to number o dicts in initial?

2016-06-17 Thread Rafał Szymański
I'd like to ask for a little help. I'd like to show few forms with on page using formset_factory. Number of forms should be dependent on number of dictionaries set in inital parameter. But the result is that one form is showed with three options avaliable to choose according to dicts from

Fully understanding of TemplateView - Can you take a look at my video course, please?

2017-09-15 Thread Rafał Szymański
Hi guys! Can you take a look at my video course about TemplateView, please? Django GCBV - Fully undestanding of TemplateView. It's free and it's on Udemy. Here the link https://www.udemy.com/django-gcbv-fully-understanding-of-templateview/ Thanks a lot for time, advice, comment, help, any

Re: generic views empty args problem

2017-09-15 Thread Rafał Szymański
Does it help? return super(SampleUpdateView, self).get(request, project_name, *args, **kwargs) W dniu czwartek, 14 września 2017 13:25:06 UTC+2 użytkownik Adrian Jasiński napisał: > > > > When I have in my urlpatterns args and kwargs in any of generic views then > the view is loosing args