Re: Green job, anywhere inside U.S.

2021-04-07 Thread Brandon Del Pozo
Hello marlacparker, You can post you django Jobs here: https://t.me/djangojobs On Wed, Apr 7, 2021 at 8:31 AM marlacparker wrote: > Two actually, one for python/django and the other data engineering but > also python: > > https://www.linkedin.com/jobs/view/2464811223/ > https://www.linkedin.com/

Re: Looking to join a team in a Django Project to gain Experience

2020-12-03 Thread Brandon Del Pozo
I'm interested On Wed, Dec 2, 2020 at 11:31 AM Anselme Gildas Tchassem Boutchouang < tbago...@gmail.com> wrote: > https://github.com/AnselmeG300 > > Le mer. 2 déc. 2020 à 09:09, Anselme Gildas Tchassem Boutchouang < > tbago...@gmail.com> a écrit : > >> hi, >> >> I am interested. >> >> Le mar. 1 d

Creating a log for any changes in any model data i.e creation, updation and deletion??

2019-06-24 Thread Brandon Rosenbloom
I did this using Django signals. Here’s the documentation: https://docs.djangoproject.com/en/2.2/topics/signals/ -- 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 email to

WORKFLOWS

2019-06-24 Thread Brandon Rosenbloom
I know of developers which have used viewflow to accomplish this. Here’s a link: https://github.com/viewflow/viewflow -- 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 email

Anyone is able to delete or update other's post through url

2019-06-24 Thread Brandon Rosenbloom
I’m kind of new to this as well but figured I would take a stab at this. It seems to me that if you wanted to prevent users from deleting posts that weren’t theirs, the appropriate course of action would be to simply remove their ability to access the delete method in the first place. I would re

Creating a log for any changes in any model data i.e creation, updation and deletion??

2019-06-24 Thread Brandon Rosenbloom
Try using Django signals https://docs.djangoproject.com/en/2.2/topics/signals/ -- 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 email to django-users+unsubscr...@googlegro

'$' is not recongnized

2018-08-16 Thread Brandon Hernandez
Im trying to follow the tutorial for django, but i cant figure out how to make my cmd recognize '$' . -- 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 email to django-use

Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-05 Thread Brandon
Thanks guys you guys are super awesome!! Really appreciate you. It looks like it's just DJango. Curious how involved is installing Django CMS? Is it relatively fast, as a plugin install or is there are lot more to it? Also concerned if it would affect the Maria dB or any contnet. On Thursday, Jul

Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-04 Thread Brandon
tent.com/-AMvXegeR8ig/Wz0kukHvp0I/AB8/D0MDwMM_Sd4qzo6DohF7qtpvIm0ZaDQzgCLcBGAs/s1600/first-admin.png> Thanks! Brandon On Wednesday, July 4, 2018 at 1:46:44 PM UTC-4, Carlo Ascani wrote: > Il giorno mer 4 lug 2018 alle ore 19:00 Brandon > > ha scritto: > > > &

Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-04 Thread Brandon
There's a site that a friend needed looking into, He's just the Marketing guy so he wouldn't know for sure. I get the feeling the site was created with Django and NOT Django CMS, is there any way to tell without having access to the back-end? Thank you in advance. -- You received this message b

QuerySet.extra and ticket #28756

2017-10-30 Thread Brandon
, "AMPHS","BARB","BNZ","THC","BE","Ecstasy","METH","6AM","PCP") ASC Both of which, if run at the mysql command line or typed into your favorite mysql client produce the same *correct* output. However, the first method

Django db backend not FIPS compliant

2017-05-30 Thread Brandon Williams
I'm running into issues when trying to migrate my models in an environment that is running FIPS restrictions regarding MD5. Here is the stack trace: Operations to perform: > Apply all migrations: admin, auth, contenttypes, dashboard, > kombu_transport_django, sessions > Running migrations: >

model functions to interact with other models

2017-04-13 Thread Brandon Graves
I've been trying to find some "best practice" information on this and have been coming up dry. I have a "User" Model and an "event" model that tracks things that happens to users: Start date, End date, Status, etc. >From a purely logical Object oriented perspective, it feels right to add funct

