Re: Using Sass with Django makes CSS so much easier to maintain

2009-11-17 Thread Justin Lilly
Not SASS, but in the same vein is http://sandbox.pocoo.org/clevercss/ which has the benefit of being in python. -justin -- 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 unsu

Re: Django + Godaddy

2009-08-26 Thread Justin Lilly
On 26 Aug 2009 03:58:58-0700, Nanopino wrote: > > i've actually have semi success in getting django to work on godaddy. > It displays the "Congratulations on your first Django-powered page." > You will have to be signed up for the linux shared hosting Deluxe or > higher plan in order for fastcgi t

Re: Recommendations for a Django development book?

2009-07-21 Thread Justin Lilly
If you're looking for an advanced view of python and django, look at Marty Alchin's Pro Django. Fantastic book. Also, if you're looking for more of an overview of an intro/intermedia to python/django, look at Jeff Forcier(et al)'s Python Web Development with Django, which is also a solid text. -

Re: Graphing (Pie Chart, Bar Graphs, Line Plots, etc) in Django?

2009-07-17 Thread Justin Lilly
It would also be worth pointing out Jacob's django-googlecharts template tags. I've used them before and they work solidly, as long as google charts are what you need. http://github.com/jacobian/django-googlecharts/tree/master -justin On Thu, 16 Jul 2009, Keith Pettit wrote: > What is the bes

Re: Custom templatetags for loading objects

2009-06-29 Thread Justin Lilly
t; looped over. Is there any reference that I should be reading? > Kind regards, > > -- > Join Scrum8.com. > > http://scrum8.com/member/jpartogi/ > http://scrum8.com/blog/jpartogi/ > http://twitter.com/scrum8 > > > > -- Justin Li

Re: Base view class ?

2009-06-29 Thread Justin Lilly
It's also worth noting that you _can_ use a class for a view. Views just have to be python callables. For more info on this, check out Marty Alchin's Pro Django and the python doc's for __call__. In my experience the biggest benefit of class-based views are when you are doing a bunch of sim

Re: Problem with generic views

2009-06-26 Thread Justin Lilly
>   >> >> I know it is picking up the template, because it displays the text in >> the line  But it displays nothing else. >> >> If I do this in the shell: >> >>>>>p = Task.objects.get(pk=1) >> [, ] >> >>>>>p.name &g

Re: pagination django

2009-03-25 Thread Justin Lilly
e friends, > how can I paginate my product with this method: I want to do a newline > after every two products > please,answer me as soon as possible > > > > -- Justin Lilly Python/Django Developer http://justinlilly.com --~--~-~--~~~---~--~~

Re: Mutli-Assignable Models

2009-02-16 Thread Justin Lilly
some common model, and have Show pull from that common ancestor and > then descend to the specific type as needed. The common model would > be where you'd have the FK to Show, thinking about it, and then you > wouldn't need a custom method on Show, you could just use std metho

Mutli-Assignable Models

2009-02-12 Thread Justin Lilly
Hi all. I have a project where I need to assign multiple models to each other via some many to many relationship. There are a few main players in my prototype: Articles, Photos and Shows. Shows has many Articles and Photos. Article has many Photos, but has one Show. Photos has one Show

Re: Media and putting javascript last

2008-11-18 Thread Justin Lilly
The way I structure this is I put my jquery include at at the top with the css. At the bottom of my script, I add an {% block extra_script %} {% endblock %} block just before the tag which is where excess javascript goes. Any reason this wouldn't work for you as well? -justin On Nov 18,

Re: Inheritance example???

2008-11-18 Thread Justin Lilly
The best example of this is likely the Pinax project. You can find more at http://pinaxproject.com/ -justin On Nov 18, 2008, at 2:53 PM, jago wrote: > > I am a Django apprentice and would like to learn more. > > The Django docu says the following: > > "You can use as many levels of inherita

Re: Python and/or django book

2008-11-17 Thread Justin Lilly
>> > > newcomer to Django and python. >> >> > Depends on your background... But if you have prior experience with >> > 1/ another (preferably but not necessarily object oriented) language >> > and 2/ server-side web programming, the 'offici

Re: Mercurial or Git

2008-10-23 Thread Justin Lilly
Alternatively, you can find several git/bzr/hg mirrors for django here: http://code.djangoproject.com/wiki/DjangoBranches So feel free to pull from those with your DVCS. As so few of us are commiters anyway (and those who are, likely know how to hand the exception), it should be the same as if d

twid?

