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

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

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

Re: quick question: RE model relations

2013-09-02 Thread Bobby Roberts
; > [0] https://docs.djangoproject.com/en/dev/ref/models/fields/#foreignkey > > > On Mon, Sep 2, 2013 at 1:24 PM, Bobby Roberts <tche...@gmail.com > > wrote: > >> I'm creating an event module and want people to be able to associate a >> picture gallery with the event: >

Re: quick question: RE model relations

2013-09-02 Thread Bobby Roberts
thanks for the info... yes the name is funny for the model isn't it? I try to write confusing code. Always test in production On Monday, September 2, 2013 12:24:41 PM UTC-4, Bobby Roberts wrote: > > I'm creating an event module and want people to be able to associate a > pictur

quick question: RE model relations

2013-09-02 Thread Bobby Roberts
I'm creating an event module and want people to be able to associate a picture gallery with the event: from django.utils.translation import get_language, ugettext, ugettext_lazy as _ from django.contrib import admin from django.db import models from django.contrib.auth.models import User from

help with query set

2013-07-14 Thread Bobby Roberts
hi. I need help with this simple setup. i need to get a list of announcements where active =1 and the discontinueDate is either null OR less than NOW. There are two issues: 1) the filter doesn't work 2) numannouncements always equals 1 even when nothing is returned any ideas? *

print shop framework

2013-01-15 Thread Bobby Roberts
hi all... a possible client of mine is looking for an online custom print shop like 4over4.com. Are there any open source frameworks like this out there? I'd prefer a django app but will consider other languages. -- You received this message because you are subscribed to the Google Groups

send_mail reply to (how to?)

2013-01-13 Thread Bobby Roberts
i'm trying to set the reply-to as shown here but it's erroring out: textmessage = render_to_string('communications/email/text/contact.html', mydict) from_email=request.POST.get('Email','')

Re: Satchmo, the bloated manatee

2011-07-29 Thread Bobby Roberts
Django is the best thing since the Civil Rights Movement. Satchmo is ok for the most part except for certain things which do not work unless you correct the errors in the programming. I'm sorry for ranting on the board. I will never rant again.

Re: Satchmo, the bloated manatee

2011-07-29 Thread Bobby Roberts
Django is the next best thing to Emancipation. I like Satchmo for the most part. I'll keep my rants off list. . I promise. You can follow me on twitter @bloatedmanatee from now on. Thanks for setting me straight everyone! On Jul 29, 1:14 pm, Jacob Kaplan-Moss

Re: Satchmo, the bloated manatee

2011-07-29 Thread Bobby Roberts
opinions on software should never be taken personally and should never be silenced. I take heat over programming on a daily basis just as I have for the past 30 years. It's part of the business. Good programmers take it, grow from it and come back with a better product. There was no slight

Satchmo, the bloated manatee

2011-07-28 Thread Bobby Roberts
satchmo has become a bloated manatee of a codebase. Does anyone know why it run so slowly now? Or, do you have to feed it treats or something secretive to get it running properly? I've got two satchmo sites on a 256mb slice at slicehost and they are pretty much unusable at the moment. -- You

csrf token not working

2011-07-02 Thread Bobby Roberts
I'm looking at the docs at https://docs.djangoproject.com/en/dev/ref/contrib/csrf/ for CSRF implementation. I've got steps 1 and 2 done but the csrf token is not even showing in the form even though i have {%csrf_token %} within the form html any ideas what would cause it not to create a

satchmo images

2011-06-16 Thread Bobby Roberts
anyone know where to adjust the upload size of the product images in satchmo? -- 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

filter chaining question

2011-06-15 Thread Bobby Roberts
consider this: findit = inventory.objects.filter(Barcode = self.Barcode, Condition__name = "good") How could i make this filter say "good" or "acceptable" or IN ('good','acceptable') -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: send_mail issue

2011-06-08 Thread Bobby Roberts
d.ms-excel') before your > message.send > > On Wed, Jun 8, 2011 at 7:59 PM, Bobby Roberts <tchend...@gmail.com> wrote: > > hey david... that got past he original error but now i'm getting this: > > > _create_attachment() takes at most 4 arguments (37 given) > > >

