Hi Gerd,
I have been following your question quite closely and I wish to find a way
to assist. Are you creating multiple forms? If so, are you using Formsets?
I need to understand what exactly you want to accomplish before I can
render any assistance.
Sithu
On Saturday, August 31, 2013
Hi everyone,
Where can I find Django on Discord?
TIA.
Regards,
~ Lloyd
--
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
Hi,
I have two models, ReleaseImageGallery and ReleaseImage as follows:
class ReleaseImageGallery(BaseImageGallery):
release = models.ForeignKey(Release, on_delete=models.CASCADE)
class Meta:
verbose_name = "release image gallery"
verbose_name_plural = "release image galleries"
and
class
igrations. All migrations have
been run and a user is already capturing data on a staging server, so I do
not want to recreate the database.
Regards,
~ Lloyd
On Sat, Aug 7, 2021 at 1:02 AM Lloyd Dube wrote:
> Hi,
>
> I have two models, ReleaseImageGallery and ReleaseImage as follows:
terms of scalability that us
non-technical people can be more comfortable with...", such as:
- concurrent active users
- emails per day
- lessons uploaded on the system
- etc.
How do I address this sort of query?
--
Regards,
Sithembewena Lloyd Dube
--
You received this message b
<law...@thenilgiris.com>wrote:
> On Thu, 2012-03-15 at 09:46 +0200, Sithembewena Lloyd Dube wrote:
> > - concurrent active users
> >- emails per day
> >- lessons uploaded on the system
> >- etc.
> >
> >
> > How do I address this sort
Xavier, thanks for the link. I'm watching it and I reckon it could help
address the query.
On Thu, Mar 15, 2012 at 10:21 AM, Xavier Ordoquy <xordo...@linovia.com>wrote:
>
> Le 15 mars 2012 à 09:04, kenneth gonsalves a écrit :
>
> > On Thu, 2012-03-15 at 09:46 +0200, Sithembe
.com>wrote:
> On Thu, 2012-03-15 at 10:22 +0200, Sithembewena Lloyd Dube wrote:
> > Thanks for the response. The project will be hosted at WebFaction
> > (which I
> > recommended, having used their services with great results in the
> > past). It
> > will s
000 for a web application, and
>> therefore expecting a large amount of traffic and probably income, is way
>> too little to expect any kind of a guarantee -- let alone a guarantee that
>> it'll scale to infinite and beyond.
>>
>> Good luck!
>>
>> On Thu, Mar
make sure your server has write permissions on the
> home/projects directory.
>
> Sent from my iPhone
>
> On Mar 17, 2012, at 9:02 AM, Sithembewena Lloyd Dube <zebr...@gmail.com>
> wrote:
>
> Hi all,
>
> I have a model with an ImageField and when I tr
ia-upload-errno-13-permission-denied
>
> On Sat, Mar 17, 2012 at 10:33 AM, Sithembewena Lloyd Dube <
> zebr...@gmail.com> wrote:
>
>> Hi Jonathan,
>>
>> Thanks for the response. How do I do that? I ran *sudo chmod -R a+rwX
>> Projects/* and I still get the s
ged mysql mode to non
> strict. The error from the traceback looks to be from the
> file
> "/usr/local/lib/python2.7/site-packages/django/contrib/auth/management/__init__.py"
> which is django contrib application. What should i do to fix this issue. Am
> using django version 1.
ail to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@**
> googlegroups.com <django-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at http://groups.google.com/**
> group/django-users?
gt; Swaroop Shankar V
>
>
>
> On Sun, Mar 18, 2012 at 6:27 AM, Sithembewena Lloyd Dube <
> zebr...@gmail.com> wrote:
>
>> ^^ What Alasdair said. If you still cannot solve this after shortening
>> your models' names, can we see your models?
>>
>>
>>
.
application. Is there a sensible way to address this problem?
--
Regards,
Sithembewena Lloyd Dube
--
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
c.
On Wed, Mar 21, 2012 at 8:12 PM, Andre Terra <andrete...@gmail.com> wrote:
> Try writing your own views rather than expanding the Admin. It's well
> worth it in the long run!
>
>
> Cheers,
> AT
>
> On Wed, Mar 21, 2012 at 1:50 PM, Sithembewena Lloyd Dube <
> zebr
ubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
ideas?
--
Regards,
Sithembewena Lloyd Dube
--
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...@goog
.
--
Regards,
Sithembewena Lloyd Dube
--
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...@google
s 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.
>
>
--
Regards,
Sithembewena Lloyd Dube
--
You
I did do:
#if form.save():
success = form.errors['success']
On Tue, Jun 26, 2012 at 2:35 PM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> @newkedison, thank you for the suggestion. I wish to stay on the page
> without doing any redirects.
>
> @Jirka - thanks. I s
Hi,
Would anyone have tips on how to generate random 4-digit alphanumeric codes
in python? Also, how does one calculate the number of possible combinations?
Thanks in advance.
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
=cat.pk)
How can I remove those categories (please note, I do not intend to delete
them)?
Thanks.
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
Thanks, everyone. I sort of realised I'd need an annotation but wasn't too
clued up on its use. This is just what I needed.
Best wishes.
On Tue, Jul 17, 2012 at 2:05 AM, akaariai <akaar...@gmail.com> wrote:
> On 16 heinä, 14:38, Sithembewena Lloyd Dube <zebr...@gmail.com> wrote:
= reg_user.name
my_form.email_address = reg_user.email_address
# and so on ...
Any ideas? Thanks ...
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
= MyContactForm(initial=initial)
>
>
> On Wed, Jul 18, 2012 at 11:23 AM, Sithembewena Lloyd Dube <
> zebr...@gmail.com> wrote:
> > Hi everyone,
> >
> > I have a contact form in my app and would like to prepopulate it with
> user
> > details where
he web visit
> https://groups.google.com/d/msg/django-users/-/5DiLmGCf_E0J.
> 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
>
:
newsletter = models.BooleanField(verbose_name=u'Sign up to the newsletter',
default=False)
.. and in the view:
print registered_user.newsletter
The print outputs False even though this same user's 'newsletter' field
appears checked in the admin. What am I missing?
Thanks.
--
Regards,
Sithembewena Lloyd
hy do you have your own User model? Are you sure you're logging in
> the right user and loading the right user instance?
>
> On Fri, Jul 20, 2012 at 12:37 PM, Sithembewena Lloyd Dube
> <zebr...@gmail.com> wrote:
> > Hi everyone,
> >
> > I have a user model in
> > For more options, visit this group at
> > http://groups.google.com/group/django-users?hl=en.
> >
> >
>
> --
> Sent from my mobile device
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django user
basically need to ensure that users answer at least 3 out
of 5 questions?
Thanks ...
--
Regards,
Sithembewena Lloyd Dube
--
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@google
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
pardon, the closing 'for' tag would be {% endfor %}
On Mon, Jul 23, 2012 at 6:53 PM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> ^^ as above ...
>
> try ...
>
>
> {% for user in u %}
> User ID{{user.id <http://u.id>}}
> User Name{{user.name &
nderstand the question but I think if you want
>> to check if the user has answered 3 questions, check from the keys in
>> request.GET or request.POST as the case may be.
>>
>> On 7/23/12, Sithembewena Lloyd Dube <zebr...@gmail.com> wrote:
>> > Hi all,
>&g
nderstand the question but I think if you want
>> to check if the user has answered 3 questions, check from the keys in
>> request.GET or request.POST as the case may be.
>>
>> On 7/23/12, Sithembewena Lloyd Dube <zebr...@gmail.com> wrote:
>> > Hi all,
>&g
Thanks Daniel :) Was just poring over the Formsets documentation now ...
looks like what I need.
I will update this thread with the results later.
On Mon, Jul 23, 2012 at 10:09 PM, Daniel Roseman <dan...@roseman.org.uk>wrote:
> On Monday, 23 July 2012 21:05:54 UTC+1, Lloyd D
and
save a points instance. How can I do so?
--
Regards,
Sithembewena Lloyd Dube
--
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,
s on your desired
> architecture. I prefer overriding save() for changes to the model
> itself or its related models (as in this case), and signals less
> related features (for example sending an email).
>
> On Wed, Jul 25, 2012 at 4:34 PM, Sithembewena Lloyd Dube
> <zebr...@
Lloyd Dube
--
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 opti
ree with the above question. It's a solution, but you usually
>> never want to use your production database on a development server.
>>
>> As for his problem, I would look into fabric. You can easily write a
>> function that dumps data from one database and into another.
>
is:
Exception Value:
(1048, "Column 'section_id' cannot be null")
... it is raised here ...
referral = form.save()
Any ideas on overcoming this behaviour?
Thanks!
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you are subscribed to the Google Group
.
imported the user section as another name and just used it instead.
On Sat, Jul 28, 2012 at 4:44 PM, Karen Tracey <kmtra...@gmail.com> wrote:
> On Sat, Jul 28, 2012 at 9:31 AM, Sithembewena Lloyd Dube <
> zebr...@gmail.com> wrote:
>
>> Hi all,
>>
>> I have
Hi Kevin,
Does what I need, thanks :)
On Mon, Jul 30, 2012 at 5:05 PM, Kevin Anthony <kevin.s.anth...@gmail.com>wrote:
> I would look into the Google graph API
> https://developers.google.com/chart/
>
> On Mon, Jul 30, 2012 at 10:47 AM, Sithembewena Lloyd Dube <
>
thought to ask if anyone here has
ever had to do the same and encountered this?
Thanks.
--
Regards,
Sithembewena Lloyd Dube
--
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@google
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, visi
t 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.
>
>
--
Regards,
Sithembewena Lloyd Dube
@Melvyn, thanks - that makes sense.
On Wed, Aug 22, 2012 at 3:18 AM, Melvyn Sopacua <m.r.sopa...@gmail.com>wrote:
> On 22-8-2012 3:04, Sithembewena Lloyd Dube wrote:
>
> > I found your response to the OP interesting, yet I cannot quite follow
> it.
> > Even if
.
--
Regards,
Sithembewena Lloyd Dube
--
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
gt;
> On Wednesday, December 12, 2012 6:11:54 AM UTC-8, Lloyd Dube wrote:
>
>> urls.py:
>>
>> urlpatterns = patterns('',
>> # Examples:
>> url(r'^$', 'musicsite.views.home', name='home'),
>> # url(r'^musicsite/', include('musicsite.foo.urls'))
mail 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.
>
--
Regards,
Sithu Lloyd Dube
--
You received t
oups.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.
>
--
Regards,
Sithu Lloyd Dube
--
You received this message because you are subsc
ribe 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.
>
--
Regards,
Sithu Lloyd Dube
--
You received this message because you are subscribed to the
on the web visit
> https://groups.google.com/d/msg/django-users/-/XOwYE_Yj9vQJ.
>
> 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
missing? I namespaced the contact_us urls include
in the main urls'py file and there is a simple contact_us view in the
contact_us app which renders an existing template.
Thanks.
--
Regards,
Sithu Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
"Djan
ugged-in" app? (base url + app-view url?).
On Tue, Apr 9, 2013 at 3:40 PM, Andrey Kostakov <b...@dzen.ws> wrote:
> Try this without quotes:
> Contact Us
>
> On Tue, Apr 9, 2013 at 5:31 PM, Sithembewena Lloyd Dube
> <zebr...@gmail.com> wrote:
> > Hi everyone,
&
Evans <tevans...@googlemail.com> wrote:
> On Tue, Apr 9, 2013 at 2:31 PM, Sithembewena Lloyd Dube
> <zebr...@gmail.com> wrote:
> > Hi everyone,
> >
> > I have a project based on the latest Django version (1.5.1.) where I
> created
> > a contact_u
, Apr 9, 2013 at 4:43 PM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> Thanks, Tom.
>
> I am not sure how you mean? In the contact_us app, I am not explicitly
> calling reverse. I only have the following:
>
> from django.shortcuts import render, reverse
&g
at 4:43 PM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> Thanks, Tom.
>
> I am not sure how you mean? In the contact_us app, I am not explicitly
> calling reverse. I only have the following:
>
> from django.shortcuts import render, reverse
>
> def contact_us
Tom,
The latter. I did not call reverse explicitly (not yet). I have implemented
namespacing as recommended.
Contact Us
On Tue, Apr 9, 2013 at 4:59 PM, Tom Evans <tevans...@googlemail.com> wrote:
> On Tue, Apr 9, 2013 at 3:56 PM, Sithembewena Lloyd Dube
> <zebr...@gmail.com
Hi all,
I have the correct url, but the dev server seems to be caching my old
template, even though I updated it to include namespacing. I have restarted
the server and cleared my browser cache.
contacts
On Tue, Apr 9, 2013 at 5:11 PM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> Hi all,
>
> I have the correct url, but the dev server seems to be caching my old
> template, even though I updated it to include namespacing. I have restarted
> the server and cleared my browser cache.
>
> contacts
>
>
Issue resolved.
The problem was a similar usage of a url template tag without a namespace.
All I had to do was check the correct line number in the template.
Thanks to all. Time for a walk outside.
On Tue, Apr 9, 2013 at 5:36 PM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
>
Issue resolved.
The problem was a similar usage of a url template tag without a namespace -
in the same template. All I had to do was check the correct line number in
the template.
Thanks to all. Time for a walk outside.
On Tue, Apr 9, 2013 at 5:36 PM, Sithembewena Lloyd Dube
<z
s group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubsc
By the way, the book mentioned above - "Two Scoops of Django" - makes very
good reading for Django in general.
On Sat, May 11, 2013 at 2:28 AM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> Hi Phillipe,
>
> I think that it really depends on how modular you would l
thembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> Hi Phillipe,
>
> I think that it really depends on how modular you would like your Django
> project to be. Do you want the stats generation functionality to be
> separately pluggable from the pie-charting functionality? Is your
at, May 11, 2013 at 2:28 AM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> Hi Phillipe,
>
> I think that it really depends on how modular you would like your Django
> project to be. Do you want the stats generation functionality to be
> separately pluggable from the pie-
quote): "In
essence, each app should be tightly focused on its task. If an app can’t be
explained in a single
sentence of moderate length, or you need to say ‘and’ more than once, it
probably means the app is
too big and should be broken up.
On Sat, May 11, 2013 at 2:35 AM, Sithembewena Lloyd
You're welcome. Enjoy the book!
On Sun, May 12, 2013 at 9:54 PM, Philippe Schraepen <
schraepen.phili...@gmail.com> wrote:
> Thanks for the clarification!
> I'll definitely read the book!
>
> On Saturday, May 11, 2013 12:28:50 AM UTC, Lloyd Dube wrote:
>
>>
roup/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop rec
roups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
--
You receive
.@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
--
You recei
mails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out
and
any new videos added should have ids starting from 1 again.
Any ideas on implementing this?
--
Regards,
Sithu Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fro
Thank you, Avraham.
On Fri, Jun 14, 2013 at 2:26 PM, Avraham Serour <tovm...@gmail.com> wrote:
> manage.py flush
>
>
> On Fri, Jun 14, 2013 at 3:16 PM, Sithembewena Lloyd Dube <
> zebr...@gmail.com> wrote:
>
>> Greetings,
>>
>> I've got a
sers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
I meant, delete the PlayerClub linking table/ model. The foreignkey
relationship takes care of that need.
On Fri, Jun 14, 2013 at 4:41 PM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> Hey,
>
> The player belongs to a club. So in the player model you should have
cause 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com
scr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
--
email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Llo
them.
One thing I do notice is that two of the missing css files are in the
document's noscript tag and the links for all three are not clickable when
viewing source. There are three in there, so one loads fine.
Any pointers to what I could be missing? Thanks.
--
Regards,
Sithu Lloyd Dube
--
You
this is not an html mailing list, but has anybody else encountered
this?
Another thing i noticed is that all this is not a problem when i view the
templates from outside a Django project - i.e. as a standalone html website.
On Thu, Jun 27, 2013 at 10:08 PM, Sithembewena Lloyd Dube <zebr...@gmail.com
>
Another thing i noticed is that all this is not a problem when i view the
> > templates from outside a Django project - i.e. as a standalone html
> website.
> >
> >
> > On Thu, Jun 27, 2013 at 10:08 PM, Sithembewena Lloyd Dube <
> zebr...@gmail.com
> > > wrote:
>
users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
--
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,
to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
--
You received this message because you are subscribed to the Goog
roup, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
--
You received this message because you are subscribed
group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Regards,
Sithu Lloyd Dube
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
jects.get(pk=1)
>>>blog_user.blogger
Mike
I get the blogger object's name
However, in the admin section the blogger id is displayed. How can I display
the unicode representation of the blogger object?
Thanks.
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you
?
I would appreciate any advice. Thanks.
Regards,
Sithembewena Lloyd Dube
--
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
d
Hi all,
I wish to find out how I can detect current form mode in admin.py. What I am
trying to do is to stop users changing a dropdown's selection when in edit
mode.
Any ideas?
Thanks.
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you are subscribed to the Google
@Mengu, yes, precisely :)
On Mon, Apr 18, 2011 at 1:20 PM, Mengu <whalb...@gmail.com> wrote:
> you mean like if a new object is being added or edited in the admin?
>
> On Apr 18, 1:58 pm, Sithembewena Lloyd Dube <zebr...@gmail.com> wrote:
> > Hi all,
> >
> &
updatinghttp://localhost:8000/admin/testapp/testmodel/add/- means i'm adding
> >
> > if (document.location.href.indexOf("/add/") != -1) {
> >
> > }
> >
> > On Apr 18, 2:50 pm, Sithembewena Lloyd Dube <zebr...@gmail.com> wrote:
> >
> >
> >
> >
> &
Hi all,
I am using a jquery datepicker control on a page of mine, and it formats the
date different than the django admin datepicker. (MM-DD-YYY).
If I have a date in that format, how can I format it to DD-MM-? I have
tried using strftime with no success.
--
Regards,
Sithembewena Lloyd
bs/jqueryui/1.8.12/i18n/jquery.ui.datepicker-ru.min.js</a>
> ">
>
> And if you want your datepicker be custom formatted, then you can configure
> it separately.
>
> $('#id_date').datepicker({dateFormat: 'yy-mm-dd'});
>
>
>
>
> On Mon, May 9, 2011 at 1
emains at 0.
>>> i = 0
>>> for node in xml_content.getiterator('contest'):
... i += 1
...
>>> i
0
What am I getting wrong? Any hints would be appreciated.
--
Regards,
Sithembewena Lloyd Dube
--
You received this message because you are subscribed to
it this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>
>
> --
> Brian Bouterse
> ITng Services
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to thi
P.S: I was aware that I posted a non-django question: I just took the chance
that someone here may have needed to do the same.
Thanks!
On Wed, May 25, 2011 at 2:35 PM, Sithembewena Lloyd Dube
<zebr...@gmail.com>wrote:
> Hi Everyone,
>
> Thanks for all your suggestions. I
> On 2010-08-04, at 17:35 , Sithembewena Lloyd Dube wrote:
> > Surprising that anybody would be offended by the OP's post. Why do people
> so
> > readily see red? As for the "think special" part, one would have to be
> > pretty intent on getting upset to miss the s
Hi all,
Has anybody used Django 1.2.1. on Windows 7 with MySQL-Python? I see that
MySQL-Python supports up to Python 2.6 and I am wondering if it will play
nicely with Python 2.7? I need this information for a new project at work.
With thanks,
--
Regards,
Sithembewena Lloyd Dube
http
> What's wrong with using Python 2.6 instead of 2.7?
>
>
>
> On Aug 11, 4:13 pm, Sithembewena Lloyd Dube <zebr...@gmail.com> wrote:
> > Hi all,
> >
> > Has anybody used Django 1.2.1. on Windows 7 with MySQL-Python? I see that
> > MySQL-Python suppor
1 - 100 of 338 matches
Mail list logo