2008-10-16 Thread Justin Lilly
You might have better luck with integration from the guys at thisweekindjango.com (podcast). They have a host of community features already in place on their website so it seems like a better fit over there. --~--~-~--~~~---~--~~ You received this message because yo

Re: Can Someone Do something about ALL THIS SPAM

2008-06-06 Thread Justin Lilly
hosting > > options. > > Clearly moderating every post is impractical, but is there no way to > moderate the very first post of a new member before granting them > unmoderated access? > > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~

Re: recommended tagging app?

2008-06-01 Thread Justin Lilly
://code.google.com/p/django-tagging/ > > Is there anything I should know before I try to integrate it? > > Thanks, > Ivan > http://tipjoy.com > > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~---~--~

Re: Deploying a Django App

2008-05-30 Thread Justin Lilly
r the help guys, is it always so active? :) > > On May 30, 1:53 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote: > > You'll also need to have a way to serve admin media files and normal > media > > files. Beyond that, that should be about it. > > -j

Re: Deploying a Django App

2008-05-30 Thread Justin Lilly
'm really new do Django and coming from a Java/Php background. > > > > > In php when you deploy an app, you have the whole structure and you > > > set the web root to the public folder, which contains the bootstrap. > > > In Java you just make a war file and drag it

Re: Ning-like applications for Django?

2008-05-28 Thread Justin Lilly
t resolve, I'll load pinax. > > Out of curiosity, how many people are working on Pinax? > > Thanks for quick response! > > -Z > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~---~--~~ You received this

Re: Ning-like applications for Django?

2008-05-28 Thread Justin Lilly
ing application/framework that > is Django-based? > > Core features: > + Friend management > + Messages > + Photos > + Videos > + Extensible with custom content > > Thanks in advance, > Zeb > > > > -- Justin Lilly Web Developer/Designer http://jus

Re: How to Implement "Most Viewed"?

2008-05-27 Thread Justin Lilly
ts somewhere. Doing this >> > >> in the database, in real time, is often not possible because it does >> > >> lead to one write per page view. >> > >> > >> Periodically crunching server logs is often a better alternative. >> > >> > >> -

Re: How to Implement "Most Viewed"?

2008-05-25 Thread Justin Lilly
best practice in this regard. Im sure > there are a few different ways to implement this, but what is the > simplest and most scalable? Any other ideas or suggestions? > > Thanks Alot, > Dana > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~

Re: Production vs Development Environments

2008-05-03 Thread Justin Lilly
rolling out code, but if > > Django handles the different DB back-ends pretty well then you could > > eliminate the staging environ and speed up your end-to-end process I > > would think. > > > > Any thoughts or experie

Re: What is reverse() good for? Not really reversing...

2008-05-02 Thread Justin Lilly
ive, that works... but it does work. -justin On Fri, May 2, 2008 at 11:11 AM, web-junkie <[EMAIL PROTECTED]> wrote: > > That's exactly what I tried, and as I described, it gives you > something wrong, not the queryset reversed... > > On 1 Mai, 19:32, "Justin Lilly"

Re: Should I set up Django locally or on a web server?

2008-05-02 Thread Justin Lilly
jango with > > > SQLite? Is this what most Djangophiles are using to build sites > > > before they go live? > > > > > > I'll look into MacPorts and Fink as well, I've never heard of them. > > > I'll need to find a way to configur

Re: What is reverse() good for? Not really reversing...

2008-05-01 Thread Justin Lilly
erse() would make c,b,a out of it, not > z,y,x! Or am I missing something? > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users

Re: web hosting

2008-04-30 Thread Justin Lilly
heir web hosting service, no suprise there, but I don't like being > held over a barrel. Help. > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Admin site - apply business logic

2008-04-29 Thread Justin Lilly
model accessible via Admin > site. I wish to make "InventoryItem" model objects no-editable, read- > only, if they fall outside of a given date range as per my business > logic. > > Regards, > -Alen > > > > -- Justin Lilly Web Developer/Designer http://ju

Re: Complex Django Hosting

2008-04-25 Thread Justin Lilly
doing so). Having used Webfaction for a > little while now, they seem like a pretty good host, but how well > would they be able to accommodate the sort of setup that we want? > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~

Re: Are any of you successfully running Django on IIS?

2008-04-25 Thread Justin Lilly
ram on IIS > is a "hack"? I don't mean that offensive to anyone, but it may have > never been and still not intended for IIS. > > On Apr 24, 1:54 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote: > > I finally got it working. You can check out the results at

