+1
On Sun, Jul 15, 2012 at 1:05 AM, Thomas Lockhart wrote:
> On 7/14/12 12:04 PM, Shubz wrote:
>
>> Hi! I'm new to Python and Django. I feel like I'm jumping in deep end,
>> but I have previous PHP and Java knowledge so what the hey.
>>
>> I was wondering if anybody could be kind enough to point
Django Warr LOL!
Have a look at Pinax http://pinaxproject.com/
On Sun, Jul 15, 2012 at 5:18 AM, Kurtis Mullins wrote:
> On Sat, Jul 14, 2012 at 4:44 PM, Kakar
>
> I'm very new to this Phyton and i just downloaded django package. What i
>> wanted to ask was,..can i make a social site where
On Sunday, July 15, 2012 3:03:44 AM UTC+2, Russell Keith-Magee wrote:
>
>
> Hi Per-Olof,
>
> It looks like you have found a place in Django's documentation that
> hasn't been updated to reflect a recent change to Django's URL tag.
> []
>
> I've opened ticket #18625 [1] to track this prob
On Sat, 2012-07-14 at 13:38 -0700, Daniel Roseman wrote:
> Django makes a fairly strong commitment to backwards compatibility
> across versions, which is documented here:
> https://docs.djangoproject.com/en/1.4/misc/api-stability/
> They guarantee that any documented api will only be deprecated wit
Hi,
I want to implement hierarchy data model which is quite common in
Relational Data Model.
Let's say I have Employee model which has the relation to the boss which
link to the employee model itself.
It will look like this:
class Employee(models.Model):
empname = models.CharField(max_length
On Sun, Jul 15, 2012 at 1:58 AM, JJ Zolper wrote:
> So heres my goal:
>
> The user logins in and goes to a discover page. They enter a distance from
> their location as the requested results scope. Lets say 25 miles from where
> I live for example. Additionally they could pick like a genre or mus
On Saturday, July 14, 2012 9:56:54 PM UTC-4, Doug S wrote:
>
> Hello django people,
> I'm just installing my PostgreSQL backend for my django projects that I
> install in isolated virtualenv's
> I've followed what seem like easy installation instructions here:
> http://initd.org/psycopg/install/
On 10/07/12 08:08, Rohan wrote:
Hi Matt,
If you do not have static serving enabled in your django application
mapping to /static/ in urls.py, then the content is being served by
Apache.
In settings.py I commented out the lines which assign MEDIA_ROOT,
MEDIA_URL, and ADMIN_MEDIA_PREFIX becaus
You can use geolocation
https://developers.google.com/maps/articles/geolocation and if that's not
accurate enough let the user provide his address and with it query Google's
https://developers.google.com/maps/documentation/javascript/geocoding API
The tricky bit here is if you want to get the l
I can also recommend https://github.com/HPNeo/gmaps as a wrapper, speeds up
and simplifies dealing with Google's API a lot.
On Sunday, 15 July 2012 17:30:16 UTC+2, Markus Gattol wrote:
>
> You can use geolocation
> https://developers.google.com/maps/articles/geolocation and if that's not
> accu
-- Sent from my phone, please excuse any typos. --
On Jul 15, 2012 11:02 AM, "Setiaman Lee" wrote:
> Hi,
>
> I want to implement hierarchy data model which is quite common in
> Relational Data Model.
>
> Let's say I have Employee model which has the relation to the boss which
> link to the employ
Now that you mention it I like this idea a lot better! Okay I've changed my
mind. My goal is to have the user input their location and then from there
I run that againist my database of artists and depending on the request
show the artists that are in those respective areas.
That's okay that yo
I recommend using django-mptt. I can't link to it cause I'm writing on my
phone, but it's easy to find it on Google.
Also, your foreign key should target self rather than Employee, IIRC.
Cheers,
AT
-- Sent from my phone, please excuse any typos. --
On Jul 15, 2012 11:02 AM, "Setiaman Lee" wrote
I've heard from many resources that Google Maps API is one of the main
preferred options. Thanks for sharing what you use!
What you have just explained seems to be a good option! Is the option to
use latitude and longitude a very common one? I'm not
as familiar as to which options of calculatio
I appreciate the input!
I've given the whole GeoIP and geolocation idea some thought and for me I
think I've decided for my desktop version to steer clear of those
sort of options for the time being. Why? Well I want their to be extreme
flexibility but also very accurate information. What do I m
Thanks for the tip! I will keep record of this!
On Sunday, July 15, 2012 11:31:40 AM UTC-4, Markus Gattol wrote:
>
> I can also recommend https://github.com/HPNeo/gmaps as a wrapper, speeds
> up and simplifies dealing with Google's API a lot.
>
> On Sunday, 15 July 2012 17:30:16 UTC+2, Markus Gat
It highly depends on what you want to do, the extension of the area you want to
cover, and things like that. There's different projection systems for each area
in the world, and making distance calculations on those projections is much
faster than on global (lat lon) coordinates, but they're no
Put 'Employee' or if that fails, 'appname.Employee' with the quotes, as a
string literal, this works for self-reference and reference loops.
-Mensaje original-
De: Andre Terra
Enviados: 15/07/2012 13:30:05
Asunto: Re: Hierarchy Model
I recommend using django-mptt. I can't link to it
What you have just explained seems to be a good option! Is the option to
> use latitude and longitude a very common one? I'm not
> as familiar as to which options of calculation have known to be the most
> stable, usable, fast, or efficient. Or there is any common
> knowledge about the such th
On Sunday, July 15, 2012 9:02:39 AM UTC-5, Setiaman wrote:
>
> Hi,
>
> I want to implement hierarchy data model which is quite common in
> Relational Data Model.
>
> Let's say I have Employee model which has the relation to the boss which
> link to the employee model itself.
> It will look like
Hi all!
Hope you still remember this post which helps dive into django. I have gone
really ahead with my developments, and now i'm willing to make some
optimization and have some few issues. I don't know if I should open a new
thread for each one. You will tell me, but I prefered to do it here bec
Hey,
thanks for your replies. so the general idea is to dont catch the 500's, if
there really is an situation which shouldnt happen. Thats was my first
thought too, so i think i will stick with that and just code defensivly
with exception-raising, when critical situations appear :)
On Saturday,
I think "letting to explode" is all about coloring the bike shed. It all
depends on a API contract - if parameter is required (thus meaning missing
it is a critical error) it should explode.
In case of incorrect request I prefer to raise 400 (Bad Request) with some
explanation what went wrong. Sin
Well as far as what I want to do I explained that above.
User requests in all directions a circle spanse of 25 miles i.e. and theres a
return of artists in that area.
As far as the area I want to cover I would like to start with the northern
virginia area and expand from there. A goal set for t
Awesome sounds like lat long is the way to go to be able to cover the entire US.
And yeah im pretty good at math thanks for the tip Ill work on that soon!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
Hi!
I'm trying to override the AdminFileWidget with no success. The idea is to
get a thumbnail
next to the uploaded files in a tabular view of the admin site. I did the
following :
class AdminImageWidget(AdminFileWidget):
def render(self, name, value, attrs=None):
--
Nicolas Emiliani
Lo u
Crap, hit the send key, there it goes. Sorry.
Hi!
>
> I'm trying to override the AdminFileWidget with no success. The idea is to
> get a thumbnail
> next to the uploaded files in a tabular view of the admin site. I did the
> following :
>
> class AdminImageWidget(AdminFileWidget):
> def rende
Hi,
I'm trying to use django admin tools with satchmo, I installed satchmo in
my dev machine and made a store with clonesatchmo.py
after that the store seemed to be running fine, so I installed
django-admin-tools using the instructions on their website
but I didn't manage to make it work, I spe
Hi,
How about telling us what are you trying to achieve by comparing to
previous state of the object?
On Sun, Jul 15, 2012 at 1:49 AM, Nicolas Emiliani wrote:
> Hi,
>
> Is there a way to access the state of a Model object prior to it's
> modification through a form ?
> Kind of a nasty question
I'm also thinking since Northern VA is so big in terms of people if I get a
good thing going here I can port that to other major cities but if I find a
less server heavy method I can use that for smaller areas possibly. Not
sure, I'll see.
JJ
On Sunday, July 15, 2012 1:22:10 PM UTC-4, Nicolas
By UTM do you mean Universal Transverse Mercator?
Well hmm I'm not quite sure what issue i would run into with someone living
on the edge of the zone.
Typically this request is a one time thing. The request goes in and the
person either is within (on the line inside) the boundary
or they are ju
Or if your database backend supports spatial fields, you can let the
database to do the hard work and use Geodjango (built-in GIS extension)
which supports spatial operations like query by distance within.
I think most standard databases can do that (mysql, postgresql, sqlite,
oracle) but I would
Yeah I'm trying to get GeoDjango set up as we speak. GeoDjango sounds
awesome.
I have postgresql and Im trying to install postgis but im getting this:
jjz@jjz-Laptop:~$ wget
http://postgis.refractions.net/download/postgis-1.5.2.tar.gz
--2012-07-15 19:40:12--
http://postgis.refractions.net/dow
On 7/15/12 4:41 PM, JJ Zolper wrote:
Yeah I'm trying to get GeoDjango set up as we speak. GeoDjango sounds
awesome.
I have postgresql and Im trying to install postgis but im getting this:
FIx your errors in the configure step before bothering to try building.
In this case you need libxml2 insta
When an rpc json call returns escaped unicode from python (something like
\u00e8), how do I decode in javascript those escaped characters? (Is it
really as complicated as indicated here:
http://www.rishida.net/tools/conversion/conversionfunctions.js)
I tried the rpc functions at http://rpc4d
Thanks, was looking for something like this.
On Jul 14, 4:55 pm, -RAX- wrote:
> Hi all,
>
> I am opensourcing a tool for cleaning all the media upload files.
> It is basically browsing your DB and deleting all the media files which are
> not linked by the DB.
>
> We implemented this tool since dj
Thanks, was looking for something like this.
On Jul 14, 4:55 pm, -RAX- wrote:
> Hi all,
>
> I am opensourcing a tool for cleaning all the media upload files.
> It is basically browsing your DB and deleting all the media files which are
> not linked by the DB.
>
> We implemented this tool since dj
On Sun, Jul 15, 2012 at 8:10 PM, Jani Tiainen wrote:
> Hi,
>
> How about telling us what are you trying to achieve by comparing to
> previous state of the object?
>
>
Well, the model has a boolean field called published, and a publish_date
that gets set "automatically"
when the user through the a
Hi All,
It works by blocking it with the single quote. :)
Thanks for the help.
Cheers,
Setiaman
On Jul 16, 2012 2:44 AM, "yarko" wrote:
>
>
> On Sunday, July 15, 2012 9:02:39 AM UTC-5, Setiaman wrote:
>>
>> Hi,
>>
>> I want to implement hierarchy data model which is quite common in
>> Relationa
I am familiar with the use of Field.choices for text.
However, I'd like the same option for images. Is this possible? I want
users to select one image from a list of 3 and be able to save this. They
can later come back in and change it if they wish. I know that in order to
save this, it mus
На Sun, 15 Jul 2012 18:26:02 -0700 (PDT)
croberts написа:
> I am familiar with the use of Field.choices for text.
>
> However, I'd like the same option for images. Is this possible? I
> want users to select one image from a list of 3 and be able to save
> this. They can later come back in and
41 matches
Mail list logo