Re: Meta class completely missing.

2017-03-29 Thread Brandon Willis
o attribute 'Meta'". This is very very odd. Can anyone explain this behavior or have any other ideas to try? --Brandon On Mon, Mar 20, 2017 at 4:55 AM, chris rose wrote: > hi brandon > > try removing (object) from your meta class declaration > > -- > You received

Meta class completely missing.

2017-03-15 Thread Brandon
others not? Actually defining a Meta class (with or without attributes) in the model seems to make zero difference. Any help understanding this is greatly appreciated. --Brandon -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Re: field = self.model._meta.get_field(self.field_name) returns self?

2017-03-08 Thread Brandon
name) is returning a OneToOneRel object. Should self.model._meta.get_field(self.field_name) ever return *anything* other than some django.db.models.fields.* object? Cheers! --Brandon -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib

field = self.model._meta.get_field(self.field_name) returns self?

2016-11-05 Thread Brandon
e * >* runs for the instantiation and all bets are off. * > >*class A: * >* def __init__(self): * >* . . . * >*my_dict = defaultdict(A) # not thread-safe. * > >* Raymond * Many thanks Frank Again makes me think that something in djan

Custom Database Connector Based on psycopg2 for External Postgres DB

2016-06-09 Thread Brandon
Hi! I am attempting to create my own database connector for Django for an external PostgreSQL DB that I have running. For this application, I issue the SQL queries and get responses over a REST API, so in theory, I'd like to adopt what already exists in the Postgres connector (django.db.backend

Re: Okay so has nothing to do with programming, and everything to do with the future of Humanity

2015-07-21 Thread Brandon Keith Biggs
nced newbie tutorial. Not really basic at all. Thanks, Brandon Keith Biggs <http://www.brandonkeithbiggs.com/> On 7/22/2015 5:04 AM, JJ Zolper wrote: Brandon, I think we may be talking about different aspects of running a website. Using a CMS is another topic in relation to what I was

Re: Okay so has nothing to do with programming, and everything to do with the future of Humanity

2015-07-19 Thread Brandon Keith Biggs
atnot. How can one do that with django? Thank you, Brandon Keith Biggs <http://www.brandonkeithbiggs.com/> On 7/20/2015 1:40 AM, JJ Zolper wrote: I just want to put it out there that even if I have received a lot of negative vibes from the posts I have made, my only intention is that I a

Re: Simple way to find the amount of years between two dates?

2015-07-12 Thread Brandon Keith Biggs
Hello, This works: from django.utils import timezone from datetime import datetime today = timezone.now() date1 = datetime(1991, 12, 23, tzinfo=today.tzinfo) apart = today-date1 years = apart.days/365 print(years) This works great for what I need it for! thanks, Brandon Keith Biggs <h

Simple way to find the amount of years between two dates?

2015-07-12 Thread Brandon Keith Biggs
, -- Brandon Keith Biggs <http://www.brandonkeithbiggs.com/> -- 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 email to django-users+unsubscr...@googlegroups.com.

Re: Problems Adding Django South Tool