Re: Are any of you successfully running Django on IIS?

2008-04-24 Thread Justin Lilly
ersuade to use Apache on the Windows box. Thanks. > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" g

Re: Announcing the Django Dash!

2008-04-23 Thread Justin Lilly
found athttp://www.djangodash.com/. We will keep > > > > it updated as things develop. If you're interested in competing in > theDash, we'd appreciate if you'd fill out the mini-email form on the > > > > front page so we can get an idea of how many people are interested. > &g

Re: Django Names

2008-04-21 Thread Justin Lilly
d > Satchmo)? I think it's a cool convention, but those are the only 3 I > can think of when I am trying to tell people about it. > > Thanks, > Brandon > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~---~--

Re: unsubscribe

2008-04-16 Thread Justin Lilly
How about just sending an email to the unsubscribe link at the bottom of EVERY POST yeesh. On Wed, Apr 16, 2008 at 10:21 PM, steve skelton <[EMAIL PROTECTED]> wrote: > STOP SENDING EMAILS TO [EMAIL PROTECTED] > > > > -- Justin Lilly Web Developer/Designer h

Re: Django en Dreahost

2008-04-15 Thread Justin Lilly
File "/home/jjconti/django_src/django/db/backends/sqlite3/base.py", > line 133, in execute > return Database.Cursor.execute(self, query, params) > pysqlite2.dbapi2.Warning: You can only execute one statement at a time. > > > Did anyone installed Django in this hos

Re: What happened to django-updates?

2008-04-14 Thread Justin Lilly
; updates on trunk commits (with handy gmail filters to trim out all the > non-commit noise). I can accomplish the same thing via > > http://trac.tripology.com/tripology-trac/timeline?changeset=on&max=50&daysback=90&format=rss > but just wanted to bring it to the attention o

Re: Security concerns about publically exposing admin tool

2008-04-13 Thread Justin Lilly
gt; > > cracking than any other site requiring a login. It's a function of > good > > > > password choice, not whether something is visible via the web. > > > > > > Malcolm > > > > > > -- > > > > Why be difficult when, with a

Re: Images and Stylesheets

2008-04-11 Thread Justin Lilly
e style > sheet. One it gets "in" the template I'm OK; the "Head First" book did a > pretty good job explaining it. I even put a syntax error in my view so > Django would list out the settings, but couldn't find where Django is > looking for the css

Re: django roadmap

2008-04-03 Thread Justin Lilly
t; releases? 0.97,98 and 99? > > Thanks a lot and excellent work! > > BTW I'm currently using the trunk version and I feel it's stable... > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~---~--~~ You r

Re: Django font

2008-04-01 Thread Justin Lilly
te together at the moment, > and need a logo, I really like the django font and it would fit in with > the > rest of the style wonderfully, does anyone know what its called/have a > link, > or is it a homemade logo? > > Mat > > > > &

Re: blog displays raw html

2008-03-27 Thread Justin Lilly
I also feel obligated to mention that you don't have to use HTML. If you prefer some sort of markup, look here: http://code.djangoproject.com/wiki/UsingMarkup -justin On Thu, Mar 27, 2008 at 7:55 PM, Justin Lilly <[EMAIL PROTECTED]> wrote: > You're being affected by a rel

Re: blog displays raw html

2008-03-27 Thread Justin Lilly
') > headline = models.CharField(max_length=200) > summary = models.TextField(help_text="post summary - use html") > body = models.TextField(help_text="Body Text - can use html") > author = models.CharField(max_length=100) > > > Thanks, &

Re: Reports

2008-03-27 Thread Justin Lilly
-graphs: http://code.google.com/p/django-graphs/ -justin On Thu, Mar 27, 2008 at 4:03 PM, Percy Gonzales <[EMAIL PROTECTED]> wrote: > > Hello, as Django's handling of the issue: > * Generate reports PDF > * Graphics statistics (bars, cakes ,...) > > > Thanks > >

Re: OT: Django logo

2008-03-25 Thread Justin Lilly
Whoops. Just realized you wanted to know the other font. For those fontographers looking for an example, http://media.djangoproject.com/img/desktops/djangodesktop-1680x1050.jpg but whatthefont.com couldn't find a good match. -justin On Tue, Mar 25, 2008 at 8:51 PM, Justin Lilly &l

Re: OT: Django logo

