I use Textmate ($55?) for editing. Great color coding for html, ruby,
php, javascript, css, and python. :-)
I use Terminal (free) for Subversion and Git (version control). I'd
highly recommend Git. It is easier to use and les of a hassle than
Subversion.
I use Cyberduck (free) for FTP and Mac's
I have a category page that lists all of its subcategories on it.
For each subcategory, I would like to query for one product in that
subcategory.
In PHP, I think I did this in the page, outputting HTML as I went. But
I can't figure out how to do this in Django. My programming brain is
just
On Jun 18, 2:53 am, laspal <[EMAIL PROTECTED]> wrote:
> I have a list of employee and i want to sort it.
>
> Employee( this is my header)
> under which i have list of employee.
>
> So now my question is on clicking employee header I want to change the
> list.
> Like it happens for user in
On Jun 18, 9:32 pm, mw <[EMAIL PROTECTED]> wrote:
> I was thinking about ways to list some objects that are close to the
> current date. I could do this using datetime and just subtract the
> two dates, but this seems like something that has probably been done
> before. It seems like there
don't want to see it.
Seems easy, but I'm missing something. Pointers to the proper docs
appreciated.
Thanks,
--
Austin Govella
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
On May 23, 4:35 am, Scott SA <[EMAIL PROTECTED]> wrote:
> It seems, the problem _can_ be in how PIL is installed into the site-packages
> directory.
> The alternative is that your environment (i.e. sys.path) does not contain the
> correct path
> to the correct python site-packages directory. I
Does anyone have any insights on how to work around the bug noted in
#7019?
I need to add/edit a path somewhere, yes? But where?
On May 20, 12:42 am, Austin Govella <[EMAIL PROTECTED]> wrote:
> It was a PYTHONPATH problem. I fixed it using this tutorial:
> *http://emmby.blogspot
th should I add/edit where?
(And as an aside, I read somewhere that the proper way to import Image
and ImageFile is to say "from PIL import ImageFile". This works, but
"import ImageFile" doesn't. Is Django importing incorrectly?)
Man
Still trying to get MacPorts to work... "port installed" says
everything (plus more!) is installed:
expat @2.0.1_0 (active)
freetype @2.3.5_1 (active)
gettext @0.17_3 (active)
jpeg @6b_2 (active)
libiconv @1.12_0+darwin_8 (active)
ncurses @5.6_0 (active)
ncursesw @5.6_1 (active)
I used MacPorts to install jpeg (libjpeg), freetype, zlib, and then
Python Imaging Library.
When I validate, I get the "no PIL" error.
Error: One or more models did not validate:
imagetest.filetest: "image": To use ImageFields, you need to install
the Python Imaging Library. Get it at
torial somewhere that explains
where you save custom middleware files?
--
Austin Govella
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-use
nd MacPorts. Ubernostrum advised MacPorts for mysqldb.
But I think I installed MySQL using the packages from MySQL.org.
--
Austin Govella
Thinking & Making: http://thinkingandmaking.com
Thinking Links: http://thinkingandmaking.com/links
--~--~-~--~~~---~--~---
On Sep 17, 9:29 pm, "Austin Govella" <[EMAIL PROTECTED]> wrote:
> I tried it again and I get this error:
> error: could not create 'build/bdist.macosx-10.3-fat/egg': Permission denied
sudo python setup.py install did something, but when I test it (import
MySQLdb), I still g
?
(P.S. Yes, the OS X reinstall totally wiped python, mysql, mysqldb,
django, and any other libraries I installed.)
Thanks,
--
Austin Govella
Thinking & Making: http://thinkingandmaking.com
Thinking Links: http://thinkingandmaking.com/links
--~--~-~--~~~---~--~~
I've done more poking about.
Django is totally gone and MySQL isn't running. (May be gone, too.)
Is there a way to install django so it doesn't disappear when you
reinstall the os?
--
Austin Govella
Thinking & Making: http://thinkingandmaking.com
Thinking Links: http://thinkingandmaking
(If I wanted to reinstall django
anyway, should I just install over the current installation?)
--
Austin Govella
Thinking & Making: http://thinkingandmaking.com
Thinking Links: http://thinkingandmaking.com/links
--~--~-~--~~~---~--~~
You received this me
eploying Django sites is a one or two
click thing (or an upload the files thing), more analagous to how easy
it is to deploy stuff in php, there will continue to be a HUGE gulf
between the people that could and would use Django and those that
actually do.
I love Django, but deployment is cumbersome
Trying to install django-tagging.
I put a copy of the tagging directory in my project folder:
MyProject/
App1/
App2/
Tagging/
I ran tagging's setup.py from a separate directory outside of my
project folder. Syncdb created tag and tagged_item tables. I added
TagField to a model: tag
Trying to install django-tagging.
I put a copy of the tagging directory in my project folder:
MyProject/
App1/
App2/
Tagging/
I ran tagging's setup.py from a separate directory outside of my
project folder. Syncdb created tag and tagged_item tables. I added
TagField to a model: tag
Sounds like you need to add a Recipes model (table) with a M2M field
for the ingredient and a separate column for the percentage.
Then your Product table actually has the ability to have more than
once recipe for each product.
--
Austin Govella
Thinking & Making: IA, UX, and IxD
Is there an existing Django app for managing locations?
Specificall, countries, states/provinces, cities, and specific
locations with addresses.
(I was just adding such an app to my project, but thought I might be
duplicating someone better effort...)
Thanks,
--
Austin Govella
Thinking
changes are immediately visible.
(MovableType will store templates in the database, but it will also
link the template "to a file" where it uses a file on the server for
the template instead of pulling it out of the database.)
Any thoughts or advice?
Thanks,
--
Austin Govella
Thinking &a
, but I can't get it to
work here.)
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
pert-1 might be height and 2 might be weight.
For another product, property-1 might be size and 2 might be a list of
countries where you can't ship the part.
A separate table would indicate what column title (height, weight,
etc.) goes with which property for which product.
--
Austin Govella
Think
f he asked for my
ssn and mom's maiden named... or offered to consolidate my Bank of
America accont news...
But it's just Facebook and del.icio.us... wtf's the harm in that?!?!
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandma
On Apr 13, 10:46 am, "temnoregg" <[EMAIL PROTECTED]> wrote:
> i sent you private mail that I am interested, but without response...
Sorry. Your last message disappeared somewhere in my inbox.
I've refactored the code to separate the news from features (like
interviews or longer articles), and I
On 4/5/07, Austin Govella <[EMAIL PROTECTED]> wrote:
> I have a code base for a music zine that you may be interested in using.
Doh! That was supposed to be private. Sorry for the spam... :-(
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[EM
ll the pieces work, but the template
system isn't in place yet. If you're interested in using this code
base, please let me know and I will finish the templates and give you
access to the svn repository.
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmakin
What does this mean?
"unbound method contribute_to_class() must be called with TextField
instance as first argument (got ModelBase instance instead)"
And how do I know where to look to find the problem?
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkin
On 1/23/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> yes, but then deadlines dont always allow for that
Then you need a debugger *and* new deadlines.
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[EM
to tutorials or documentation would be great. (Don't
mind reading the instructions.)
Thanks,
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you a
I have a list from a queryset:
* foo
* bar
* twinky
Is there an easy way to output that as: "foo, bar, and twinky"
(There are handy functions for this in PHP, ColdFusion, and Rails, but
my Google-fu fails for Python or Django.)
Thanks,
--
Austin Govella
Thinking & Making: I
), and the M2M field would let users
as many or as few properties as they wanted to.
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
this type of
filtering?
Thanks,
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
and reinstalling
the models, but I get the same (nothing) happens.
Any pointers on where to look to find the problem?
Thanks,
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You rece
?)
Thanks,
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gro
And for the record, blank=True does make it not required.
:-)
Thanks guys!
--
Austin Govella
Thinking & Making: IA, UX, and IxD
http://thinkingandmaking.com
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscr
37 matches
Mail list logo