Below is what I have currently... it currently displays the numbers in
the range its supposed to, but tying the products and displaying those
where they should be in the number list has become the problem...
One product can have multiple numbers associated, and I didn't want to
fully populate ever
On Mon, Jun 8, 2009 at 3:46 AM, Chris Stoyles wrote:
> The problem is that there is no "number_list" key in your context, there is
> only a "range" and "range_list" key (take a look at where you call
> "render_to_response"). I think what you want to do is actually pass your
> "net" variable into t
'num': a })
break
myrange.append({'num': a })
continue
-Mitch
On Mon, Jun 8, 2009 at 9:35 AM, Mitch Anderson wrote:
> On Mon, Jun 8, 2009 at 3:46 AM, Chris Stoyles wrote:
>> The problem is that there is no "number_list" key in your con
Hi,
I'm new to django and python in general so, I'm not sure if the way
I'm doing this is the most correct way. But I'm writing a manager
application for FTP... I keep the user accounts in a database and I'm
writing the django app to manage it.
Anyway, I have three models more or less like thi
response('systems/assign_ip.html', { 'address':
address, 'forms': form, })
Any pointers as to what I should be looking for would be greatly appreciated...
-Mitch Anderson
--~--~-~--~~~---~--~~
You received this message because you are subsc
Depending on your ADMIN_MEDIA_PREFIX in settings.py (default is /media/)
your webserver should be configured to point to the django admin media
location...
I have this line in my apache config
Alias /media/ /usr/share/pyshared/django/contrib/admin/media/
-Mitch
On Tue, May 18, 2010 at 9:47 AM,
I'm having a problem with a command script that I want to create a
object that has a FileField as part of the model.
My Model Looks like this:
class Files(models.Model):
STATUS = (
('unknown', 'Unknown'),
('down', 'Downloading'),
('done', 'Done'
On Tue, Nov 16, 2010 at 3:28 AM, Tom Evans wrote:
> Django doesn't want a python file or text for a django file field, it
> wants a django.core.files.File. I find the easiest one to use is the
> InMemoryUploadedFile. Here is a snippet I use for fetching an image
> from the web, and creating a dja
8 matches
Mail list logo