Re: Short I hope explanation

2012-05-03 Thread Gerald Klein
Thanks for shout out. And I will move on to them, but I like to understand
things the hard way first. I think it gives a strong foundation when you
finally do move on to the time saver things. The thing is as I understand
it, is that there are times that you will need to do things long hand. I
would like to have a good understanding of that when the time comes instead
of the OMG googlerama I've got a dead line why now thing. But thanks it's
good information.

Never found a fact I didn't like.

--jerry

On Thu, May 3, 2012 at 2:36 PM, Kurtis Mullins wrote:

> When I first dove into Django, everything was confusing. I can't say I
> ever used the book because I wanted to use class-based-views immediately
> (was recommended in IRC). They were confusing as could be, I constantly
> needed hand-holding, etc...
>
> Eventually, I started to understand things a bit more, was able to
> comprehend and use the docs, and finally I'm at the point where I just
> refer to the actual source code when I want to get something done with
> them. It was a steep learning curve with the lack of good documentation on
> them but I *highly* recommend using them. They will save you a lot of time
> in the end. Just my 2 cents :)
>
> If I knew of a good place to post them, I'd be happy to write up a
> tutorial with some cool tricks in my free time. A wiki would be best
> because others (especially those more knowledgeable than I) could also
> contribute.
>
> On Thu, May 3, 2012 at 3:33 PM, Gerald Klein  wrote:
>
>> Good pick on the book, thanks. It is a lot more like what people need to
>> pick something up.
>>
>> thanks
>>
>> --jerry
>>
>> On Wed, May 2, 2012 at 11:35 AM, Joel Goldstick > > wrote:
>>
>>> On Wed, May 2, 2012 at 11:50 AM, Gerald Klein  wrote:
>>> > Hi, I have been through a couple of tutorials including the one on the
>>> site,
>>> > the one thing that the authors have in common is they seem to want to
>>> jump
>>> > to the 'short cuts' to soon. I like to know the basic long hand version
>>> > first because I want to understand.
>>> >
>>> > What I am having a problem with is generics. I did a tutorial and
>>> couldn't
>>> > get the generics to all work. So I wanted to do it the hard way and
>>> move on
>>> > then go back when I know more.
>>> >
>>> > I need an example of a queried result set.
>>> >
>>> > the 'get_absolute_url' from the model
>>> > with the query line and render_to_response from the view and
>>> > the regex url from URLConf without the generic references
>>> > that should be enough to get me going if someone could just cut and
>>> paste in
>>> > some arbitrary code I would be very gratefull
>>> >
>>> > thanks
>>> >
>>> > --jerry
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > 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.
>>>
>>>
>>> Have you checked out the djangobook.com
>>> http://www.djangobook.com/en/2.0/
>>>
>>> Its a little dated in that it doesn't cover Class based generic views.
>>>  But it does walk you thru the individual pieces before it puts them
>>> together and then rolls into the shortcuts
>>>
>>>
>>> --
>>> Joel Goldstick
>>>
>>> --
>>> 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.
>>>
>>>
>>
>>
>> --
>>
>> Gerald Klein DBA
>>
>> contac...@geraldklein.com
>>
>> www.geraldklein.com 
>>
>> j...@zognet.com
>>
>> 708-599-0352
>>
>>
>> Linux registered user #548580
>>
>>
>>
>>  --
>> 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.
>>
>
>  --
> 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.
>



-- 

Gerald Klein DBA

contac...@geraldklein.com

www.geraldklein.com 

j...@zognet.com


Re: Short I hope explanation

2012-05-03 Thread Kurtis Mullins
When I first dove into Django, everything was confusing. I can't say I ever
used the book because I wanted to use class-based-views immediately (was
recommended in IRC). They were confusing as could be, I constantly needed
hand-holding, etc...

Eventually, I started to understand things a bit more, was able to
comprehend and use the docs, and finally I'm at the point where I just
refer to the actual source code when I want to get something done with
them. It was a steep learning curve with the lack of good documentation on
them but I *highly* recommend using them. They will save you a lot of time
in the end. Just my 2 cents :)