2014-01-26 Thread Brandon Foster
(note: I can type *./manage.py* instead of *python* *manage.py* because I changed the mode for the *manage.py* file by doing *chmod +x manage.py* to make it executable. Also, I didn't type the dollar sign $, that only indicates the command prompt) For me, I realized I had typed the following (n

Access A Specific Item In DB in my foreach statement

2013-08-06 Thread Brandon Reynolds
is this, I need to access the value of "propuserdefinedvalues" where propid equals the propid in my foreach statement and the "userdefinedid" equals 49. How would i do this? Is it with a template tag? Thanks in advance for your help. Brandon -- You received this message be

Re: Accessing A Read-Only DB

2013-05-07 Thread Brandon Reynolds
Awesome. Thanks for the great response. Greatly appreciated. On Monday, May 6, 2013 6:11:15 PM UTC-6, Russell Keith-Magee wrote: > > Hi Brandon, > > Essentially, there shouldn't be any difference between a normal and a > readonly Django project. You set up a Django proj

Accessing A Read-Only DB

2013-05-06 Thread Brandon Reynolds
odels that mirror the current database? Or is there mechanism that generates them automagically? I have had trouble finding much info on using read-only db's with django. Thanks for your answers! And thanks for the great software. ~Brandon -- You received this message because you are sub

Changing password on code.djangoproject.com?

2013-01-04 Thread Brandon Carl
I can't for the life of me figure out how to change the password for my Trac account on code.djangoproject.com. Could somebody please point me in the right direction? Thanks! -Brandon -- You received this message because you are subscribed to the Google Groups "Django users"

Question about custom form widgets and validation

2010-12-29 Thread Brandon Taylor
w do I go about adding an error message to the field instead of raising a runtime exception? Once I get this finished, I'd like to add it to Django Snippets to share. Thanks, Brandon -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: An app to create sprite bundles (django-imaginator)

2010-10-07 Thread Brandon Taylor
est regards, Brandon On Oct 3, 3:48 pm, Cesar Canassa wrote: > Hello everyone, > > I had this idea for an django application that creates image sprites > automatically for you. I want an application that allows me to create and > manage sprites by only using the admin interface. Th

Re: Confused about testing a page protected with @login_required

2010-10-06 Thread Brandon Taylor
test fails :( Hope this helps someone, Brandon On Oct 5, 11:37 pm, Brandon Taylor wrote: > Hi everyone, > > I set up a bare-bones project with one view decorated with > @login_required. > I created an initial_data.json fixture with a user. > I called self.client.login(username=&#x

Re: PyDev create new project wizard creates two folders in Aptana Studio 3?

2010-10-05 Thread Brandon Taylor
Hi Guys, Yeah, I've just been creating projects by hand instead of using the new PyDev Django actions. Fabio said it's because the project you create has to be added to the Python Path, and it can't add a folder that is above the path for some reason. Annoying. Cheers, Brandon On

Confused about testing a page protected with @login_required

2010-10-05 Thread Brandon Taylor
client.login(username='foobar', passowrd='foobar') self.failUnless(logged_in) response = self.client.get('/protected/') self.assertEqual(response.status_code, 200) Which results in: AssertionError: 302 != 200 What am I doing wrong? Any help G

Re: Error

2010-10-01 Thread Brandon Taylor
Sounds like you have an infinite loop. On Oct 1, 12:12 pm, Tsolmon Narantsogt wrote: > Hi there > > i got this error > > *Exception RuntimeError: 'maximum recursion depth exceeded while calling a > Python object' in > help me > > Thank you > Tsolmon -- You received this message because you are

PyDev create new project wizard creates two folders in Aptana Studio 3?

2010-10-01 Thread Brandon Taylor
oject /my_project -__init__.py -settings.py Why is that? TIA, Brandon -- 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 e

Re: IDE for Python/django

2010-09-27 Thread Brandon Taylor
number of JavaScript libraries like jQuery are also supported. This IDE has served me very well for the past 4 years. It might not have every bell or whistle that PyCharm has, but I feel it has a very well balanced set of features that are easy to customize. My $0.02, Brandon On Sep 27, 7:01 pm, tayf

Re: Problem testing a view decorated with @login_required

2010-09-26 Thread Brandon Taylor
Sorry, the second test is the one that fails. On Sep 26, 2:01 pm, Brandon Taylor wrote: > Hi Everyone, > > I'm having an issue testing a page protected with @login_required. I'm > loading a user via a fixture. I can call > self.client.login(**credentials) successfully

Problem testing a view decorated with @login_required

2010-09-26 Thread Brandon Taylor
ot be authenticated') user = User.objects.get(pk=self.client.session.get('_auth_user_id')) response = self.client.get(self.dashboard_url) self.assertEqual(response.status_code, httplib.OK) TIA, Brandon -- You received this message because you are subscribed to t

Re: Problem with reversing url in test

2010-09-25 Thread Brandon Taylor
This problem turned out to be related to specificity. Another url pattern was overriding the pattern that I was testing. On Sep 24, 9:43 pm, Brandon Taylor wrote: > So it appears to be something with django-cms' urls that are causing > issues with testing. I'm able to test an

Re: Problem with reversing url in test

2010-09-24 Thread Brandon Taylor
So it appears to be something with django-cms' urls that are causing issues with testing. I'm able to test any URL that isn't controlled by dajngo-cms, like '/admin/' or whatever. Anyone else using django-cms v2 and Django 1.1.1 experiencing these issues? TIA, Br

Re: Problem with reversing url in test

2010-09-24 Thread Brandon Taylor
or more information. (InteractiveConsole) >>> from django.test.client import Client >>> c = Client() >>> response = c.get('/categories/') >>> response.status_code 200 Anyone have any ideas what could be wrong with the unit test? On Sep 23, 10:51 pm, Br

Problem with reversing url in test

2010-09-23 Thread Brandon Taylor
on my site, but disabling that app, and its url patterns doesn't make a difference. Anyone have any ideas on why this method would fail? TIA, Brandon -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Tools to ease template/ui development

2010-09-14 Thread Brandon Taylor
I use Aptana with PyDev and get code completion for Python, HTML, CSS, JavaScript (and jQuery) and more. It's cross-platform, free and the Beta 3 version has even more Django support thanks to the latest version of PyDev. There are plugins for Git, Mercurial, SVN and more. Brandon On Sep

Need to access fieldsets for custom model admin from ModelForm

2010-09-14 Thread Brandon Taylor
if not self.instance.id: self.fields['inherit_entity_location_groups'] = forms.BooleanField() ...at this point, self.instance will get me to the Bid model, but when I try to access the model_admin on the instance, I get an AttributeException. I'd really appre

Re: Overriding queryset for admin.ModelAdmin

2010-09-14 Thread Brandon Taylor
The solution is to add the foreign key field as a list_filter, then Django will accept the querystring parameter. Hope that helps someone! On Sep 13, 7:29 pm, Brandon Taylor wrote: > Hi everyone, > > I have a very strange problem I'm trying to get a handle on. I need to > fil

Overriding queryset for admin.ModelAdmin

2010-09-13 Thread Brandon Taylor
quot;GET /static/css/custom_admin.css HTTP/1.1" 200 1657 bid_id: 19 [13/Sep/2010 19:20:16] "GET /admin/bids/bidlocationgroup/?bid_id=19 HTTP/1.1" 302 0 bid_id: None [13/Sep/2010 19:20:16] "GET /admin/bids/bidlocationgroup/?e=1 HTTP/ 1.1" 200 3292 What the hell?! Why is pass

Misbehaving queryset override in admin

2010-06-05 Thread Brandon Taylor
. If I print the qs variable, I get the result I expect, but then I get another unfiltered list. I have no other overrides in my OrderAdmin class. Does anyone know what's going on? TIA, Brandon -- You received this message because you are subscribed to the Google Groups "Django

Moving django.contrib.auth to its own database

2010-04-28 Thread Brandon Belew
Hello, I am attempting to use a database router to move django.contrib.auth off to its own database. Reasoning behind this - I want to share just a few tables ( Auth and a custom app called AdminAccess ) across multiple sites which might be on multiple servers not sharing a single codebase.

Re: "format" error with django-piston

2010-03-31 Thread Brandon Taylor
I ended up using jezdez's fork of Piston, and it works as expected: https://bitbucket.org/jezdez/django-piston/ On Mar 31, 9:57 am, Brandon Taylor wrote: > Hi everyone, > > I know there's a Google Group for django-piston, but there's not very > much conversation on th

Re: Admin Add Page

2010-03-31 Thread Brandon Taylor
/#overriding-vs-replacing-an-admin-template Cheers, Brandon On Mar 30, 1:16 pm, Asim Yuksel wrote: > I want to use a custom admin add page with custom admin look and feel. > What is the template to extend? I want to use something like this > > http://picasaweb.google.com/110428031

Re: word processing django apps

2010-03-31 Thread Brandon Taylor
At The Texas Tribune (texastribune.org), we use a combination of TinyMCE and django-reversion. It doesn't track changes between versions, but it maintains a history table of each previous version of our main content types. Cheers, Brandon On Mar 30, 4:18 pm, John Griessen wrote: &

Re: Getting strange email from "dreamhost"

2010-03-31 Thread Brandon Taylor
I'm getting those from this forum as well. On Mar 31, 10:13 am, Wiiboy wrote: > Hi guys, > I've gotten two emails from "Mail Delivery Subsystem > " with the subject "Your message was NOT > received by django-us...@googlegroups.com!". > The body is below.  Anyone know why I'm getting these?  Is an

Re: modelform validation

2010-03-31 Thread Brandon Taylor
Hi there, When calling def clean_name(self):, you can see if your instance has an id or not: def clean_name(self): if not self.id: #this would be a new record else: #this would be an existing record HTH, Brandon On Mar 31, 9:24 am, Emanuel wrote: > Hi all! > >

Re: Passing hidden foreign key to form as initial value

2010-03-31 Thread Brandon Taylor
thod to get the course object to assign when you save your CourseBook form, as you can't assign an integer (coming from your hidden form field) to the value of a ForeignKey field on a model. HTH, Brandon On Mar 31, 8:20 am, phoebebright wrote: > Displayed fields resolve as expected, hid

"format" error with django-piston

2010-03-31 Thread Brandon Taylor
e patch doesn't work. The problem seems related to the @classmethod resource_uri, but I'm uncertain as to how to fix this. Kind regards, Brandon -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: limit_choices_to a value on a field in the same model

2010-03-14 Thread Brandon Taylor
_choices.append(('', '-')) for county in counties: county_choices.append((county.id, county.name)) county_field.choices = county_choices Kind regards, Brandon On Mar 14, 8:23 am, Walt wrote: > Here is an ide

limit_choices_to a value on a field in the same model

2010-03-13 Thread Brandon Taylor
#x27;t seem to find the right place to get an instance of the Agency being edited so I can override the queryset for the many-to-many. I've search quite a few posts, but can't find one with a working example. Does anyone know where I might be able to find a good example of this? TIA,

Re: Permissions help

2010-03-12 Thread Brandon Taylor
Thanks raj, I'll give that a shot. On Mar 12, 11:11 am, raj wrote: > If you want to impose the restriction only upon delete through admin > interface, try to override modelAdmin's has_delete_permission() > method. Or else, model.delete(). > > On Mar 12, 8:37 pm, Brand

Permissions help

2010-03-12 Thread Brandon Taylor
like the cleaner way to do it. TIA, Brandon -- 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 django-user

Re: Django custom types / DjangoUnicodeDecodeError:

2010-03-03 Thread Brandon
ren Tracey wrote: > On Tue, Mar 2, 2010 at 7:05 PM, Brandon wrote: > > No error.  I'm guessing Django doesn't populate connection.queries > > when it isn't in debug mode? > > Right. > > > This would definitely work for production, but what other options do

Re: Django custom types / DjangoUnicodeDecodeError:

2010-03-02 Thread Brandon
No error. I'm guessing Django doesn't populate connection.queries when it isn't in debug mode? This would definitely work for production, but what other options do I have for development? It would be a huge step up for us to be able to work in an interactive shell and see what queries were run du

Django custom types / DjangoUnicodeDecodeError:

2010-03-02 Thread Brandon
y, since almost every query we make will have one or more of these ID's. I'm obviously new to Django as a whole, so it's quite likely there is a better way for me to go about getting Django to understand and deal with this column type. Any help would be much appreciated. Chee

Re: Need help understanding a custom upload example

2010-02-16 Thread Brandon Taylor
gt; very large images (> 100 Meg). > > Yours > > Thanos. > > On Feb 16, 10:07 am, Brandon Taylor wrote: > > > > > Hi Everyone, > > > I'm confused about creating a custom upload handler and how it ties > > into my model. From the docs, this is a

Re: Need help understanding a custom upload example

2010-02-16 Thread Brandon Taylor
as much as possible. So, what I'm looking for is an example of how to do what the documentation states - use chunks all the time instead of loading the file into memory if it's 2.5MB or less. Thanks, Brandon On Feb 16, 12:18 pm, msmit...@naz.edu wrote: > I'm wondering where you go

Need help understanding a custom upload example

2010-02-16 Thread Brandon Taylor
he handler "handled_uploaded_file" work together? In my project, I need to allow users to upload large- ish files. Say 10 - 20 MB. What's the best way to handle this functionality? I would sincerely appreciate an example if someone has one. Kindest Regards, Brandon -- You received this

Problem with long running processes and db records

2010-02-09 Thread Brandon Taylor
g. Can anyone offer any advice? Kindest regards, Brandon -- 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 django-users+unsubs

Re: What hosting companies do you use for django hosting?

2010-02-09 Thread Brandon Taylor
WebFaction. They are simply awesome. On Feb 9, 9:52 am, adamjamesdrew wrote: > Thanks -- 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 emai

Re: Form validation: Add at least one item to inline model

2009-11-23 Thread Brandon Taylor
http://wadofstuff.blogspot.com/2009/08/requiring-at-least-one-inline-formset.html On Nov 23, 6:06 pm, Brandon Taylor wrote: > Hi everyone, > > I need to validate that at lease one item has been added to an inline > model in Django admin. I'm not quite sure where to put this &

Form validation: Add at least one item to inline model

2009-11-23 Thread Brandon Taylor
Hi everyone, I need to validate that at lease one item has been added to an inline model in Django admin. I'm not quite sure where to put this validation...can someone help me out? TIA, Brandon -- You received this message because you are subscribed to the Google Groups "Django us

Re: Apache/mod_wsgi woes

2009-11-19 Thread Brandon Taylor
_wsgi, everything's working again, finally. Ugh. Cheers, Brandon On Nov 19, 9:40 am, Brandon Taylor wrote: > Hi Andy, > > Thanks for the reply. The Ubuntu instance only has one Python > installed - 2.6.4. I thought it might be a problem related to that as > well. This

Re: Apache/mod_wsgi woes

2009-11-19 Thread Brandon Taylor
e. I can't explain why it won't work in a VM, but it will if I'm dual- booting, or just running Ubuntu native. b On Nov 19, 9:14 am, Andy McKay wrote: > On 09-11-19 6:40 AM, Brandon Taylor wrote: > > > ImproperlyConfigured: ImportError filebrowser: No module named &

Apache/mod_wsgi woes

2009-11-19 Thread Brandon Taylor
a VM. Can someone please shed some light onto what might be happening? I'm stumped, and have been at this for hours. TIA, Brandon -- 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...@googleg

feature request

2009-11-16 Thread Brandon
How do I request a feature from Django? This one would be simple. I'd like the authenticate method to take an extra boolean argument which would determine if it should treat the username as case sensitive. Default would be True, since it treats it that way already. I understand that passwords wou

Re: Scanning uploads for viruses

2009-11-13 Thread Brandon Taylor
text from the resume, which I'm going to grab and stick into the DB anyway, but for some reason, they insist on letting people upload. Kindest regards, Brandon On Nov 13, 6:08 am, David De La Harpe Golden wrote: > Brandon Taylor wrote: > > Greetings all, > > > My project

Scanning uploads for viruses

2009-11-13 Thread Brandon Taylor
ent server is Linux, and the client is running anti virus software on their PCs, which I'm sure scan downloads. I'd appreciate your advice! Kind regards, Brandon -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

formfield_overrides for Auth.User?

2009-09-20 Thread Brandon Taylor
validation on the username field to accept an email address. Does anyone know of a quick way to override the built-in change form for Auth.User? TIA, Brandon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan

Re: How to invoke hasNoProfanities?

2009-09-11 Thread Brandon
Uh, where? I see the definition in settings.py, but I can certainly enter any of the words on the profanities list in: django.conf.global_settings.py into a text field and it will not throw an exception. On Sep 9, 3:55 pm, Chris Withers wrote: > Brandon Taylor wrote: > > I would like t

How to invoke hasNoProfanities?

2009-09-09 Thread Brandon Taylor
I'd appreciate some pointers. Thanks, Brandon --~--~-~--~~~---~--~~ 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 fro

MySQL-Python and Snow Leopard

2009-09-08 Thread Brandon Taylor
ace a mile long, ending with error: Setup script exited with error: command 'gcc' failed with exit status 1 Fun times. Has anyone been able to get this running? I'd appreciate some pointers! Thanks, Brandon --~--~-~--~~~---~--~~ You received this mes

Re: how do you use session variables in template tags?

2009-09-03 Thread Brandon
Is the request object present in your context? I believe you'd have to pass in the request, or make it available to the template via request_context and or the django.core.context_processors.request middleware. HTH, Brandon On Sep 3, 8:21 am, Bobby Roberts wrote: > I cannot for the li

Re: Last object of a set?

2009-09-03 Thread Brandon
%} {% endfor %} HTH, Brandon On Sep 3, 11:01 pm, watusee wrote: > I'm attempting to get the first and last items in a set inside a > django template. The first is no problem: > > {{ course.coursepart_set.all.0.begin_date }} > > but I can't figure out how to get the l

zxJDBC.DatabaseError: driver [org.postgresql.Driver] not found Jython

2009-09-03 Thread Brandon Taylor
t switching from JDK 1.5 32 bit to JDK 1.6 64 bit solves the issue. I would certainly appreciate some pointers! Cheers, Brandon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Problem with Django/Jython and Postgres backend

2009-08-18 Thread Brandon Taylor
kend.DatabaseWrapper({ File "/Users/btaylor/jython2.5.0/Lib/site-packages/doj/backends/ zxjdbc/postgresql/base.py", line 54, in __init__ self.client = DatabaseClient() TypeError: __init__() takes exactly 2 arguments (1 given) Anyone able to get Django running on Jython on O

Re: Receiving email, similar to Rails

2009-08-03 Thread Brandon
Cool. Thanks for the replies! Jutda Helpdesk seems like a good place to stat from, and also tie into admin. Cheers, Brandon On Aug 3, 10:50 am, Masklinn wrote: > On 3 Aug 2009, at 17:14 , Brandon Taylor wrote:> Hi everyone, > > > Does anyone know of a way to mimic the function

Receiving email, similar to Rails

2009-08-03 Thread Brandon Taylor
Hi everyone, Does anyone know of a way to mimic the functionality Rails has to set up a URL pattern to receive emails and handle attachments, such as photos? TIA, Brandon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Error with runserver using jython

2009-07-31 Thread Brandon
If I trash the .class files created by startproject, I can successfully run the built-in server after the classes are re- compiled. On Jul 31, 11:21 am, fwierzbicki wrote: > On Jul 31, 9:46 am, Brandon Taylor wrote:> Hi > everyone, > > > I created a new project through jyth

Error with runserver using jython

2009-07-31 Thread Brandon Taylor
840 My project structure is simply: ~/jython_django_projects/ __init__.py manage.py settings.py urls.py Thoughts? Brandon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group

Re: Django on Jython

2009-07-31 Thread Brandon
Nevermind. I chose the "standard" option when installing Jython, which doesn't include sources. If you choose the "all" option, distutils is included. Hope that helps someone, Brandon On Jul 31, 7:48 am, Brandon Taylor wrote: > Hello everyone, > > I'm g

Django on Jython

2009-07-31 Thread Brandon Taylor
;t seem to find distutils ANYWHERE so I can install it. Can someone please point me in the direction of distutils that I can install for Jython? TIA, Brandon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: IDE for Django and Ext JS

2009-07-29 Thread Brandon
r debuging, which is something you can't do with an editor such as Coda or TextMate. My $0.02, Brandon On Jul 29, 12:23 pm, Vasil Vangelovski wrote: > There's not much benefit in using an IDE like eclipse or netbeans for > Python and JS, they are also slow enough to counter produc

Re: Global variables

2009-07-29 Thread Brandon
One way to accomplish this is to use a custom context processor to add the variable to each and every response. You will need to explicitly pass in the request_context for the view(s), as far as I know, to make this work. Brandon On Jul 28, 1:19 pm, Dirso wrote: > Hi, > I created a te

Branding block tag missing for login in Grappelli?

2009-06-17 Thread Brandon Taylor
Hi everyone, I'm looking into Grappelli's awesome admin interface, but my login is missing any sort of branding, and it looks like I'd have to override their template and add some CSS to fix it. Am I just missing something? or are other people seeing the same thing? Kind r

FileField will not validate

2009-06-12 Thread Brandon Taylor
bSeekerProfileForm(prefix='job_seeker') return render_to_response, etc Every time I post this form, I get a required validation error on the resume field. Can anyone see what I'm doing wrong? TIA, Brandon --~--~-~--~~~---~--~~ You received this m

Re: Anyone else having issues with filter_horizontal in trunk?

2009-05-04 Thread Brandon Taylor
I was modifying the form submission with some Ajax code that busted the filter_horizontal apparently. Preventing the default action of the form with jQuery is not a good idea :) On May 4, 10:41 am, Brandon Taylor wrote: > Hi George, > > I wonder what the deal is then. I've noticed

Re: Anyone else having issues with filter_horizontal in trunk?

2009-05-04 Thread Brandon Taylor
until it breaks. On May 4, 10:30 am, George Song wrote: > On 5/4/2009 8:24 AM, Brandon Taylor wrote: > > > filter_vertical also appears to be suffering the same problem. > > > On May 4, 10:23 am, Brandon Taylor wrote: > >> Hi everyone, > > >> When I

Re: Anyone else having issues with filter_horizontal in trunk?

2009-05-04 Thread Brandon Taylor
filter_vertical also appears to be suffering the same problem. On May 4, 10:23 am, Brandon Taylor wrote: > Hi everyone, > > When I specify filter_horizontal for any ManyToMany field on a model > using Django trunk, and that field is required, admin will not allow > me to save th

Anyone else having issues with filter_horizontal in trunk?

2009-05-04 Thread Brandon Taylor
make selection(s), the form will submit properly. Anyone else seeing the same issue? TIA, Brandon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Allow only specified HTML tags.

2009-04-30 Thread Brandon
I want to have a message board type program which will only allow html tags which are in a specified list. How can I accomplish such a feat with the django template system? I want to find a way before trying to write my own template tags. --~--~-~--~~~---~--~~ You

Re: Anyone else having issues with saving M2M in trunk?

2009-04-17 Thread Brandon Taylor
Ugh. My pastie was bad - had multiple versions of the same file open, and didn't get the most recent one: http://dpaste.com/34983/ On Apr 17, 3:54 pm, Brandon Taylor wrote: > Hi Alex, > > Thanks for the reply. Here's the link:http://dpaste.com/34979/ > > b > >

Re: Anyone else having issues with saving M2M in trunk?

2009-04-17 Thread Brandon Taylor
Sorry Alex, my bad. I see the error. Doh! On Apr 17, 3:54 pm, Brandon Taylor wrote: > Hi Alex, > > Thanks for the reply. Here's the link:http://dpaste.com/34979/ > > b > > On Apr 17, 3:50 pm, Alex Gaynor wrote: > > > On Fri, Apr 17, 2009 at 4:48 PM, Br

Re: Anyone else having issues with saving M2M in trunk?

2009-04-17 Thread Brandon Taylor
Hi Alex, Thanks for the reply. Here's the link: http://dpaste.com/34979/ b On Apr 17, 3:50 pm, Alex Gaynor wrote: > On Fri, Apr 17, 2009 at 4:48 PM, Brandon Taylor > wrote: > > > > > Hi everyone, > > > I have an abstract model called Page. Two class

  1   2   3   4   >