Re: send_mail issue

2011-06-08 Thread Bobby Roberts
> from django.core.mail import EmailMessage > > On Wed, Jun 8, 2011 at 7:35 PM, Bobby Roberts <tchend...@gmail.com> wrote: > > hi all... i'm trying to send an email attachment and am getting the > > following traceback: > > > global name 'EmailMes

Re: send_mail issue

2011-06-08 Thread Bobby Roberts
that should be message = EmailMessage(subject, emailmsg,'fromem...@domainname.com',to_email,attachments=(filename,filecontent,'application/ vnd.ms-excel')) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

send_mail issue

2011-06-08 Thread Bobby Roberts
hi all... i'm trying to send an email attachment and am getting the following traceback: global name 'EmailMessage' is not defined Here's the code: [...] from django.core.mail import send_mail list2send = mymodel.objects.filter(idNumber = 3) filecontent =

Re: VERY cheap django hosting?

2011-06-08 Thread Bobby Roberts
i've been using webfaction.com for a while for $9/mo with one click django installs. You can also checkout www.slicehost.com if you want your own vps and more control. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Excel dumps to Office 10

2011-06-06 Thread Bobby Roberts
hey - we are dumping results to excel as such: response = render_to_response('templatename_excel.html', {'trs':trs,}) filename='myfilename.xls' response['Content-Disposition'] = 'attachment; filename=' + filename response['Content-Type'] =

accessing views outside a module

2011-06-04 Thread Bobby Roberts
let's say i've got two apps in my project... app a and app b how do i access views in app a from app b views? -- 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

debug=false issue

2011-06-02 Thread Bobby Roberts
hey - i've got a weird issue with a django app. The app runs great on both the front end and in the /admin section when DEBUG=True in my settings.py file. However, whenever I set DEBUG=False in the settings file so that i get tracebacks by email, the entire /admin section 404s. Any idea what

DEBUG=False issue

2011-06-02 Thread Bobby Roberts
hey - i've got a weird issue with a django app. The app runs great on both the front end and in the /admin section when DEBUG=True in my settings.py file. However, whenever I set DEBUG=False in the settings file so that i get tracebacks by email, the entire /admin section 404s. Any idea what

"invalid label' as it pertains to application name

2011-05-31 Thread Bobby Roberts
I am getting a pretty non-descript error reading "Caught RuntimeError while rendering: invalid label: cigar-wizard" when i go to a certain url on my website. This isn't a form label... it's referring to an application name. Any ideas what that means? -- You received this message because you

invalid label

2011-05-27 Thread Bobby Roberts
ok got a strange situation here. I'm using Satchmo for a shopping cart and have an independent module i wrote which is called from the main nav. This module works fine on every page of the site except for the product detail page in Satchmo. When i view the page in satchmo i get this error:

Re: Caught RuntimeError while rendering: invalid label:

2011-05-26 Thread Bobby Roberts
anyone have any idea what invalid label means? On May 26, 12:24 pm, Bobby Roberts <tchend...@gmail.com> wrote: > i'm getting this error: > > Caught RuntimeError while rendering: invalid label:  "whatever" > > where whatever is the name of an app in INSTALLED_AP

Caught RuntimeError while rendering: invalid label:

2011-05-26 Thread Bobby Roberts
i'm getting this error: Caught RuntimeError while rendering: invalid label: "whatever" where whatever is the name of an app in INSTALLED_APPS. what does "invalid label" mean? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

weird error with MS Excel 2010 exports

2011-05-19 Thread Bobby Roberts
hi. Regardless of how we try to export from a view into an excel file, we get a weird msgbox reading: "The file you are trying to open, 'filenamehere.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before

Re: readonly field ordering issue

2011-04-20 Thread Bobby Roberts
thanks! That is exactly what i used. would be great if the docs actually said that would solve the issue. On Apr 20, 10:52 am, Shawn Milochik wrote: > I think you can just specify a 'fields' attribute in your admin model > to fix this. It should retain the order in which

readonly field ordering issue

2011-04-20 Thread Bobby Roberts
hi all... i have certain fields in my model such as this: field1 field2 field3 field4 field5 field6 field7 field8 field9 field10 I have the even fields set to readonly fields. The issue i'm having is that when I go into edit this record in admin, i see the odd numbered fields at the top (which

