Wouldn't it be better to publish the book the same way as the Django Book (
http://www.djangobook.com/, https://github.com/jacobian/djangobook.com)
instead of looking for private reviewers?
On Tue, Nov 5, 2013 at 9:34 PM, George London wrote:
> Hi All!
>
> As a fairly recently self-taught Django
Hi All!
As a fairly recently self-taught Djangonaut, I was a bit dissatisfied with
the existing resources for learning to deploy Django in a production
setting. There are lots of blog posts about how to configure specific
services but really not much that recommends which services to use or how
And how do I copy these images from one model to another?
On Wed, Nov 6, 2013 at 1:40 AM, Rafael E. Ferrero
wrote:
> if you see many similarities between two models will surely are the same
> thing. So BackgroundImage and ProfilePicture are the same thing and Photo
> its very similar to. I think
Thank you all for the precious ideas! I made some changes and just about to
get the result. :D
Thank you again!
On Mon, Nov 4, 2013 at 6:22 PM, Tom Evans wrote:
> On Sun, Nov 3, 2013 at 8:23 PM, Aamu Padi wrote:
> > How to make a model with a yes/no field, if yes that particular object
> > (im
Thanks Tom. This did the trick. Much appreciated.
On Sunday, August 25, 2013 5:47:00 AM UTC-4, Derrick Jackson wrote:
>
> Hi All,
>
> My Model has a DecimalField:
>
> amount = models.DecimalField(max_digits=19, decimal_places=2,
> verbose_name='Amount')
>
> My ModelForm has the following:
if you see many similarities between two models will surely are the same
thing. So BackgroundImage and ProfilePicture are the same thing and Photo
its very similar to. I think you must to use inheritance of models [1] an
use choices [2] for distinct types of pics
I would do the following:
class
Hi Harjot,
try https://github.com/Kozea/wdb if you want debugger like pdb
or simple https://github.com/django-debug-toolbar/django-debug-toolbar
which provides lots of useful informations.
Unfortunately, I don't use pdb nor wdb, so I can't help you with any of them.
Cheers,
Tom
Dne Tue, 5 Nov
Each user has many *albums*, and each album has its many photos. And each
user has one *background image* to hold its many images. Similarly, a user
has one *profile picture* to hold its many images.
These are my models:
class UserProfile(models.Model):
user = models.OneToOneField(User)
p
Ok, I guess, I will try that. Thank you!!!
On Tue, Nov 5, 2013 at 10:40 PM, Gonzalo Delgado wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> El 05/11/13 13:14, Aamu Padi escribió:
> > I think abstract models is what I am after. But, I also want to get
> > the latest photo by that
Hi
I have an app subscriptions for events all working ok.
Admin on inscriptions that have a list_display ta displaying:
| Name | events | email | phone | city |
Now for me to make a call list with:
| Name | events | __ signature of the person___ |
what better way to do it using the django admin
I want to know that how can we debug django applications?
I got pdb but I think in this some commands are need to use and then I
come to know about pycharm.
Is it good?
I successfully installed it but dont' know how to use it?
Anyone please help me..
--
Harjot Kaur Mann
Blog: http://harjotmann.wor
On Tue, Aug 27, 2013 at 2:43 PM, Derrick Jackson
wrote:
> Thanks Tom. I actually tried that at one point and this is the error I
> received: not all arguments converted during string formatting.
To fix your problem, ensure that your error messages have the same
format specifiers as the defaults
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
El 05/11/13 13:14, Aamu Padi escribió:
> I think abstract models is what I am after. But, I also want to get
> the latest photo by that user, be that a profile pic or background
> pic. Can I use the abstract base model, ie the Image model to
> atleas
Morning all,
More information which may suggest I need to enter a bug with the Django
team.
If I remove my own custom error_messages dictionary for the Decimal Field
in my ModelForm all validation works as it should using the default error
messages built into Django.
On Tuesday, August 27,
Hello, Gonzalo! :D
I think abstract models is what I am after. But, I also want to get the
latest photo by that user, be that a profile pic or background pic. Can I
use the abstract base model, ie the Image model to atleast get the latest
photo by [-pub_date], even though I wont save anything in it
15 matches
Mail list logo