If I knew of a good place to post them, I'd be happy to write up a tutorial
with some cool tricks in my free time. A wiki would be best because others
(especially those more knowledgeable than I) could also contribute.

On Thu, May 3, 2012 at 3:33 PM, Gerald Klein  wrote:

> Good pick on the book, thanks. It is a lot more like what people need to
> pick something up.
>
> thanks
>
> --jerry
>
> On Wed, May 2, 2012 at 11:35 AM, Joel Goldstick 
> wrote:
>
>> On Wed, May 2, 2012 at 11:50 AM, Gerald Klein  wrote:
>> > Hi, I have been through a couple of tutorials including the one on the
>> site,
>> > the one thing that the authors have in common is they seem to want to
>> jump
>> > to the 'short cuts' to soon. I like to know the basic long hand version
>> > first because I want to understand.
>> >
>> > What I am having a problem with is generics. I did a tutorial and
>> couldn't
>> > get the generics to all work. So I wanted to do it the hard way and
>> move on
>> > then go back when I know more.
>> >
>> > I need an example of a queried result set.
>> >
>> > the 'get_absolute_url' from the model
>> > with the query line and render_to_response from the view and
>> > the regex url from URLConf without the generic references
>> > that should be enough to get me going if someone could just cut and
>> paste in
>> > some arbitrary code I would be very gratefull
>> >
>> > thanks
>> >
>> > --jerry
>> >
>> >
>> >
>> >
>> > --
>> > 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.
>>
>>
>> Have you checked out the djangobook.com http://www.djangobook.com/en/2.0/
>>
>> Its a little dated in that it doesn't cover Class based generic views.
>>  But it does walk you thru the individual pieces before it puts them
>> together and then rolls into the shortcuts
>>
>>
>> --
>> Joel Goldstick
>>
>> --
>> 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.
>>
>>
>
>
> --
>
> Gerald Klein DBA
>
> contac...@geraldklein.com
>
> www.geraldklein.com 
>
> j...@zognet.com
>
> 708-599-0352
>
>
> Linux registered user #548580
>
>
>
>  --
> 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.
>

-- 
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.



Re: Short I hope explanation

2012-05-03 Thread Gerald Klein
Good pick on the book, thanks. It is a lot more like what people need to
pick something up.

thanks

--jerry

On Wed, May 2, 2012 at 11:35 AM, Joel Goldstick wrote:

> On Wed, May 2, 2012 at 11:50 AM, Gerald Klein  wrote:
> > Hi, I have been through a couple of tutorials including the one on the
> site,
> > the one thing that the authors have in common is they seem to want to
> jump
> > to the 'short cuts' to soon. I like to know the basic long hand version
> > first because I want to understand.
> >
> > What I am having a problem with is generics. I did a tutorial and
> couldn't
> > get the generics to all work. So I wanted to do it the hard way and move
> on
> > then go back when I know more.
> >
> > I need an example of a queried result set.
> >
> > the 'get_absolute_url' from the model
> > with the query line and render_to_response from the view and
> > the regex url from URLConf without the generic references
> > that should be enough to get me going if someone could just cut and
> paste in
> > some arbitrary code I would be very gratefull
> >
> > thanks
> >
> > --jerry
> >
> >
> >
> >
> > --
> > 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.
>
>
> Have you checked out the djangobook.com http://www.djangobook.com/en/2.0/
>
> Its a little dated in that it doesn't cover Class based generic views.
>  But it does walk you thru the individual pieces before it puts them
> together and then rolls into the shortcuts
>
>
> --
> Joel Goldstick
>
> --
> 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.
>
>


-- 

Gerald Klein DBA

contac...@geraldklein.com

www.geraldklein.com 

j...@zognet.com

708-599-0352


Linux registered user #548580

-- 
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.



Re: Short I hope explanation

2012-05-03 Thread Steve Kilbane
Hi Jerry.

Not specifically related to queried result sets, but I've been
struggling with class-based generic views (I assume that's what you're
referring to), and I've posted some code in that thread, here:

http://groups.google.com/group/django-users/browse_thread/thread/ccd74d137068193e

steve