Re: weird "must be an intance" error

2011-04-18 Thread Bobby Roberts
haha Thanks for that... i never would have figured it out On Apr 18, 4:59 pm, akaariai <akaar...@gmail.com> wrote: > On Apr 18, 11:38 pm, Bobby Roberts <tchend...@gmail.com> wrote: > > > oops... forgot to clarify that Item.tid is a FK to printLocation > >

Re: weird "must be an intance" error

2011-04-18 Thread Bobby Roberts
oops... forgot to clarify that Item.tid is a FK to printLocation -- 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

weird "must be an intance" error

2011-04-18 Thread Bobby Roberts
considering this snippet: valPrintlocation=int(request.POST.get('printlocation')) if valPrintlocation==-1: needsprinting=0 else: needsprinting=1 Item =

code 128 or code 39 barcode generation

2011-04-18 Thread Bobby Roberts
anyone know if there is a django module to generate code 128 or 39 barcodes for printing out on a webpage? -- 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

Re: sorting in /admin

2011-03-22 Thread Bobby Roberts
separate colums for name > 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 >

Re: sorting in /admin

2011-03-22 Thread Bobby Roberts
Admin): >    model = YourModel >    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 <tchend...@gmail.com> wrote: > > > I am listing

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', )

/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

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

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

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,

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

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 =

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,

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 <tchend...@gmail.com> 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

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

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 <dan...@roseman.org.uk> wrote: > On Tuesday, February 22, 2011 6:22:16 PM UTC, Bobby Roberts wrote: >

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 <dan...@roseman.org.uk> wrote: > On Tuesday, February 22, 2011 6:22:16 PM UTC, Bobby Roberts wrote: > > > Hi group.  I've posted this in the satchmo gr

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

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

Re: form select box how to (help needed)

2011-02-16 Thread Bobby Roberts
i have no idea what this means is there an example anywhere? On Feb 16, 12:43 am, Kenneth Gonsalves <law...@thenilgiris.com> wrote: > On Tue, 2011-02-15 at 19:05 -0800, Bobby Roberts wrote: > > I can't load it through the "CHOICES" parameter in my forms

form select box how to (help needed)

2011-02-15 Thread Bobby Roberts
I've got several select boxes in a user profile that the we can manipulate in /admin. One of these select boxes is called "locations" and has locations to which you can assign a user. for explanation, let's say that that the select box is populated like such: 1,location1 2,location2

Re: trouble storing a manytomany field in a session variable

2011-02-14 Thread Bobby Roberts
yeah i've got it where session ends on browser close so they will refresh when they come back and log back in. I'm just trying to find an efficient way to store the values so that I don't have to query on every page. On Feb 14, 9:19 pm, Shawn Milochik wrote: > Pickling will

Re: trouble storing a manytomany field in a session variable

2011-02-14 Thread Bobby Roberts
someone can choose 1 or many locations in their profile and i'm trying to think of an interesting way to put those values from the MTM table into a session var. On Feb 14, 9:03 pm, Bobby Roberts <tchend...@gmail.com> wrote: > just wanted to clarify... i've got the manytomany setup

Re: trouble storing a manytomany field in a session variable

2011-02-14 Thread Bobby Roberts
all of those values and making a CSV string to save in the session variable? On Feb 14, 8:37 pm, Bobby Roberts <tchend...@gmail.com> wrote: > I'm trying to figure out how to store a manytomany relationship in a > session variable.  is the only way really to do it to loop through and

trouble storing a manytomany field in a session variable

2011-02-14 Thread Bobby Roberts
I'm trying to figure out how to store a manytomany relationship in a session variable. is the only way really to do it to loop through and make a csv string and save that? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Caught KeyError while rendering: u'objects_name'

