Mulling over the docs I can't find an answer to this, say I want to do
something like so:
{% get_shipping 'ontario' product.id %}
Parsing ontario is simple enough, but how do I parse product.id to
actually come in as a number? No matter what I've tried it just comes
in as 'product.id' and I can'
Thanks guys, both viable solutions but took up Daniel's :)
Thanks again!
On Jul 21, 3:46 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Jul 21, 8:28 pm, truebosko <[EMAIL PROTECTED]> wrote:
>
>
> > {% if is_new_row forloop.counter %}
> > ...
> >
I'm not sure on that specific one, but you can over-ride admin
templates piece by piece
See:
http://www.djangoproject.com/documentation/tutorial02/#customize-the-admin-look-and-feel
Basically lets you over-ride templates. Maybe that message is simply
part of a template, not sure .. but hopeful
Hi there,
So I spent the last few hours trying to get a ProgressBar Upload
handler working
What it does: User uploads a file, when they hit the submit button,
javascript is called and begins polling the server (a django view) for
progress. Progress is stored in a cache_key, very simple idea.
Th
Hi there,
I wrote a previous post but I have discovered a bit more since. Here's
my situation:
What I'm trying to do: Write a custom upload handler that allows me to
intercept it with Javascript calls and return a simple progress upload
bar to the user.
What is happening: The custom upload hand
As I said in my post, I put it up on a non-dev server (lighttpd/fcgi
setup with mediatemple) because I know dev server can't handle it.
On Oct 20, 11:56 am, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
> truebosko wrote:
> > What I found though, is that the view that is
callback fn:
>
> var jsonObject = eval('(' + jsonString + ')');
> var html = jsonObject.html; //now you can inject this into a
> container
> var listLength = jsonObject.tweet_count; //you can use the extra meta-
> data too
>
> Hope that helps,
> Udi
>
Hi there,
I've been working on a rather large Django project and I've hit one
roadblock. I've been using django-registration to handle my
registration of users, but I also wanted to have more profile fields,
so I extended the user model.
Here is a paste of my forms.py for my BigfootProfile (This
I want to log a user in after they have registered on my site.
Right now, I am using django-registration to handle user registration
but it is modified to not have activation. I know it doesn't really
matter what I am using as all the login is handled by
django.contrib.auth
I've looked in the fi
n Mar 26, 10:52 pm, truebosko <[EMAIL PROTECTED]> wrote:
>
> > I want to log a user in after they have registered on my site.
>
> > Right now, I am using django-registration to handle user registration
> > but it is modified to not have activation. I know it doesn'
I am in an odd situation where I need to use a django auth database
for a phpbb forum for a friend of mine.
He wants the phpbb forums but he is not happy with users having to
register for both the phpbb and django side (Which is the main site)
My options are:
- Whenever a person makes an account
Hi there,
Recently been toying with the idea of using Amazon S3 to host a bunch
of media for a community site I run
For small files, Amazon S3 is slick and awesome. But I also want to
have the ability to upload larger files. With the standard Amazon S3
library this is just not feasible (It dies
I have a card store and I would like to add 3 options a user can
search by. Year, Brand, and Card Title
Normally this would be easy but my dilemna here is:
- All of these are optional, and if they do not search for a certain
one, the query should ignore that filter entirely and display in full
(S
This may be kind of hard to explain but what I am trying to accomplish
in Django is this:
I have 2 possible sets of data (It can also be one, depending on
what's easiest)
#1 is Reviews where FOO = X
#2 is Reviews where FOO = Y
Each Review contains several category type fileds. Summary, Value,
F
14 matches
Mail list logo