query set on a manytomany table

2011-02-17 Thread Bobby Roberts
I have a Manytomanyfield in a model called "registrants" on a fieldname called locations. It stores the person's facility values in a table in the database in something called like registrants_locations_values (just as an example). How can i do a query on the registrants_locations_values table

Satchmo Error - Invalid block tag: 'thumbnail', expected 'else' or 'endif'

2011-02-22 Thread Bobby Roberts
Hi group. I've posted this in the satchmo group but am posting here as well in hopes of getting some help. This error is caused by this code: {% if product.main_image %} {% thumbnail product.main_image.picture 85x85 as image %} {% endif

Satchmo Error - Invalid block tag: 'thumbnail', expected 'else' or 'endif'

2011-02-22 Thread Bobby Roberts
Hi group. I've posted this in the satchmo group but am posting here as well in hopes of getting some help. This error is caused by this code: {% if product.main_image %} {% thumbnail product.main_image.picture 85x85 as image %} {% endif

Re: Satchmo Error - Invalid block tag: 'thumbnail', expected 'else' or 'endif'

2011-02-22 Thread Bobby Roberts
hey daniel - we've got {%load thumbnail%} at the top of the standard satchmo template. On Feb 22, 4:25 pm, Daniel Roseman wrote: > On Tuesday, February 22, 2011 6:22:16 PM UTC, Bobby Roberts wrote: > > > Hi group.  I've posted this in the satchmo group but am posting her

Re: Satchmo Error - Invalid block tag: 'thumbnail', expected 'else' or 'endif'

2011-02-22 Thread Bobby Roberts
Hey Daniel - we've got {% load thumbnail%} at the top of the template (a standard satchmo template anyway)... running version 3.2.5 for sorl. On Feb 22, 4:25 pm, Daniel Roseman wrote: > On Tuesday, February 22, 2011 6:22:16 PM UTC, Bobby Roberts wrote: > > > Hi group.  I&

admin list help

2011-02-23 Thread Bobby Roberts
hi group. I really need to know how to do something in regard to my models shown below. Please consider these three models and then look at the bottom for my question. garments class modela (models.Model): id = models.AutoField (primary_key=True) type = models.CharField (max_leng

Re: Satchmo Error - Invalid block tag: 'thumbnail', expected 'else' or 'endif'

2011-02-25 Thread Bobby Roberts
anyone have any other ideas? On Feb 22, 5:02 pm, Bobby Roberts wrote: > Hey Daniel - > > we've got {% load thumbnail%} at the top of the template (a standard > satchmo template anyway)... running version 3.2.5 for sorl. > > On Feb 22, 4:25 pm, Daniel Roseman wrote: > &

searching a model in admin with data from a related model

2011-02-25 Thread Bobby Roberts
consider this model (only a portion of it): class Tracker (models.Model): id = models.AutoField (primary_key=True) Barcode = models.IntegerField(unique = True, blank=False) OrderId = models.IntegerField(blank=False) CustomerId = models.CharField (max_length=20, blan

foreign key search in admin

2011-03-05 Thread Bobby Roberts
hi all... i'm banging my head against a wall here. consider this model class mymodel(models.Model): id = models.AutoField (primary_key=True) Barcode = models.IntegerField(unique = True, blank=False) CustomerId= models.ForeignKey(Customer, db_index=True, blank=True, null =

Re: Looking for a developer

2011-03-05 Thread Bobby Roberts
i'd like to see a copy of the RFP On Mar 4, 8:05 am, Colleen wrote: > I'm representing an international company that needs a website > developed fast. (15weeks). We have the RFP to send out (today - March > 4th) and are looking for interested developers. > > No parties will be considered after to

weird ifnotequal issue

2011-03-06 Thread Bobby Roberts
fieldname does in fact equal "-" so why is the TR still showing? {% ifnotequal mymodel.fieldname"-"%} Flagged Reason {{mymodel.fieldname}} {%endifnotequal%} -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

date_heiarchy not working

2011-03-07 Thread Bobby Roberts
i've got this in my admin model: date_heiarchy='ShipDate' Shipdate is a DateField. The Date Heiarchy plugin is not showing on my admin list view... has that been depricated in django 1.2+? -- You received this message because you are subscribed to the Google Groups "Django users" group. To po

dumping to excel from /admin

2011-03-15 Thread Bobby Roberts
let's say i'm on page X of a list admin view... is there an easy way to dump just those returns to excel? -- 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 thi

/admin weirdness

2011-03-17 Thread Bobby Roberts
when i login to my /admin area, I can see my models on the main model listing. When I click on a model to add/edit/delete data, I'm getting a 404. No errors are being thrown. Has anyone else run into something like this? -- You received this message because you are subscribed to the Google Gro

sorting in /admin

2011-03-22 Thread Bobby Roberts
I am listing the following fields from the model in /admin as follows: [...snip...] def Client_Lastname(self, obj): return obj.CustomerId.lastName def Client_Firstname(self, obj): return obj.CustomerId.firstName list_display = ('Client_Firstname', 'Client_Lastname', ) [...snip.

Re: sorting in /admin

2011-03-22 Thread Bobby Roberts
t;    list_display = [ 'firstName', 'lastName' ] > > admin.site.register(YourModel, YourModelAdmin) > > and i'm sure then you will be able to sort olums > > On 22 Mar, 19:28, Bobby Roberts wrote: > > > I am listing the following fields from the mo

Re: sorting in /admin

2011-03-22 Thread Bobby Roberts
and surname you can define in Customer __unicode__ like that: > > def __unicode__(self): >    return self.lastName + " " + self.firstName > > and then in list_diplay = ['CustomerId'], > but that solution could give ou another problems > > On 22 Mar, 20:10,

Honest feedback

2014-01-24 Thread Bobby Roberts
Hi group. I've been out if the django world for over four years. I am going to rebrand and replatform away from classic asp. Don't laugh. Yes I know it's sad. Without telling me how good django is, what has changed in the last four year that should make me choose django as my new platform?

throwing a 301

2014-01-24 Thread Bobby Roberts
i've got a site i'm porting from classic asp over to django. Is there a way to nicely throw a 301 for the .asp pages? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an ema

what's the best admin skin (free)

2014-04-16 Thread Bobby Roberts
hey group. I've been out of the loop for a few years now. What is the best skin for admin? Is Grapelli still good? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an em

<    1   2   3   4