The Django book is the best source of understanding Django I have found
http://www.djangobook.com/en/2.0/
However, it's three years old now. Is the info on it still valid?
Is there a plan to update it?
regards,
Tim
--
You received this message because you are subscribed to the Google Groups
"
Hallöchen!
Timothy Makobu writes:
> The Django book is the best source of understanding Django I have
> found http://www.djangobook.com/en/2.0/
All books about Django share the same problem: The original
documentation is simply terrific, both for the beginner and the
expert.
Tschö,
Torsten.
--
Hi Tim,
I'm also a fairly new developer in Django, and I found that reading the
book, specifically chapters 1-10, really gave me a solid foundation.
Reading the book in conjunction with https://docs.djangoproject.com/en/1.4/
will give you a very solid footing.
Best,
SB
On Thu, Apr 12, 2012 at 1
Yes it is. But the book has its place. Or is leaving the book outdated an
indirect way of telling us to use only the docs?
On Thu, Apr 12, 2012 at 11:09 AM, Torsten Bronger <
bron...@physik.rwth-aachen.de> wrote:
> Hallöchen!
>
> Timothy Makobu writes:
>
> > The Django book is the best source of
Hi, I've been using Django about 4 years now, so the docs and source code
is where I usually get answers these days. But back in the the day when I
started out, the book really helped me understand Django, and I
often recommend it to friends just starting out.
On Thu, Apr 12, 2012 at 11:22 AM, Sam
Documentation is the best source for understanding Django. If your new in
Django - read tutorial:
https://docs.djangoproject.com/en/dev/intro/tutorial01/
List of tutorials: https://code.djangoproject.com/wiki/Tutorials
2012/4/12 Torsten Bronger
> Hallöchen!
>
> Timothy Makobu writes:
>
> > Th
Your can read book for old versions of Django and then, when your
understand Django - read docs for newer versions.
2012/4/12 Timothy Makobu
> Yes it is. But the book has its place. Or is leaving the book outdated an
> indirect way of telling us to use only the docs?
>
>
> On Thu, Apr 12, 2012 a
Hi Jani
That was very helpful. Is there a way to include select_related into that
query? or do I have to list every single field I would like to return using
values()?
last_deleted = ModificationLog.objects.values('thing__id', '
thing __prefix', ' thing __first_name', ' thing__last_name', '
t
Mmmm, any dev willing to tell us the final word on this?
2012/4/12 Святослав Б
> Documentation is the best source for understanding Django. If your new in
> Django - read tutorial:
> https://docs.djangoproject.com/en/dev/intro/tutorial01/
>
> List of tutorials: https://code.djangoproject.com/wi
>
> Hi Jani
>
> That was very helpful. Is there a way to include select_related into that
> query? or do I have to list every single field I would like to return using
> values()?
>
> last_deleted = ModificationLog.objects.values('thing__id', '
> thing__prefix', ' thing __first_name', ' thing__
Boy, I've lost count of how many times I've had arguments about books vs
documentation vs learning on your own.
In short, the only way you're going to get updated books is if
technically competent writers spend time writing it - but I doubt many devs
would be interested in re-writing (and essentia
On Apr 12, 11:52 am, David wrote:
> > Hi Jani
>
> > That was very helpful. Is there a way to include select_related into that
> > query? or do I have to list every single field I would like to return using
> > values()?
>
> > last_deleted = ModificationLog.objects.values('thing__id', '
> > thing__
12.4.2012 11:51, David kirjoitti:
Hi Jani
That was very helpful. Is there a way to include select_related into
that query? or do I have to list every single field I would like to
return using values()?
last_deleted = ModificationLog.objects.values('thing__id', ' thing
__prefix', ' thing __first
I don't remeber the exact details, but Django book is not part of Django
project but separate project.
And apparently authors didn't wanted/had time/whatever reason there is
upgraded documentation along Django.
It would also require lot of upkeeping different versions of books
(since every v
Work flexi = Work hours - 7.6
When the user puts 8 in work hours, work flexi should display 0.4
automatically based on the definition above. Do I need to customise the
template or modify the models to achieve this?
--
You received this message because you are subscribed to the Google Groups
"
On Thu, 2012-04-12 at 14:10 +0300, Jani Tiainen wrote:
> And apparently authors didn't wanted/had time/whatever reason there
> is
> upgraded documentation along Django.
>
> It would also require lot of upkeeping different versions of books
> (since every version of Django changes/adds something)
Hi,
sometimes it happens, that db queries get executed at import time (during
importing the file by the interpreter).
That's waste of time a resources.
Is there a way to test how many queries get executing during import? I want
some automated way to detect these db queries.
Example:
def mych
It is valid for Django 1.1. :)
My solution that I used last year, was installing Ubuntu 10.04 LTS
coming with, guess Django 1.2 or 1.1 not sure.
The book was very solid, easy and did not want to back and fort between
documentation and book.
After this initial dose of Django book, documentation
I followed the book in 1.3 and everything worked. It's the best piece of
documentation I've come across. Such great narrative, not too detailed but
detailed enough.
On 12 April 2012 22:10, Mehmet Gültaş wrote:
> It is valid for Django 1.1. :)
>
> My solution that I used last year, was installing
Have you tried this?:
c = Company()
c.Subject = T
c.save()
On 12 April 2012 02:54, Sophia wrote:
> Hi all,
>
> I have a question about how to enter data in django's database. I have the
> following Template, in which ' E ' is a variable that get the string:
>
>
>
> This is my models.py in wh
On Thu, Apr 12, 2012 at 5:51 AM, Timothy Makobu
wrote:
> Mmmm, any dev willing to tell us the final word on this?
There is no relationship between the Django project and the
Django book apart from the fact that the tw authors are
so I don't think you will get any official word about book
updates
Thank you akaariai
That put me on the right track.
Log.objects.distinct('thing__id').order_by('thing__id',
'-modified_on').select_related().filter(thing__deleted=0)[:20]
By avoiding the use of values() I was able to then use the result as an
object and access everything I needed.
The above OR
I keep a checked out copy of the Django source code and just refer to the
source code, docs, google, the mailing list and IRC for reference, I tried
the book when I first started but it lacked the Class Based Views which I
prefer to use when possible.
Good luck!
On Thu, Apr 12, 2012 at 8:49 AM, R
12.4.2012 15:09, Thomas Guettler kirjoitti:
Hi,
sometimes it happens, that db queries get executed at import time
(during importing the file by the interpreter).
That's waste of time a resources.
Is there a way to test how many queries get executing during import? I
want some automated way to d
On Apr 12, 4:01 pm, David wrote:
> The above ORM statement however does not look as elegant to read as I have
> come to expect from Django though. The resulting SQL doesn't seem too
> shabby however.
.distinct(fields) + .order_by() is pretty low level stuff - that is
why it would be nice if there
On Thu, Apr 12, 2012 at 3:45 PM, Mario Gudelj wrote:
> I followed the book in 1.3 and everything worked. It's the best piece of
> documentation I've come across. Such great narrative, not too detailed but
> detailed enough.
>
>
> Yea. I still read chapters randomly as the author can obviously teac
Am 12.04.2012 15:25, schrieb Jani Tiainen:
12.4.2012 15:09, Thomas Guettler kirjoitti:
Hi,
sometimes it happens, that db queries get executed at import time
(during importing the file by the interpreter).
That's waste of time a resources.
Is there a way to test how many queries get executing
On Thu, Apr 12, 2012 at 10:01 AM, David wrote:
> Log.objects.distinct('thing__id').order_by('thing__id',
> '-modified_on').select_related().filter(thing__deleted=0)[:20]
>
> By avoiding the use of values() I was able to then use the result as an
> object and access everything I needed.
>
> The ab
On Thursday, 12 April 2012 13:09:54 UTC+1, guettli wrote:
>
> Hi,
>
> sometimes it happens, that db queries get executed at import time (during
> importing the file by the interpreter).
> That's waste of time a resources.
>
Why? Imports only happen the first time a process accesses a module. A
Hi Don,
Wondering why you dont inherit from just Formview..and define the
success URL to a separate class based ListView. It splits it up into
two class based views with the Formview taking care of returning the
errors on failure. On success it hands off to your Listview based
class that knows whi
Btw, you can checkout book as a SVN from
http://djangobook.com/svn/trunk/en/
Maybe we, as a community could import that to bitbucket/github and continue
maintaining it?
On Thu, Apr 12, 2012 at 5:10 PM, Timothy Makobu wrote:
>
>
> On Thu, Apr 12, 2012 at 3:45 PM, Mario Gudelj wrote:
>
>> I follo
All,
I am at my wit's end trying to come up with a structure to do the
following. I have a "MasterModel" that acts as a template for an
"InstanceModel." The MasterModel defines a set of name/value pairs.
Each InstanceModel must have a name that corresponds to one of the
names of the MasterModel
So you're basically trying to implement EAV [1]?
There exists few apps that does it for you, like django-eav:
https://github.com/mvpdev/django-eav
[1]
http://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model
On Thu, Apr 12, 2012 at 6:34 PM, trubliphone wrote:
> All,
>
> I am
There is pysox. I haven't used it, but bindings for libsox shouldn't
be rocket engineering (rockets haven't been science in a long time).
On 4/11/12, BGMaster wrote:
> Hi,
>
> I know this isn't a django specific question, but does anyone know of
> a good python library or module for clipping/cut
Hi,
Thanksit works like champion.
Rgrds,
Setiaman Lee
On Wed, Apr 11, 2012 at 3:00 PM, Святослав Б wrote:
> Hi!
>
> Override ModelAdmin get_form() method and filter your field.
>
> class MyAdmin(admin.ModelAdmin):
> def get_form(self, request, obj=None, **kwargs):
> form = super
Hello,
I have model and a DB with data. I have to change one field size (lets say,
from 255 to 4000). The column is called "papers".
I made a South migration, by creating by hand a migration script, and it
worked, since the size for this column was changed in the DB.
Now I have the column with t
Hi,
I was working with django 1.3.1 and oracle and i got this error:
ORA-00918: column ambiguously defined.
After some digging in django/db/models/sql/compiler.py i discovered
the bug/error:
My models had a definition according to django sujested naming:
class SampleModel(models.Model):
m
I am working (again) through the tutorial part 1. I have made changes to
Engine and Name as specified in the instructions. However, running "python
manage.py syncdb" continues to return "Please supply the ENGINE value." I
did not encounter this problem the first time I worked through this
tutor
On Thu, Apr 12, 2012 at 7:09 PM, Brandy wrote:
> I am working (again) through the tutorial part 1. I have made changes to
> Engine and Name as specified in the instructions. However, running "python
> manage.py syncdb" continues to return "Please supply the ENGINE value." I
> did not encounter thi
Hi,
I'm doing my development with sqlite and my production deployment with
postgres. I have this model
class Service(models.Model):
name = models.CharField(max_length=256)
description = models.CharField(max_length=4096, default='')
username = models.CharField(max_length=256)
passw
On Apr 12, 1:44 pm, msoulier wrote:
>
> class Service(models.Model):
> name = models.CharField(max_length=256)
*sigh* I should have had primary_key=True on this. Red Herring, sorry.
Mike
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
I am in version 1.4. I feel like this is what is happening: I open the file
to edit it in either Emacs or BlueFish. The file seems to save properly (I
have verified that the files are being saved to the correct directory), but
those changes don't seem to be reflected in the files when I access t
Hello.
Try to escape spaces. I don`t check how django work when path have
spaces inside, but i meet same problems in my practice.
p.s. sorry for my bad english.
12 апреля 2012 г. 21:32 пользователь victoria написал:
> On Thu, Apr 12, 2012 at 7:09 PM, Brandy wrote:
>> I am working (again) throug
Can you post your full code somewhere as a zip?
On Thu, Apr 12, 2012 at 2:33 PM, Leonid Toshchev wrote:
> Hello.
> Try to escape spaces. I don`t check how django work when path have
> spaces inside, but i meet same problems in my practice.
>
> p.s. sorry for my bad english.
>
> 12 апреля 2012 г
Further update on this - budget has changed so, we can now offer a higher
rate and a part time alternative.
* 1500$/month for 70 hours (20$/hour)
* 2000$/month for 100 hours (20$/hour)
Thanks
Cal
On Tue, Apr 10, 2012 at 9:31 PM, Cal Leeming [Simplicity Media Ltd] <
cal.leem...@simplicitymedialt
My sad story- I have inherited an app developed by a third party that
I am deploying and I'm having strange issues with it. The last known
working configuration was lost when a virtual host was inadvertently
destroyed.
The specific problem is that the admin app is not creating urls to
pages correc
Hi Brandy,
I downloaded your project modified the beginning to the following:
# Django settings for mysite project.
import os,sys
HOMEDIR=os.path.dirname(__file__)
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_em...@example.com'),
)
MANAGERS = ADMINS
DATABASES = {
great:
I think this is a good sellery for India if you add some bonuses.
good luck
On Thu, 2012-04-12 at 20:27 +0100, Cal Leeming [Simplicity Media Ltd]
wrote:
> Further update on this - budget has changed so, we can now offer
> a higher rate and a part time alternative.
>
>
>
> * 1500$/mon
If you install django-devserver, and enable SQL queries in the console, then
every query will be displayed as it happens, and you should be able to
track them
down.
Matt.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion
FINALLY! I used your modifications and adjusted the security settings of
the directory (twice). And now it works. Thank you everyone for taking the
time to look at my code!
Brandy
On Thursday, April 12, 2012 3:13:58 PM UTC-5, William Ratcliff wrote:
> Hi Brandy,
>
> I downloaded your project
Hi,
This bug sounds familiar, from back in the days when Django's admin started
migrating to named URLs in the admin.
The regex you've got for the admin page is the source of the problem. What
you've got is a weird hybrid between the old style:
(r'^admin/(.*)', admin.site.root),
and the new
Hi Rui,
Sounds like a bug to me; please open a ticket describing the problem you have
found.
Yours,
Russ Magee %-)
On Friday, 13 April 2012 at 12:48 AM, Rui Silva wrote:
> Hi,
>
> I was working with django 1.3.1 and oracle and i got this error:
> ORA-00918: column ambiguously defined.
> Aft
On Thursday, 12 April 2012 at 10:47 PM, Andre Terra wrote:
> On Thu, Apr 12, 2012 at 10:01 AM, David (mailto:cthl...@gmail.com)> wrote:
> > Log.objects.distinct('thing__id').order_by('thing__id',
> > '-modified_on').select_related().filter(thing__deleted=0)[:20]
> >
> > By avoiding the use of
Hi, I have over 20 years in the software business, I have worked for the
big 6 back in the day of the dotcom crash. I am in the states so schedule
is not a problem. I am looking for steady work, I am always available I
don't do any onsite work. This spot is a perfect fit. The essentials are a
slam
Good day,
I am Martin Vincent, CTO for ISolutionspro, an internet business
consulting firm that specializes in custom online marketing and web
software development.
Right now we are searchng for five or more years experienced Python
Django programmers to work with us developing a facebook app.
W
That's not very nice to prosecute potential employees.at least wait
until you hire them and they do something wrong.;)
Mark
On Thu, Apr 12, 2012 at 5:52 PM, Martino wrote:
> Good day,
>
> I am Martin Vincent, CTO for ISolutionspro, an internet business
> consulting firm that specializes
56 matches
Mail list logo