Thats strange; Can you elaborate the problem a little;
I have been using Ubuntu9.04 and I couldn't be happier. I don't know how
any other environment can be even more conducive to development.
2009/7/4 wei ribao
>
> I am using ubuntu9.04 too. I have a long-standing trouble.
>
> When using pdb t
def execute_from_command_line():
from django.core.management import setup_environ
sys.path.append(projectpath)
try:
import settings
except ImportError:
print "You don't appear to have a settings file in this directory!"
print "Please run this from inside a
I am using ubuntu9.04 too. I have a long-standing trouble.
When using pdb to debug, set pdb.set_trace() to bring up the interactive shell,
i cannot use arrow keys.
It is all ok in windows. And I can find anything from google.
How do you guys slove that?
On Fri, Jul 03, 2009 at 03:56:14PM -
I also agree that
2009/7/3 ristretto.rb :
>
> Hello,
>
> I have stepped through code, and cruised the django docs, forums, and
> internet in general looking for how to setup an empty label with
> TypedChoiceField (or ChoiceField.) I suspected it would be done
> similar to the way it is done with
On Saturday 04 July 2009 01:31:57 Mike Ramirez wrote:
> > I'm on ubuntu now, its going ok. I'm having keyboard issues, and
> > wondering if I should put the time in on fixing it, or just ditch it
> > for say, pc-bsd, if thats what the cool django kids are using.
>
> In my experience, the simple tr
Thanks Ian!
I'll try the new version first.
Wanpeng
On Fri, Jul 3, 2009 at 5:33 PM, Ian Kelly wrote:
>
> On Jul 3, 6:13 am, Wanpeng wrote:
> > Hello,
> > I am writing my first app in Django. I already have existing
> > tables/sequences/triggers in Oracle. so I used "inspectdb" to generate
> t
It doesn't matter. All you have to consider is what kind of modules are you
going to be working most of the time and evaluate how easy or hard it is to
compile them or install them in that OS. I personally choose any debian
based distro because apt-get/aptitude package manager is very powerfull. I
Of course it should be default_if_none template tag, but it mangled my
link
On Jul 3, 3:43 pm, Some Guy wrote:
> Hi,
> I wonder if anyone has ideas about the best way to do this.
>
> My field shows up as (None) in the change_list view on admin. I would
> love to have a behavior similar to defau
Hi,
I wonder if anyone has ideas about the best way to do this.
My field shows up as (None) in the change_list view on admin. I would
love to have a behavior similar to default_if_none template tag.
My Ideas
1. making a new template just for this seems difficult.
2.I cou
Heavy linux user but are moving to OSX , especially the webdev's
On Fri, Jul 3, 2009 at 7:31 PM, Dhruv Adhia wrote:
> I ve been PC user for almost a decade, getting enough frustration , I
> shifted to mac osx and I am happy with it. Much less configuration required.
> I ve just installed Linux
It should not matter. Any modern Linux Distro which supports the
dependencies will be no different.
The only conceivable way this question makes sense is if you want to make
install or deployment easy. In which case use something thats based on a
debian, fedora type distro where there is heaps of
I ve been PC user for almost a decade, getting enough frustration , I
shifted to mac osx and I am happy with it. Much less configuration required.
I ve just installed Linux Ubuntu yesterday. Lets see how it goes with Linux.
Cheers,
On Fri, Jul 3, 2009 at 2:41 PM, Evandro Viana wrote:
> Debian
Debian or Slackware
more
the best for developer is OSX
On Fri, Jul 3, 2009 at 6:28 PM, Tim Chase wrote:
>
> > Looking for opinion of the best distro for a developer machine for
> > django.
> >
> > I'm on ubuntu now, its going ok. I'm having keyboard issues, and
> > wondering if I should put th
On Jul 3, 6:13 am, Wanpeng wrote:
> Hello,
> I am writing my first app in Django. I already have existing
> tables/sequences/triggers in Oracle. so I used "inspectdb" to generate the
> models for django. Here's one model for example:
>
> class Instructors(models.Model):
>
>
>
> > instructorid
> Looking for opinion of the best distro for a developer machine for
> django.
>
> I'm on ubuntu now, its going ok. I'm having keyboard issues, and
> wondering if I should put the time in on fixing it, or just ditch it
> for say, pc-bsd, if thats what the cool django kids are using.
I've done Dj
Greetings,
I am designing an application that is very simple like flatpages but I
need the ability to associate a menu with the content which will be
done through the URL (i.e. example.com/products/widget2009 would
invoke the products menu and the widget2009 static page).
I expect these pages to
2009/7/3 developingchris
>
> Looking for opinion of the best distro for a developer machine for
> django.
>
> I'm on ubuntu now, its going ok. I'm having keyboard issues, and
> wondering if I should put the time in on fixing it, or just ditch it
> for say, pc-bsd, if thats what the cool django ki
And in my experience - Gentoo will be better for developers
Mike Ramirez пишет:
> On Friday 03 July 2009 11:36:04 am developingchris wrote:
>> Looking for opinion of the best distro for a developer machine for
>> django.
>>
>> I'm on ubuntu now, its going ok. I'm having keyboard issues, and
>> won
On Friday 03 July 2009 11:36:04 am developingchris wrote:
> Looking for opinion of the best distro for a developer machine for
> django.
>
> I'm on ubuntu now, its going ok. I'm having keyboard issues, and
> wondering if I should put the time in on fixing it, or just ditch it
> for say, pc-bsd, if
I use Ubuntu 9.04, works great on a XPS M1530 Laptop
Vitaly Babiy
On Fri, Jul 3, 2009 at 2:36 PM, developingchris
wrote:
>
> Looking for opinion of the best distro for a developer machine for
> django.
>
> I'm on ubuntu now, its going ok. I'm having keyboard issues, and
> wondering if I should
Looking for opinion of the best distro for a developer machine for
django.
I'm on ubuntu now, its going ok. I'm having keyboard issues, and
wondering if I should put the time in on fixing it, or just ditch it
for say, pc-bsd, if thats what the cool django kids are using.
--~--~-~--~~
Great, koenb, now its getting even clearer to me! :-)
Thanks for the light,
Diogo
On Jul 3, 3:10 am, koenb wrote:
> On 3 jul, 04:59, diogobaeder wrote:
>
> > But where do I put the custom template, than? If I load it from an app
> > template, I must create it under /templatetags/, and what
2009/7/3 Alex Gaynor :
>
>
> On Fri, Jul 3, 2009 at 12:25 PM, Emily Rodgers
> wrote:
>>
>>
>>
>> On Jul 3, 3:29 pm, Emily Rodgers
>> wrote:
>> > On Jul 1, 3:44 pm, Alex Gaynor wrote:
>> >
>> >
>> >
>> > > On Wed, Jul 1, 2009 at 9:39 AM, Emily Rodgers <
>> >
>> > > emily.kate.rodg...@googlemail.
On Fri, Jul 3, 2009 at 12:25 PM, Emily Rodgers <
emily.kate.rodg...@googlemail.com> wrote:
>
>
>
> On Jul 3, 3:29 pm, Emily Rodgers
> wrote:
> > On Jul 1, 3:44 pm, Alex Gaynor wrote:
> >
> >
> >
> > > On Wed, Jul 1, 2009 at 9:39 AM, Emily Rodgers <
> >
> > > emily.kate.rodg...@googlemail.com> wr
On Jul 3, 3:29 pm, Emily Rodgers
wrote:
> On Jul 1, 3:44 pm, Alex Gaynor wrote:
>
>
>
> > On Wed, Jul 1, 2009 at 9:39 AM, Emily Rodgers <
>
> > emily.kate.rodg...@googlemail.com> wrote:
>
> > > On Jul 1, 3:22 pm, Alex Gaynor wrote:
> > > > On Wed, Jul 1, 2009 at 9:16 AM, Emily Rodgers <
>
> >
Hello All,
I am trying to send information from iPhone to django app through
json.
I got "Message" json block spitting in the form as below:
message json format
{
"Messages": [
{
"id":1.2.3.n,
"Message": "some message"
Thanks!
Related question: when displaying a ModelForm, how does Django
iterate/enumerate how many fields the model has?
On Jul 3, 1:16 am, Jonathan Buchanan
wrote:
> On Fri, Jul 3, 2009 at 6:06 AM, TechnicalBard wrote:
>
> > To clarify, the djangobook states:
>
> > << On the admin site’s edit
Hi,
I only recently realised that a django subreddit existed, and since
then I have been learning interesting new things from it, so I thought
I would share it for the benefit of those of you that don't read
reddit:
http://www.reddit.com/r/django/
Em
--~--~-~--~~~---
On Jul 3, 9:17 am, Nikola Pavlović wrote:
> Hello people,
>
> I'm writing my first Django application and would like to know what is
> considered more efficient: getting values of models' attributes in views
> or directly in templates?
>
> More precicely, say we have a Person model with name an
On Jul 3, 8:57 am, 1angrycats
wrote:
> Great suggestion Rajesh.
>
> I've shifted everything into a custom context processor and
> everythign's runnign well, with the view showing and emailing from any
> page, however there's a final step I'm looking to resolve: returning
> the HttpResponseR
Correct settings, Finally!! Note use of "full" path and forward
slashes
Hope it helps someone else!
if settings.DEBUG:
urlpatterns += patterns('',
(r'^media/(?P.*)$', 'django.views.static.serve',
{'document_root':'/Users/DadLaptop/Documents/E1workspace/django_yabba/
src/django_yab
On Fri, Jul 3, 2009 at 12:27 AM, neridaj wrote:
>
> I'm still unable to get this working. I am on shared hosting and
> cannot change mod_fastcgi to mod_wsgi so I am completely out of ideas.
> If it's this much of an issue to simply render a page, I guess I
> should find better hosting or use a ph
On Thu, Jul 2, 2009 at 11:52 PM, Joru wrote:
>
> is this posible?
Maybe.
>
> anyone have solution for this?
>
Searching for 'sort' on this page:
http://docs.djangoproject.com/en/dev/ref/contrib/admin/
brings you to a description of the admin_order_field attribute of things in
list_display
On Jul 1, 3:44 pm, Alex Gaynor wrote:
> On Wed, Jul 1, 2009 at 9:39 AM, Emily Rodgers <
>
>
>
> emily.kate.rodg...@googlemail.com> wrote:
>
> > On Jul 1, 3:22 pm, Alex Gaynor wrote:
> > > On Wed, Jul 1, 2009 at 9:16 AM, Emily Rodgers <
>
> > > emily.kate.rodg...@googlemail.com> wrote:
>
> > >
On Thu, Jul 2, 2009 at 3:25 PM, jayvandal wrote:
> Is this what You mean??
>
No. That's way too much and too hard to follow. This is the part that can
be usefully cut and pasted into email:
Environment:
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.1 alpha 1 SV
Hello people,
I'm writing my first Django application and would like to know what is
considered more efficient: getting values of models' attributes in views
or directly in templates?
More precicely, say we have a Person model with name and id attributes,
and these need to be shown on a page.
On Jul 3, 8:38 am, Geoff wrote:
> Dear Django users,
>
> I am writing my first Django application (also new to Python and have
> not done any web programming for many years) and am trying to produce
> a screen which allows a row to be added to a table (I know this can be
> done in admin but once
Great suggestion Rajesh.
I've shifted everything into a custom context processor and
everythign's runnign well, with the view showing and emailing from any
page, however there's a final step I'm looking to resolve: returning
the HttpResponseRedirect within the context processor fails silently.
T
Great suggestion Rajesh.
I've shifted everything into a custom context processor and
everythign's runnign well, with the view showing and emailing from any
page, however there's a final step I'm looking to resolve: returning
the HttpResponseRedirect within the context processor fails silently.
T
Thanks Rajesh.
Taking a quick look at the book on Safari Bookshelf, I've drawn the
conclusion that since filtering is an algorithmic type operation, it
can legitimately be specified with query parameters.
I'm struggling to align this with REST's requirement to be hypertext
driven [1], unless the
Hello,
I am writing my first app in Django. I already have existing
tables/sequences/triggers in Oracle. so I used "inspectdb" to generate the
models for django. Here's one model for example:
class Instructors(models.Model):
> instructorid = models.IntegerField(db_column='INSTRUCTORID',
> prim
Might work, feels a bit hacky though.
Thanks, Michael
2009/7/3 Boštjan Jerko :
>
>
> On 3.7.2009, at 11:36, Michael Stevens wrote:
>
>>
>> Hi.
>>
>> Is there a nice way to use a separate db user when running tests?
>>
>> I don't want my main user to have to have permissions to do things
>> like
Rama - I know about TEST_DATABASE_NAME, but I want to use a different
user as well.
2009/7/3 Boštjan Jerko :
>
>
> On 3.7.2009, at 11:36, Michael Stevens wrote:
>
>>
>> Hi.
>>
>> Is there a nice way to use a separate db user when running tests?
>>
>> I don't want my main user to have to have perm
On 3.7.2009, at 11:36, Michael Stevens wrote:
>
> Hi.
>
> Is there a nice way to use a separate db user when running tests?
>
> I don't want my main user to have to have permissions to do things
> like creating databases.
>
> I'm currently experimenting with doing something with a separate
> set
Dear Django users,
I am writing my first Django application (also new to Python and have
not done any web programming for many years) and am trying to produce
a screen which allows a row to be added to a table (I know this can be
done in admin but once I have it working I will add more features).
want to make site like washington post
how to make? script or code cam u share?
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-users@googleg
Hi,
In the session module in backends/base.py _get_new_session_key
creates a random string - the session_key which is sent to the user as
a session_cookie.
The encode function takes the session_dict pickle it and hash it with
md5(pickle + secretKey)
The encoded result is saved to the database.
you can use the setting TEST_DATABASE_NAME
http://docs.djangoproject.com/en/dev/ref/settings/#test-database-name
--rama
On Jul 3, 2:36 pm, Michael Stevens wrote:
> Hi.
>
> Is there a nice way to use a separate db user when running tests?
>
> I don't want my main user to have to have permission
Hi.
Is there a nice way to use a separate db user when running tests?
I don't want my main user to have to have permissions to do things
like creating databases.
I'm currently experimenting with doing something with a separate
settings.py file but it doesn't feel nice.
Michael
--~--~-
That makes sense. I remember now that I came across a section in the
Docs that talks about extending the User model to store more
information. When using the session it's easy to store things like
queryresults ... . I'll have to figure out how to do that efficiently
when using the User model.
Any
Hi all.
I'm playing around a bit with subclassing, and this is what I have:
class Contact(models.Model):
class Company(Contact):
class Person(Contact):
So Contact has all the common details, while the Company has a title
and Person has a first name and a last name
Thanks for your reply. I will implement it and get back to you.
Jayapal D
On Jul 2, 10:54 pm, jai_python wrote:
> Hi Friends. Can any one help me to implement or invoke Django
> defaultadminlistfilterin our own application.
>
> Thanksinadvance,
> Jayapal D
--~--~-~--~~~
I want to stop join group
--~--~-~--~~~---~--~~
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 from this group, send email to
django-
On Fri, Jul 3, 2009 at 6:06 AM, TechnicalBard wrote:
>
> To clarify, the djangobook states:
>
> << On the admin site’s edit forms, each field’s label is generated
> from its model field name. The algorithm is simple: Django just
> replaces underscores with spaces and capitalizes the first characte
54 matches
Mail list logo