2008-03-25 Thread Justin Lilly
ld topic, but I'd like to know > which font the "for perfectionists..." is in. > > Thanks! > -- > AlvAro > > http://es.wikipedia.org/wiki/Software_Libre > http://en.wikipedia.org/wiki/Free_Software > http://tuxie.debianuruguay.org/ > > > > --

Re: Django-UML Generator

2008-03-25 Thread Justin Lilly
e models > before you syncdb and doing further coding. It seems like you could > save a lot of headaches > at a later point with this method. Thoughts? > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~---~--~~ Y

Re: How often do you update your django?

2008-03-25 Thread Justin Lilly
ward incompatible. > > -joe > > On Tue, Mar 25, 2008 at 10:23 AM, jmDesktop <[EMAIL PROTECTED]> > wrote: > > > > Do you just copy over the old file and restart your server? > > > > > > On Mar 25, 12:58 pm, "Justin Lilly" <[EMAIL PRO

Re: How often do you update your django?

2008-03-25 Thread Justin Lilly
o and update your > implementation? I'm new to all of this and never have used cvs or svn > and am trying to figure out the best way to use it. > > > -- Justin Lilly Web Developer/Designer http://justinlilly.com --~--~-~--~~~---~--~~ You

Re: Will there be a 0.98 release?

2008-03-24 Thread Justin Lilly
hing new is assumed by the long time Django > > users/developers. I need some thing more stable built around newforms, > > is there a date and/or a site/central from which those of us which are > > newbies using newforms, can rely on? Don't get me wrong, I just wan to >

Re: Django hosting website

2008-03-24 Thread Justin Lilly
tion.com, has great reviews. But I personally don't use them. > > On Mon, Mar 24, 2008 at 1:11 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > Anyone kows a good and cheep django hosting service website? > > > > Thanks. > > > >

Re: How to display a date in my template as Mar. 1 2008...not 2008-03-01?

2008-03-02 Thread Justin Lilly
returned > > > contains a DateField (the date it was created). I'm able to show the > > > date in the template...however I want to change the format it's being > > > displayed as. In this case it's 2008-03-01. I want the date to show > > > Mar. 1

Generic Calendar Application

2008-02-24 Thread Justin Lilly
Hey guys, I have a generic calendar application which is based on one of the django snippets. It is decoupled from a model unlike the one on djangosnippets.org. Even if you don't pass your model data to it, it will still render a calendar . Feel free to read more about it at http://justinlilly.c

Re: MEDIA_URL doesnt work

2008-02-22 Thread Justin Lilly
/127.0.0.1:8000/media/' > > > > but, when i want to go tohttp://127.0.0.1:8000/media/with my browser > > i get every time a 404 Error with the following message: > > Using the URLconf defined in ju_amerang.urls, Django tried these URL > > patterns, in this order:

Re: Form as table

2008-02-20 Thread Justin Lilly
]> wrote: > > Hi All, > > Is there a way in Django to generate webforms from a simple Database > table so that we can "submit" the user inputs to update a database > table. In other words, I would like to create a webform on an existing > database table. > >

Re: Painful deployment | shared hosting | Need your advice

2007-10-20 Thread Justin Lilly
l > > Is it possible to deploy Django in this environment? If yes, any > suggestions? > > Thanks! > > > > > -- Justin Lilly Web Developer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: New Django App... FeedEachOther

2007-10-08 Thread Justin Lilly
First thoughts: =Design= Simple interface. Not very Web 2.0 looking, which isn't a diss. On your logo, I might work on the placement of the text (which is subdivided into a top gray portion and a bottom black portion) not aligning with the similarly split background. Looks a bit off, I think.

Re: install on windows

2007-09-22 Thread Justin Lilly
t;>>>from > pysqlite2 import test" but only from within the "Python25" > directory. > > what do I have to configure?!? > > Thanks > > > > > -- Justin Lilly University of South Carolina --~--~-~--~~~---~--~~ Y

Re: reassessing our Operating System

2007-09-18 Thread Justin Lilly
> lets not start distro wars here. It is all a matter of individual > choice - any linux/bsd flavour is fine - avoid windows and OSX for > production servers. > > -- > > regards > kg > http://lawgon.livejournal.com > http://nrcfosshelpl

Re: Looking for good forum software for integration with Django project ...

2007-08-09 Thread Justin Lilly
> > I've looked at PHPBB and vbulletin which are good, but I can't stand > PHP. > > Any suggestions? > > Anyone interested in making a Django side project for this? > > -Z > > > > > -- Justin Lilly University of South Carolina --~--~-

Re: Organising django projects

