hey Lokesh,
good point, i didnot think about this.. thanks..
On 25 Feb., 19:30, lokesh wrote:
> hi,
>
> You should use .ajax() to submit your form.That way your page does
> not load and you need not worry about where the page is pointing.
>
> Lokesh
>
> On Feb 25, 3:03
That was it. Thanks a bunch.
On 2/26/12, donarb wrote:
> Try this first. Check your urlconf and make sure that all routes lead
> to actual methods. Like if you have a url that points to something
> like myapp.views.index, make sure that there is actually an index
> method in
On 26/02/2012 1:16pm, shartha wrote:
Yes I do. I was also instructed to add it to the root folder of my
project, but I am not sure what that means exactly. =(
I think your first thought might be correct. The path is important.
Here are two suggestions both of which have solved such problems
Disregard this post. The issue was garbage urls I forgot to delete
from the url.py file.
On Sun, Feb 26, 2012 at 12:30 AM, scott macri wrote:
> I'm having an issue getting my admin module to work. I am getting the
> following error. Any thoughts? Thanks.
>
>
Check your code to find out what "get_notes_health" is and you'll be 99% of
the way to your answer. It's something to do with that, and that's
something in your code, not Django itself.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
I'm having an issue getting my admin module to work. I am getting the
following error. Any thoughts? Thanks.
TemplateSyntaxError at /hcp/admin/
Caught ViewDoesNotExist while rendering: Tried get_notes_health in
module hcp.views. Error was: 'module' object has no attribute
'get_notes_health'
It's like Django is nonexistent in Singapore!
--
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
On Sat, Feb 25, 2012 at 7:50 PM, DF wrote:
> Finally,
> I want to provide users the ability to search for nearby posts or
> within a certain boundary (from the documentation I've read, this is
> what GeoDjango apparently excels at).
that's the point. it seems easy, until
Yes I do. I was also instructed to add it to the root folder of my
project, but I am not sure what that means exactly. =(
On Feb 25, 7:20 pm, Mike Dewhirst wrote:
> On 26/02/2012 10:10am,sharthawrote:
>
> > ImportError at /
> >> No module named moh
>
> Do you have a file
I am new to Django and I've been impressed so far by its capabilities.
I am playing with more complex models and I am have problem to use
them properly. Using Django 1.3, I am trying to write a summary page
which would present the three models below with the following
structure. In other words, a
On 26/02/2012 10:10am, shartha wrote:
ImportError at /
No module named moh
Do you have a file called __init__.py in the directory?
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to
Thanks for all the feedback. It is tremendously insightful.
Here are my qualms:
I'm a Django rookie, with basic Python knowledge. I'm using Django to
work on my master's project, which is a specific web application that
utilizes some form of geolocation, the latter of which is a mystery.
I
Try this first. Check your urlconf and make sure that all routes lead
to actual methods. Like if you have a url that points to something
like myapp.views.index, make sure that there is actually an index
method in views.py.
This error bites everyone eventually, since people get ahead of
themselves
Is there anyone who could give me a hint on this? =(
On Feb 24, 11:28 pm, shartha wrote:
> Hi,
>
> Is there any reason whenever I add an app to my application using
> "python manage.py startapp", add the app name to my INSTALLED_APP,
> sync my database, and restart my
Whoops, quick correction:
On Sat, Feb 25, 2012 at 5:03 PM, Ethan Jucovy wrote:
> * You'll want to add a line ``objects = GeoManager`` on each model that
> you will want to perform geospatial queries against.
>
That should be ``objects = GeoManager()`` (imported from
Others have answered your other questions well, so just addressing this one:
On Thu, Feb 23, 2012 at 8:13 PM, DF wrote:
> Essentially, I'm looking to see what benefits GeoDjango would give
> this project over using just the Google Maps API. If I've already
> started a
hi,
You should use .ajax() to submit your form.That way your page does
not load and you need not worry about where the page is pointing.
Lokesh
On Feb 25, 3:03 am, doniyor wrote:
> hi there,
> i have a small problem...
>
> i am rendering a success message
I have something like this
class Project(models.Model):
name = models.CharField()
class ProjectFileType(models.Model):
name = models.FileField()
required = models.BooleanField()
class ProjectFile(models.Model):
my_file = models.FileField()
project =
Thanks for the advice. I want to make sure it's secure.
What's the best way to override the save I posted in the code above
without causing issues?
On Feb 25, 2:10 am, Bernhard Schandl
wrote:
> Hi,
>
> > I tried that before your answer arrived and it worked like a
Hi,
> I tried that before your answer arrived and it worked like a charm. I
> just excluded the author field from the form and kept everything else
> the same. It works perfectly, as the user was already passed to the
> author field in the view. A logged in user can now automatically post
> a
On Fri, Feb 24, 2012 at 2:14 PM, coded kid wrote:
> Sorry, How will I set that? is it from the template?
no, its a widget ...
you have to set the widget on your form class
Class MyForm(model / form)
hide_field = forms.CharField(widget=forms.HiddenInput)
--
You
DId you try to ordered your queryset ?
... to discover the order the user made the choices, if I understand
what you want, you have to use some way (ajax), to persist the order
somewhere.. and then populate your choices filed following the order
persisted.
Did that helps?
On Fri, Feb 24,
My english is not that great, but I'll try anyway.
> I'm currently building my first Django-based app, which is proceeding
> fairly well, thus far. One of the goals is to allow users to post
> information (text, pics, video) and for the app to be able to
> automatically detect the location where
hi there,
i have a small problem...
i am rendering a success message "Registration Done!" to the site, i
am able to do it, but after submisson, the browser goes to the
startposition, not to the place where i filled out the registration
form.. how can i go to this part of the page directly after
24 matches
Mail list logo