2011-02-13 Thread Bobby Roberts
hould be lowercase > > (http://www.python.org/dev/peps/pep-0008/) > > On 13.02.2011, at 23:52, Bobby Roberts wrote: > > > when i try to delete one of the TractorRecord objects in this model, i > > get this message: > > > Caught KeyError while rendering: u'objects_na

Re: Caught KeyError while rendering: u'objects_name'

2011-02-13 Thread Bobby Roberts
i'm also using the grappelli skin for admin On Feb 13, 5:52 pm, Bobby Roberts <tchend...@gmail.com> wrote: > when i try to delete one of the TractorRecord objects in this model, i > get this message: > > Caught KeyError while rendering: u'objects_name' > > any idea wha

Caught KeyError while rendering: u'objects_name'

2011-02-13 Thread Bobby Roberts
when i try to delete one of the TractorRecord objects in this model, i get this message: Caught KeyError while rendering: u'objects_name' any idea what that means? Django 1.2.3 (mod_wsgi 3.2/Python 2.6) # this holds possible dispositions for Tractoruees class Disposition (models.Model):

foreign key help

2011-02-13 Thread Bobby Roberts
class Disposition (models.Model): id = models.AutoField (primary_key=True) name = models.CharField (max_length=50, blank=False, db_index=True) active = models.IntegerField(blank=False, choices=active_choices) order = models.IntegerField(blank=True, default=0) class

manytomany help

2011-02-07 Thread Bobby Roberts
I've got two models: class a (models.Model): id = models.AutoField (primary_key=True) name = models.CharField (max_length=50, blank=False, db_index=True) class aAdmin(admin.ModelAdmin): list_display = ('name',) search_fields = ['name'] admin.site.register(a,aAdmin)

Re: model names

2011-02-06 Thread Bobby Roberts
ah... i only had that on he admin model On Feb 6, 12:07 pm, Ivo Brodien <i...@brodien.de> wrote: > On 06.02.2011, at 18:01, Bobby Roberts wrote: > > > yeah i tried that already and it didn't work > > did you also define the meta class for the Admin class? -- You recei

Re: model names

2011-02-06 Thread Bobby Roberts
yeah i tried that already and it didn't work On Feb 6, 11:38 am, Joel Goldstick <joel.goldst...@gmail.com> wrote: > On Sun, Feb 6, 2011 at 11:33 AM, Bobby Roberts <tchend...@gmail.com> wrote: > > if i have a model name "Facility", django adds an "s&

model names

2011-02-06 Thread Bobby Roberts
if i have a model name "Facility", django adds an "s" to it in /admin and it shows up as Facilitys. How can I make it show up as "Facilities" in /admin? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: user full name in template

2011-02-03 Thread Bobby Roberts
here's what i'm trying from django.contrib.auth import authenticate, login, logout #import django user modules from django.contrib.auth.models import User def ShowMainMenu (request): fullname=User.first_name + ' ' + User.last_name return render_to_response('scanning/menu.html',

user full name in template

2011-02-03 Thread Bobby Roberts
is there a template tag to show the user's full name on a template? -- 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

Re: foreign key issue

2011-02-03 Thread Bobby Roberts
yeah i changed the related name to see if that would make any difference... the error baffles me. On Feb 3, 9:18 am, Tom Evans <tevans...@googlemail.com> wrote: > On Thu, Feb 3, 2011 at 2:05 PM, Bobby Roberts <tchend...@gmail.com> wrote: > > here ya go: > >

Re: foreign key issue

2011-02-03 Thread Bobby Roberts
','InventoryFunction','LastTouchedBy','LastUpdated'] admin.site.register(Inventory,InventoryAdmin) On Feb 3, 8:59 am, Tom Evans <tevans...@googlemail.com> wrote: > On Thu, Feb 3, 2011 at 1:32 PM, Bobby Roberts <tchend...@gmail.com> wrote: > > I'm setting up a foreignkey field i

foreign key issue

2011-02-03 Thread Bobby Roberts
I'm setting up a foreignkey field in my model as follows: InventoryFunction = models.ForeignKey('AppSettings.InventoryOption', verbose_name=_('InvFunction'), related_name='InvFunction',blank=False, null=False) result from syncdb: scanning.inventory: Accessor for field

Re: help with foreign keys in admin

2011-02-03 Thread Bobby Roberts
nevermind... it was a case issue... you know if python knows there's an error with case it would just say "hey check the case here" On Feb 3, 12:31 am, Karl Bowden <karlbow...@gmail.com> wrote: > On 3 February 2011 16:14, Bobby Roberts <tchend...@gmail.com> wro

Re: help with foreign keys in admin

2011-02-03 Thread Bobby Roberts
list a in my code. On Feb 3, 12:31 am, Karl Bowden <karlbow...@gmail.com> wrote: > On 3 February 2011 16:14, Bobby Roberts <tchend...@gmail.com> wrote: > > > > > considering this model: > > > class Inventory (models.Model): > >        id = models.Au

help with foreign keys in admin

2011-02-02 Thread Bobby Roberts
considering this model: class Inventory (models.Model): id = models.AutoField (primary_key=True) Barcode = models.BigIntegerField(blank=False) Location = models.CharField (max_length=25,blank=False, db_index=True) Sku = models.CharField (max_length=25,blank=False,

Re: listpage question

2011-01-18 Thread Bobby Roberts
does modelb.modelavalue need a FK relationship with modela.id or does django do this automatically? On Jan 17, 11:15 pm, Vovk Donets <donets.vladi...@gmail.com> wrote: > 2011/1/18 Bobby Roberts <tchend...@gmail.com> > > > > > let's say  i have two simp

listpage question

2011-01-17 Thread Bobby Roberts
let's say i have two simple models model a id=IntegerField... description = CharField... model b id=IntegerField... modelavalue=IntegerField... (a value form modela.id) description=CharField... ok in the /admin listing page for model B, how can i return modela.description for

Re: help with django comments

2010-11-07 Thread Bobby Roberts
wrote: > Assuming your app is named 'gallery' with a model named 'photo', I > believe the call should be: > > {% get_comment_count for gallery.photo as comment_count %} > > On Nov 6, 5:12 pm, Bobby Roberts <tchend...@gmail.com> wrote: > > > howdy - > > >

help with django comments

2010-11-06 Thread Bobby Roberts
howdy - i'm trying to use comments on my site as follows: {% get_comment_count for galleryphoto as comment_count %} this generates the following error: Caught AttributeError while rendering: 'str' object has no attribute '_meta' any idea what this error means? I looked in /admin and under

/admin list help ASAP

2010-10-20 Thread Bobby Roberts
hi all. I have two models setup let's call them Gallery Photos photos has a field as such: GalleryId = models.ForeignKey('Gallery', verbose_name=_('Gallery Id'), related_name='Gallery_Id',blank=False, null=False, help_text=_("Please choose the gallery to which you wish to associate this

facebook comments tutorial?

2010-10-03 Thread Bobby Roberts
has anyone gotten the facebook comments plugin to actually post comments back to facebook? can you provide instructions on how to do this? I've got the plugin working fine on the page but comments never post back to facebook -- You received this message because you are subscribed to the Google

Re: Facebook Comments

2010-10-03 Thread Bobby Roberts
FacebookCommentsplugin is only supposed to provide a > comment feature on individual pages so that you don't have to write > your own, it's not an external comment box for your FB page. > > - Sævar > > On Sep 10, 5:41 pm, Bobby Roberts <tchend...@gmail.com> wrote: > > &

sql query: how to

2010-09-26 Thread Bobby Roberts
what is the most efficient way to do the following sql command in django? select distinct fieldname from table order by fieldname -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: need help with admin list images

2010-09-18 Thread Bobby Roberts
woohoo... thanks karen! On Sep 18, 6:20 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Sat, Sep 18, 2010 at 6:16 PM, Bobby Roberts <tchend...@gmail.com> wrote: > > only thing that does is return this: > > > > width="65"/> > > > I need th

Re: need help with admin list images

2010-09-18 Thread Bobby Roberts
list_display = ('xx','AdminTag',) > >        search_fields = ['AdminTag','Title','Description'] > > >        def xx(self, instance): > >                return '' % > > (instance.Thumbnail) > >                xx.allow_tags=True > > Since the admin function is for each row

need help with admin list images

2010-09-18 Thread Bobby Roberts
in my model i have an image field as such: Thumbnail= models.ImageField(upload_to="images/partners/ thumbs/", blank=False) I want the thumbnail to show in my admin list. My admin class looks like this below: class PartnerAdmin(admin.ModelAdmin): list_display =

HTML_REMOVED

2010-09-14 Thread Bobby Roberts
i'm using django comments and when someone uses special characters in their comment (', & etc...), when it is rendered to the screen it says HTML_REMOVED... what is the fastest and best way to show the correct character instead of HTML_REMOVED. for example... in the template we have

flatpages and views on home page

2010-09-11 Thread Bobby Roberts
hi group. Got an issue I need some help with asap. I have flatpages installed and a url at / for my home page. I've also got a form on my home page powered by a view. my urls portion for this view is: rr'^$','DoNewsLetter'), my issue is this... the view executes perfectly, but the flatpage

facebook comments

2010-09-10 Thread Bobby Roberts
Hi group. I know this isn't purely a django question, but it is on a django website and therefore relevant. I am using the facebook comment social plug-in. It is working fine on the site but is not posting comments over to facebook. Has anyone ever run into this before? Any ideas? -- You

Facebook Comments

2010-09-10 Thread Bobby Roberts
hi i know that this isn't a django related question, but i'm using Facebook's comment plugin and am having a strange issue. I've got it installed and you can post comments fine but they never get uploaded to facebook. Is there something you have to do to get them to post over to facebook (other

ip to distance mapping

2010-08-26 Thread Bobby Roberts
I'm needing an easy way to convert a client IP to a geo location and then get the distance from that lat/long to a fixed lat/long coordinate. Is there anything out there that can do this with django. I've been looking at geodjango but that looks pretty dang complicated and i'm not even sure it

project management app suggestion

2010-08-17 Thread Bobby Roberts
hi all... there have been posts in the past about project management apps but all of the threads seem dated by quite a bit. I am wondering if there is any project management (ie like basecamp) app out there that can be easily installed in the django /admin. Please let me know if you know of

project management app

2010-08-16 Thread Bobby Roberts
hi all. I've found http://code.google.com/p/django-project-management/ out there as a project management app but have yet to install it and see what all it can do. Has anyone installed this and do you have an opinion on it? Is there anything else out there for project management? -- You

filebrowser w/ grappelli

2010-07-30 Thread Bobby Roberts
hi group. I've got filebrowser working great with grappelli. It uploads images and does the sizes automatically. I have a question though. How do you choose the size you want to to use from the filebrowser popup window when you want to insert an image? I don't see any way to do it. Does

Re: filebrowser not uploading

2010-07-22 Thread Bobby Roberts
anyone got any ideas? I can't find a cause/solution anywhere -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

filebrowser not uploading

2010-07-21 Thread Bobby Roberts
Django 1.2.1 (mod_wsgi 3.2/Python 2.5) django-tinymce 1.5 filebrowser (trunk) i am getting no errors but filebrowser will not upload images. I can create directories through filebrowser fine. Can you think of any reason images would not be loading? -- You received this message because you

django-tinymce no links allowed

2010-07-21 Thread Bobby Roberts
hi all. I'm using: Django 1.2.1 (mod_wsgi 3.2/Python 2.5) django-tinymce 1.5 i'm having an issue where the ahref link button is not working properly. Although I am getting the popup windows, i complete the data and hit the button but no link information is inserted. The only way to get a href

Re: tinymce hyperlinks

2010-05-31 Thread Bobby Roberts
> On Sun, May 30, 2010 at 9:45 PM, Bobby Roberts <tchend...@gmail.com> wrote: > > i'm using django 1.1 with tinymce and the grappelli skins.  we just > > realized that the tinymce editor does not let you put hyperlinks in. > > if you go into HTML and hand code them the

tinymce hyperlinks

2010-05-30 Thread Bobby Roberts
i'm using django 1.1 with tinymce and the grappelli skins. we just realized that the tinymce editor does not let you put hyperlinks in. if you go into HTML and hand code them they are fine. if you try to click the link button and use the wizard, no link is inserted and the insert button doesn't

filebrowser issue

2010-05-03 Thread Bobby Roberts
hey I have a strange issue. I was having trouble getting django- tinymce and filebrowser working. I've worked through all of the errors etc. In filebrowser, I can create a new directory, but when i try to upload a file or image, nothing happens... it acts like it's uploading but it's not on the

  1   2   3   4   >