2007-07-28 Thread Justin Lilly
be nice to change this priority listing via settings.py. Has this been discussed before? What are the dev's feelings on this? -justin -- Justin Lilly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: Open Linux Router

2007-07-26 Thread Justin Lilly
ime and we are now rewriting it in > django/python. What skills do you have? We have all kinds of things > from forum management/programming/site management/mailing list ect... > > > > > -- Justin Lilly University of South Carolina --~--~-~--~~~---

Re: Open Linux Router

2007-07-26 Thread Justin Lilly
L PROTECTED] or join our forum at > http://www.openlinuxrouter.com > > > > > -- Justin Lilly University of South Carolina --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Re: A convenient way to include images in a blog entry

2007-07-25 Thread Justin Lilly
cking it and it won't show in the post. > > > > I don't understand the problem, sorry. If the image isn't available, you > > cannot show it. :) > > > > > The way you designed it ensures that the image(s) remain with the > post, > > >

Re: Django & Amazon (SOAP)

2007-07-12 Thread Justin Lilly
remy Dunck <[EMAIL PROTECTED] > wrote: > > > On 7/11/07, Justin Lilly < [EMAIL PROTECTED]> wrote: > > > > Hey all. I'm trying to play around with API's and I wanted to tap into > > Amazon's to get book listings. > > I'm not sure w

Django & Amazon (SOAP)

2007-07-11 Thread Justin Lilly
Hey all. I'm trying to play around with API's and I wanted to tap into Amazon's to get book listings. The problem is that when I search for "python" in books, only 2/5ths of the results actually have to do with Python. This isn't the case when I search on Amazon itself. Any thoughts on what might

Re: looking for calender and a message board

2007-06-24 Thread Justin Lilly
errr.. sorry. misclicked. You can find the source under the "agenda" folder of: http://justinlilly.no-ip.org/svn/trunk/gtd/ If you need anything regarding it, let me know! -justin On 6/24/07, Justin Lilly <[EMAIL PROTECTED]> wrote: > > I implemented a decent calendar th

Re: looking for calender and a message board

2007-06-24 Thread Justin Lilly
site that needs a calender and a message board, > plus some > >> specialized things that will 'integrate' with those two features. So > it would > >> be good if the whole site used the same glue. > >> > >> Anyone have any suggestions? > >&g

Re: Development times

2007-06-20 Thread Justin Lilly
ailed log created using beautiful gtimelog program. > > Although I've started using it in the middle of the project, so I > > don't have exact data how much time I spent on models, logic or HTML > > layout (the lest interesting and most time-consuming part of the > >

Re: image bundle for django

2007-06-12 Thread Justin Lilly
specific to the page being viewed. > > Anyway, it's an interesting idea and nice to see an implementation. > > -Rob > > > > > -- Justin Lilly University of South Carolina --~--~-~--~~~---~--~~ You received this message becau

Re: App Migration: ImportError @ isleap

2007-06-11 Thread Justin Lilly
For archival purposes, the reason it wasn't working is I had named one of my apps "calendar". After I renamed it to agenda and remapped it appropriately, everything was in working order. On 6/11/07, Justin Lilly <[EMAIL PROTECTED]> wrote: > > Hi all. >I have a li

App Migration: ImportError @ isleap

2007-06-11 Thread Justin Lilly
Hi all. I have a little calendar working based on a django snippet from masida_ in #django (Freenode). The working version can be seen: Code: http://justinlilly.no-ip.org/svn/trunk/gtd/agenda/ Design: http://justinlilly.no-ip.org:8001/calendar/ I copied the folder directly over, changed the

Re: django admin users

2007-06-05 Thread Justin Lilly
27;m thinking > that may have something to do with it, but I don't see why this would > conflict with anything. I login basically the same exact way. If > anyone has any ideas I would much appreciate it, thanks. > > -Tyson > > > > > -- Justin Lilly University o

Re: "Powered by Django" directory - Designer Wanted!

2007-06-05 Thread Justin Lilly
e, I'm happy to host and maintain it, with links to > the designers website. > > Anybody have any interest or other feedback? > > Ross > > > > > -- Justin Lilly University of South Carolina --~--~-~--~~~---~--~~ You received this m

Re: need to know to start learn django

2007-06-04 Thread Justin Lilly
> or so. Your own passion for it will keep you learning, doing, and > > learning again. > > > > Kind regards, > > Chris Hoeppnerwww.pixware.org > > Wow thats good to know. I'm a designer, but I'd like to move onto > Django. Where woul