gt; If you drill into the code look for mmap.js for the client side stuff
> and ajax.php for the server side. I'm porting this to Django at the
> moment, and I'm looking forward to trying out Django's serializer for
> this.
>
> Best,
> BN
>
> On Feb 4, 11:41 p
client side. If you are using jQuery for example, jQuery will
> deserialize it for you. If you are writing the Javascript by hand, you
> deserialize it by doing an "eval" on the received data.
>
> BN
>
> On Feb 4, 10:09 pm, issya wrote:
>
> > Thanks for the rep
Thanks for the reply Russ. I will check into different things, you
make it sound easier than it looks. :)
On Feb 4, 11:33 pm, Russell Keith-Magee
wrote:
> On Thu, Feb 5, 2009 at 1:09 PM, issya wrote:
>
> > Thanks for the reply. I was aware of that but I guess I don't
> &g
some other easy thing.
On Feb 4, 10:45 pm, Russell Keith-Magee
wrote:
> On Thu, Feb 5, 2009 at 8:35 AM,issya wrote:
>
> > My ideal situation would be to initially load the data through ajax
> > and update through ajax. But I cannot find an easy way to do this. If
> > I searia
I have a page that displays 16 houses and relevant information. It
also displays a Google Map with all of the markers to houses on it.
Right now I have it doing a jQuery ajax load and it loading new
information to 2 separate divs, thus making 2 separate requests. I
know this isn't the best way to
Ahh, that was it. Thanks for the help. I was doing this
data.comments = $(form).find('inp...@name=comments]').val();
instead of...
data.comments = $(form).find('textar...@name=comments]').val();
Thank you!
On Jan 25, 3:26 pm, Daniel Roseman
wrote:
> On Jan 25
I am making a modelform that looks like the below.
class ContactForm(forms.ModelForm):
name = forms.CharField(widget=forms.TextInput(attrs=
{'class':'required'}))
phone = forms.CharField(widget=forms.TextInput(attrs=
{'class':'required'}))
comments = forms.CharField(widget
I know I am probably going about this the wrong way. Can someone
please help me rewrite this code so it is the right way? I am also
having a problem doing pagination. When I click on the next page link,
nothing is coming up. This is even if I pass through a ?city=
{{ request.GET.city }} in the nex
Thank you for the reply. I tried going the route of using the below.
Is your way better? Since 'in' needs a list as an argument and
SelectMultiple returns a list:
if request.method == "POST" or request.GET.get('page', ''):
search_form = SearchForm(request.POST)
if
I am working on a search form that has a SelectMultiple widget. What
would be the best way to make a complex lookup with the SelectMultiple
widget?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
illiers
<[EMAIL PROTECTED]> wrote:
> On 26 nov, 06:24,issya<[EMAIL PROTECTED]> wrote:
>
> > It looks like I partly answered my own question. I just do something
> > like the below to get the field names of the empty model B and I will
> > iterate through the fields
()._meta.fields
for field_name in property_field:
print field_name.name
On Nov 25, 11:12 am, issya <[EMAIL PROTECTED]> wrote:
> Model A has 50 fields. Model B has 20 of model A's 50 fields. I am
> trying to make a nightly cron job that will make a queryset of model A
> based
Model A has 50 fields. Model B has 20 of model A's 50 fields. I am
trying to make a nightly cron job that will make a queryset of model A
based on a filter and copy that information into model B. I also don't
want it to copy the information if it already exists in model B. Does
anyone know a good
Hello, I have a few different projects in which I need to combine the
data from 2 querysets from 2 different models. In one project I am
just trying to combine this information to export into a CSV file and
in another project I want to make a graph with the information. Is
there any easy way to do
14 matches
Mail list logo