On May 2, 4:50 pm, Gerald Klein  wrote:
> Hi, I have been through a couple of tutorials including the one on the
> site, the one thing that the authors have in common is they seem to want to
> jump to the 'short cuts' to soon. I like to know the basic long hand
> version first because I want to understand.
>
> What I am having a problem with is generics. I did a tutorial and couldn't
> get the generics to all work. So I wanted to do it the hard way and move on
> then go back when I know more.
>
> I need an example of a queried result set.
>
> the 'get_absolute_url' from the model
> with the query line and render_to_response from the view and
> the regex url from URLConf without the generic references
> that should be enough to get me going if someone could just cut and paste
> in some arbitrary code I would be very gratefull
>
> thanks
>
> --jerry

-- 
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.



Re: Short I hope explanation

2012-05-02 Thread Gerald Klein
ok thanks I will give that a look.

On Wed, May 2, 2012 at 11:35 AM, Joel Goldstick wrote:

> On Wed, May 2, 2012 at 11:50 AM, Gerald Klein  wrote:
> > Hi, I have been through a couple of tutorials including the one on the
> site,
> > the one thing that the authors have in common is they seem to want to
> jump
> > to the 'short cuts' to soon. I like to know the basic long hand version
> > first because I want to understand.
> >
> > What I am having a problem with is generics. I did a tutorial and
> couldn't
> > get the generics to all work. So I wanted to do it the hard way and move
> on
> > then go back when I know more.
> >
> > I need an example of a queried result set.
> >
> > the 'get_absolute_url' from the model
> > with the query line and render_to_response from the view and
> > the regex url from URLConf without the generic references
> > that should be enough to get me going if someone could just cut and
> paste in
> > some arbitrary code I would be very gratefull
> >
> > thanks
> >
> > --jerry
> >
> >
> >
> >
> > --
> > 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.
>
>
> Have you checked out the djangobook.com http://www.djangobook.com/en/2.0/
>
> Its a little dated in that it doesn't cover Class based generic views.
>  But it does walk you thru the individual pieces before it puts them
> together and then rolls into the shortcuts
>
>
> --
> Joel Goldstick
>
> --
> 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.
>
>


-- 

Gerald Klein DBA

contac...@geraldklein.com

www.geraldklein.com 

j...@zognet.com

708-599-0352


Linux registered user #548580

-- 
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.



Re: Short I hope explanation

2012-05-02 Thread Joel Goldstick
On Wed, May 2, 2012 at 11:50 AM, Gerald Klein  wrote:
> Hi, I have been through a couple of tutorials including the one on the site,
> the one thing that the authors have in common is they seem to want to jump
> to the 'short cuts' to soon. I like to know the basic long hand version
> first because I want to understand.
>
> What I am having a problem with is generics. I did a tutorial and couldn't
> get the generics to all work. So I wanted to do it the hard way and move on
> then go back when I know more.
>
> I need an example of a queried result set.
>
> the 'get_absolute_url' from the model
> with the query line and render_to_response from the view and
> the regex url from URLConf without the generic references
> that should be enough to get me going if someone could just cut and paste in
> some arbitrary code I would be very gratefull
>
> thanks
>
> --jerry
>
>
>
>
> --
> 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.


Have you checked out the djangobook.com http://www.djangobook.com/en/2.0/

Its a little dated in that it doesn't cover Class based generic views.
 But it does walk you thru the individual pieces before it puts them
together and then rolls into the shortcuts


-- 
Joel Goldstick

-- 
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.



Short I hope explanation

2012-05-02 Thread Gerald Klein
Hi, I have been through a couple of tutorials including the one on the
site, the one thing that the authors have in common is they seem to want to
jump to the 'short cuts' to soon. I like to know the basic long hand
version first because I want to understand.

What I am having a problem with is generics. I did a tutorial and couldn't
get the generics to all work. So I wanted to do it the hard way and move on
then go back when I know more.

I need an example of a queried result set.

the 'get_absolute_url' from the model
with the query line and render_to_response from the view and
the regex url from URLConf without the generic references
that should be enough to get me going if someone could just cut and paste
in some arbitrary code I would be very gratefull

thanks

--jerry

-- 
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.