After years of development and a whole lot of anticipation, Kite is now
available on Linux! You can download it for free at kite.com/linux.
Kite helps Python developers be more productive with its Line-of-Code
Completions, and integrates as a plugin into PyCharm, IntelliJ, VS Code,
Atom, Subl
che the top
100 list. But if neither condition is true (which should be most of the
time), you can leave the cache untouched.
There are probably other smart things you can do so that you don't have to
re-execute a MySQL query each time you rebuild the top 100 list, but this
optimisation sho
Works like a charm, but I don't completely understand why that is
necessary. When I defined the text input as hidden and disabled, it
overwrote the initial settings of that field?
what exactly does this line do?
def __init__(self, *args, **kwargs):
forms.ModelForm.__init__(self
} with some jquery to
hide/show player 2,3,4 depending on the select box value for number of
players. Before I started adding jquery code to the template, this worked
fine.
Any ideas what could have happened?!
Thanks in advance!
Brendan
--
You received this message because you are subscribed t
>
> Why not just do this? (Sorry for the crappy indentation.. tab doesn't work
> on here for some reason)
>
> models.py:
>
>
>> class SignUpForm(forms.ModelForm):
>> class Meta:
>> model = Customer
>>
>
> class VmForm(forms.ModelForm):
> class Meta:
>
Why not just do this? (Not sure if this is the most efficient way..)
models.py:
> class SignUpForm(forms.ModelForm):
> class Meta:
> model = Customer
>
class VmForm(forms.ModelForm):
class Meta:
model = Vms
class VmSpecForm(forms.ModelForm):
ed {{ tee1.hole1_distance }} etc.. which got me the
correct value. I had tried this before but left out .values() due to lack
of understanding at the time.
Thanks!
Brendan
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
x27;Blue'}" called and why does it
display like this (I would like to understand and not just insert a given
line of code)? I have read the documentation and I am still confused on
this.
2) How can I retrieve blue from {'Tee_Color': u'Blue'}? (example code would
etc
Questions:
1) What is the data "{'Tee_Color': u'Blue'}" output "{'Tee_Color':
u'Blue'}" called and why does it display like this (I would like to
understand and not just insert a given line of code)? I have read the
documentation
Oh that is a serious case of PEBCAC.
Thanks you for your help.
Brendan
On 27 October 2012 01:33, donarb wrote:
> You misspelled 'pub_date' as 'put_date' in your model definition.
>
>
> On Thursday, October 25, 2012 9:30:57 AM UTC-7, BrendanC wrote:
>&g
Thank Emrah
Appreciate your help. Will try that later as I have an online lecture until
2100hrs.
Brendan
On 25 October 2012 18:10, Emrah Atalay wrote:
> Hi again,
>
> Remove 'date published' string from pub_date=models.DateTimeField
>
> from django.db import models
&g
Hi all
I am new to Django and I'm having an issue with some code. I am trying to
get through the first tutorial from the Django site.
I have a file called polls/models.py and have created a class that contains
the following code
class Poll(models.Model):
question = models.CharField(max_lengt
away.
>
> Any hints?
>
> Many thanks for your help!
>
> regards, Tom
>
> --
> 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 unsubscr
bump?
On Thu, May 26, 2011 at 11:11 AM, Brendan Smith <
bren...@nationalpriorities.org> wrote:
> hey all,
>
> I pushed some changes to my code last night and this morning upon trying to
> add an object (based on a model I added last night) this morning I am
> getting t
idea what this is all about?
thanks,Brendan
--
Brendan Smith, IT Specialist
National Priorities Project
http://www.nationalpriorities.org
http://www.costofwar.com
http://www.facebook.com/nationalpriorities
413 584 9556
--
You received this message because you are subscribed to the Google Group
; "Django users" group.
> To post to this group, send email to django-us...@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
i don't know for sure the exact answer of whether or not your include is
cached, someone more intimate with core would know better than i...
but, i would recommend making your own template tag for doing this (
http://docs.djangoproject.com/en/dev/howto/custom-template-tags/)
On Fri, May 21, 2010
t; >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Django users" group.
> > To post to this group, send email to django-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> django-user
What servers does django support? Is there any way to get it with
cpython to run on top of tomcat?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-user
> The tutorial, though, puts it on the Poll model. Where is yours?
Ah, thanks. It seems that I put it in the PollAdmin for some reason.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
vior changed
since the tutorial was written?
Thanks,
Brendan
--~--~-~--~~~---~--~~
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 fr
Hi, I'm looking at various python web frameworks, primarily looking
for something to handle the presentation layer right now, and I heard
some things about django.
I looked at django's templating langauge and some other python
templating languages. I'm most familiar with XML based templating
lang
gs, but is there an
equivalent?
If not, is there a python web presentation framework that has such
capabilities?
Thanks,
Brendan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
ion. the databases
are geared up for accepting characters rather than integers where
appropriate.
the error message now reads 'Enter only digits separated by commas.'
brendan
On Oct 26 2006, 9:49 pm, "atlithorn" <[EMAIL PROTECTED]> wrote:
> This seems to be on the fritz
there's a ticket on this (forgot the number) -- the code needs to be
changed on windows to open in binary mode, or something like that...
xtian wrote:
> When I've been playing with Django I've often noticed broken images in
> the admin interface - chasing the urls shows that they seem to resolve
25 matches
Mail list logo