hi,
I am trying to use GeoIP part of GeoDjango. I importing it by from
django.contrib.gis.utils import GeoIP but getting import error. Do I
have to install someting or do the whole installation process for
GeoDjango? Or what is the minimum requirements just for GeoIP
Thanks,
James
--
You
On Sat, Jul 17, 2010 at 7:26 AM, gary_p wrote:
> I read data from instruments, and/or
> enter parameters by hand, then run an app that crunches the data
> producing graphs and, in my dreams, animations. Can Django do this
> smoothly?
Sure. But, when you are doing charts
Hi,
I was wondering whether its possible to have something similar to virtual
private queries/databases via the django ORM?
As in, the Oracle database provides something called VPD by which policies
can be enforced wherein a user sees data only that he is allowed to see. (
Hello Django users/developers
We are looking for senior Django developers for Austin/San Jose with
excellent pay and premium benefits. You can see job opening at
http://www.cisco.apply2jobs.com/index.cfm?fuseaction=mExternal.showJob=872502=1.
Java is not a must skill set but Django & Python
On Jul 16, 7:46 pm, uday wrote:
> Hi,
>
> I need to design a simple web app that would mostly display data
> from an xml file in different forms(like graphs,charts etc) after some
> processing.I have to do this in two weeks
> I don't have any web development
On Friday 16 July 2010 18:56:12 Ravango wrote:
> ust call the Bioinformatics application from the "views.py".
>
yes
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
On Friday 16 July 2010 20:33:47 Venkatraman S wrote:
> > wrote:
> >
> > PostgreSQL is better supported by South, the leading django database
> > migration tool.
>
> Is it so?? I didnt know this. Doesnt work 'properly' with SQLite3/MySQL?
> What do you mean by 'support' here?
> I thought South was
On Fri, Jul 16, 2010 at 7:09 PM, Greg Pelly wrote:
> I recommend finding an external host. They are cheap and you won't have to
> worry about hardware/backups/administration yourself.
i second that. if you have a distributed team, this is a huge
timesaver. i'm happily using
This doesn't really have much to do with Django, but here is my 2 cents:
If you have no experience with version control software, I'd recommend that
you start with subversion. There are more advanced tools (git and mercurial
being the favorites right now), but there is a steep learning curve if
Hello Django users,
My Django-driven web application has grown fast and large enough and
more programmers are contributing code and UI components that I would
like to set up a source code management software. I would be glad if
you could share your experience as to what software I should use. I
Hi,
I need to design a simple web app that would mostly display data
from an xml file in different forms(like graphs,charts etc) after some
processing.I have to do this in two weeks
I don't have any web development background.I am more of a systems
programmer and thus use C/C++ a lot.But
Thanks, that was able to get that fixed!
On Jul 16, 4:10 pm, Tim Chase wrote:
> On 07/16/2010 04:26 PM, Duncan wrote:
>
> > Request URL:http://[redacted]/seeds/
> ...
> > 1. ^seeds/ ^/$
> ...
> > urlpatterns = patterns('',
> > (r'^seeds/',
I've got a logical record 0f 500 columns that is broken up into about 20
tables based on an implicit logical grouping of the data. Most of the
time this works well and the code is clean; but there are a few use
cases where I need to get all the equivalent fields for a single record
from all the
aha...
thanks for that
My development server is linux but I always test locally on windows
before uploading...
Will try this out, thanks...
Maybe I should setup a linux local test environment
On 16 July, 23:40, Ivan wrote:
> Hi Justin,
>
> I guess, you are using Windows OS,
On 07/16/2010 04:26 PM, Duncan wrote:
Request URL: http://[redacted]/seeds/
...
1. ^seeds/ ^/$
...
urlpatterns = patterns('',
(r'^seeds/', include('seeds.general.urls')),
While you don't include seeds.general.urls in your post, given
the traceback you kindly included, it looks
"What am I doing wrong..."
First, you aren't asking for help in the proper venue. I'm Cc'ing the
django-users mailing list, which is where your question belongs, and to which I
know you subscribe.
Second, your question is badly put together. You need to learn to ask better
questions. In
Hi Justin,
I guess, you are using Windows OS,
From
http://stackoverflow.com/questions/2615968/installing-virtualenvwrapper-on-windows
virtualenvwrapper does not work in Windows, unless you are using cygwin.
Alternate solution is Virtualenv Helper for Windows
2010/7/15 fabiofz :
> Hi All,
>
> I'm currently working on providing an editor for django templates in
> Pydev (http://pydev.org).
>
> Now, while I do work with django templates sometimes, my experience is
> a bit limited with it -- so far I used it only for .html files,
>
I am using modelForm to make a form for my Brew model. The form shows
up and works fine. And saves it when I call save. But it does not
catch the errors correctly. I set it up mostly based on this example:
from django.core.validators import ValidationError, NON_FIELD_ERRORS
try:
I had this same problem. Try this for your return statements, if
you're using render_to_response:
return render_to_response("a_template.html", c,
context_instance=RequestContext(request))
The context_instance was the key in my case. You'll need to add it to
all your views though.
--
You
Hello,
I'm trying to figure out why a django app on my server isn't running.
I've attempted to validate my django install by setting up a test
application as per http://www.djangobook.com/en/1.0/. The test app
lets me load pages just fine, with the Hello World and Time examples
they give working.
Hi,
sorry was
c:\django>mkvirtualenv myblog
'mkvirtualenv' is not recognized as an internal or external command,
operable program or batch file.
but I figured out that on windows virtualenv myblog works
but now (folowing tutorial as bottom),
workon myblog porduces error:
c:\django>workon
Hi Justin,
What is the error message?
Cheers,
Ivan
On Sat, Jul 17, 2010 at 7:09 AM, justin jools wrote:
> RE: http://djangoadvent.com/1.2/everything-i-hate-about-mingus/
> I tried following this to install Django-Mingus, it says it is easy
> but not for a newbie who
I am having some problems with CSRF and I need some directions.
In my project (using version 1.2 django), I have included both
CSRFResponseMiddleware and CSRFViewMiddleware in the settings.py file.
I also including the tag {% csrf_token %} in my template next to the
form tag. Even after all
RE: http://djangoadvent.com/1.2/everything-i-hate-about-mingus/
I tried following this to install Django-Mingus, it says it is easy
but not for a newbie who knows nothing about virtualenv! tsk!
I don't have pip so I ran easy_install
1. easy_install virtualenv... no problem
2. easy_instal
I got around this problem by downgrading from jython 2.5.2beta1 to
jython 2.5.1.
Hope that helps!
Tim.
On 15/07/10 22:47, Jose Flores wrote:
Hi guys,
Any workaround on this issue?
Regards,
Jose
On Jul 8, 2:43 pm, Rafael Nunes wrote:
Same problem here.
Any
On Fri, 2010-07-16 at 20:33 +0530, Venkatraman S wrote:
> I thought South was DB agnostic.
It is, but databases provide different feature sets. If databases were
all the same there would not be so many to choose from.
--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Development, 24x7
Hi,
Looking at Django's forms/fiedls.py may give you some ideas.
The test for an empty value is
if value in validators.EMPTY_VALUES
You can also use self.required to see if the required attribute is set
(e.g., see Field's validate() method).
Of course, a username with a single space will
Is there a recommended way of implementing object permissions with
Django's User authentication systems (i.e. a way of enforcing access/
authorisation restrictions on an object-basis)?
The Django documentation states that there is "a foundation for object
permissions, though there is no
Do you plan to do anything really fancy that requires some
server-specific features? If not this becomes more of a deployment
question. If you're just starting with Django, using sqlite3 instead
of PostgreSQL or MySQL is just fine (depending on your project). For
later and for me personally
> this is a religious question especially without any information
> about your case. so, follow your faith :-)
>
> --
> Javier
Or like comparing a balero to paddle ball. The firmer your grip on
databases, the more useful PostgreSQL becomes. At the same time, the
firmer your grip on
Hi guys!
I've found the sollution. If I use to following code, it works:
"""
from django.views.generic.simple import direct_to_template
urlpatterns = patterns('',
(r'^$', cache_page(direct_to_template, 60*15),
{'template':'home.html'}),
)
"""
Note that I specify the cache timeout in the
Disclaimer: I'm no sage, I just didn't ask the question you asked and
was/am figuring it out on my own.
My advice; http://pinaxproject.com/ , set up the virtual environment
and look through the library. Also, http://www.databaseanswers.org/data_models/
, this seems like less of a 'Django
Hello,
I'm happy to announce the availability of the version 0.3.0 of
django-admin-tools.
Django-admin-tools is a collection of extensions/tools for the default
django administration interface, it includes:
* a full featured and customizable dashboard,
* a customizable menu bar,
*
Thanks! That was quite helpful.
On Jul 16, 6:57 pm, Javier Guerra Giraldez wrote:
> On Fri, Jul 16, 2010 at 4:38 AM, barun wrote:
> > The question am pondering over is, whether I should create separate
> > apps for each of these sections. I'll have
On Fri, Jul 16, 2010 at 7:29 PM, Alex Robbins wrote:
> PostgreSQL is better supported by South, the leading django database
> migration tool.
Is it so?? I didnt know this. Doesnt work 'properly' with SQLite3/MySQL?
What do you mean by 'support' here?
I thought
Hi guys, could you explain how can i map python class into amf
request. I saw documentation, samples, but it's not working yet.
Example:
I need to return by gateway the Django User Object:
from pyamf.remoting.gateway.django import DjangoGateway
from pyamf import register_class
import
On Jul 16, 2:56 pm, Chris Seberino wrote:
> On Jul 15, 3:57 am, Oleg Lomaka wrote:> First without
> javascript. You cat check URL of HttpRequest and if it is without
>
> #anchor element, then send redirect to the same URL with #anchor.
>
> Yes
Hi guys,
I'm migrating a project from django1.1 to django1.2.1 and I have
problems with cache.
I used to write on the urls:
"""
from django.views.generic.simple import direct_to_template
urlpatterns = patterns('',
(r'^$', cache_page(direct_to_template), {'template':'home.html'}),
)
"""
PostgreSQL is better supported by South, the leading django database
migration tool. It allows you to make schema altering migrations
within a transaction, so they can be rolled back if the migration
fails. On MySQL you are just left with a half-migrated database.
Also, if you are going to use
On Fri, Jul 16, 2010 at 7:10 AM, Doane wrote:
> I'm a new Django user. Which database management system should I use
> in developing Django apps, MySQL or PostgreSQL? Why?
this is a religious question especially without any information
about your case. so, follow your
On Fri, Jul 16, 2010 at 4:38 AM, barun wrote:
> The question am pondering over is, whether I should create separate
> apps for each of these sections. I'll have different database tables
> for each of those sections. Or should all the sections come under a
> single app,
On Jul 15, 3:57 am, Oleg Lomaka wrote:
> First without javascript. You cat check URL of HttpRequest and if it is
> without
#anchor element, then send redirect to the same URL with #anchor.
Yes redirection is a great non-Javascript way to do this.
Is there ANY way to
On Jul 15, 3:44 am, Daniel Roseman wrote:
> window.location = window.location + '#whatever'
I added that code to script element in head and it didn't work.
I have a TinyMCE javascript editor that gets run too. I don't know if
that is conflicting or if there is
Yes, that's it. A web service that would be running a top of a web
server. I have built a bioinformatics application, which I would be
offering as a web service. The question is when I'm using Django, once
I get the user input and process it (writing it into a file), can I
just call the
Just as I thought, such a simple thing.
Thanks, very much now it's working. :)
On 16 Lip, 15:03, Nuno Maltez wrote:
> On Fri, Jul 16, 2010 at 1:56 PM, maciekjbl wrote:
> > urlpatterns = patterns('django.views.generic.list_detail',
> >
To complete the story, in case someone finds this in the future, I
ended up with the following which at the time of this writing seems to
work:
class MyNullBooleanField(models.NullBooleanField):
"""Designed to work with how Microsoft Access stores booleans as
-1 and 0 into MySQL.
The
On Jul 16, 7:56 am, Ravango wrote:
> I mean by web server, running a web site, which anyone could use to
> perform a specific task. In my case, I would be running a program that
> people might be interested to use. Towards building a web server,
> currently, using Django, I'm
On Fri, Jul 16, 2010 at 5:43 AM, Jx wrote:
> 129. self._callback = get_callable(self._callback_str)
> File "/usr/local/lib/python2.6/dist-packages/django/utils/
> functional.py" in wrapper
> 124. result = func(*args)
> File
On Fri, Jul 16, 2010 at 1:56 PM, maciekjbl wrote:
> urlpatterns = patterns('django.views.generic.list_detail',
> url(r'^(?P[-\w]+)/$', 'object_detail', info, name="link-
> prod"),
> url(r'^$','object_list', info, name="link-home"),
>
> )
>
> urlpatterns +=
I'm trying to create a custom form field that will validate against
auth.user. The field should throw a validation error if the user does
not exist, otherwise the field should validate.
So far I have:
class ExistingUserField(forms.CharField):
def clean(self, value):
# Check if the
I mean by web server, running a web site, which anyone could use to
perform a specific task. In my case, I would be running a program that
people might be interested to use. Towards building a web server,
currently, using Django, I'm creating a local web server.
On Jul 16, 1:44 pm, Kenneth
Hi,
I done a little search function in my app, it isn't working at all.
Now I don't know if it's problem with query, views or something else.
My code
# views.py
from django.shortcuts import render_to_response
from django.db.models import Q
from web_aplikacje.produkty.models import Produkt,
On 16 July 2010 13:30, Luca Casagrande
wrote:
> On Jul 16, 2:22 pm, Daniel Roseman wrote:
>> On Jul 16, 1:18 pm, Luca Casagrande wrote:
>>
>> > Hello everybody,
>> > is it possible to filter data inside template? I
Hi all,
Well,
I will begin setting up a machine to host my
applications python / django. My questions are:
1º - Requeriments to configure this machine. My application is a form
where i enter with parameters, generate a image, .dat file and pdf
file and will have several internal and external
On Jul 16, 1:18 pm, Luca Casagrande wrote:
> Hello everybody,
> is it possible to filter data inside template? I have 2 models with a
> foreignkey relationship:
>
> class Requests(models.Model):
> name = models.CharField(max_length=16)
> surname =
Hello everybody,
is it possible to filter data inside template? I have 2 models with a
foreignkey relationship:
class Requests(models.Model):
name = models.CharField(max_length=16)
surname = models.CharField(max_length=16)
class Information(models.Model):
request =
I'm a new Django user. Which database management system should I use
in developing Django apps, MySQL or PostgreSQL? Why?
Thanks...Doane
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On Friday 16 July 2010 14:51:22 Ravango wrote:
> I've just started using Django for my project to create a web server.
>
what do you mean by 'web server'?
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
--
You received this message because you are subscribed to the Google
Hi All,
I need some sage advice on creating Django apps.
Currently I'm developing a web application, which has few distinct
sections like, Theory, Self-evaluation, Results, References, Feedback
and so on. Kinda online tutorial site. :)
The question am pondering over is, whether I should create
Hi,
I've just started using Django for my project to create a web server.
I've written a software in Python which does some operations on the
input and produce an output. Yes, the input is user provided on a web
server, and the output is displayed on the web. So, where do I call
the Python
Hi,
i'm encountering some weird error in the template of my application.
The error enountered was:
Traceback:
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/
base.py" in get_response
100. response = callback(request,
*callback_args, **callback_kwargs)
(While slapping my forehead) ... figured it out. Have to remove
"models" as a prefix to MyNullBooleanField, as of course, the field
definition is not in models.
forinvoice.MyNullBooleanField(null=True,
db_column='forinvoice', blank=True)
Now to get on debugging the functionality of the new
Tom,
Thanks ... Can I get a bit more of your brain power. I'm struggling
with understanding the custom-model-fields document sufficient to
allow me to do it.
At the top of the models.py files, I put in:
class MyNullBooleanField(models.NullBooleanField):
"""Designed to work with how
64 matches
Mail list logo