On Wed, Oct 22, 2008 at 12:30 PM, Brandon Taylor
<[EMAIL PROTECTED]> wrote:
>
> The error is:
> Reverse for '' with arguments '()'
> and keyword arguments '{}' not found.
...
> I see there is an closed ticket: http://code.djangoproject.com/ticket/8571.
> I have cleared out all of my .pyc files as
On Thu, Oct 23, 2008 at 3:54 AM, Rit Lim <[EMAIL PROTECTED]> wrote:
>
> which one is the Django community moving toward to, mercurial or git?
> if Django is to be moved...
Several of the core developers are already using distributed version
control systems to manage their activities. Git, for exa
On Fri, Oct 24, 2008 at 10:16 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> OK, I have a model with a many to many relationship.. pretty
> straightforward pre-1.0 code:
>
> class SpecialEvent(models.Model):
>sponsors = models.ManyToManyField(Advertiser, related_name="event
> sponsors",
On Sat, Oct 25, 2008 at 3:55 AM, Andrew Chapman <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> Very much a Django newbie here, I'm trying to evaluate a few things
> before diving right in.
>
> I was all set to write something in Ruby Rails, but the reason for
> looking at Django is because I also
On Mon, Oct 27, 2008 at 6:05 AM, Andrew Chapman <[EMAIL PROTECTED]> wrote:
>
> Russell Keith-Magee wrote:
>> On Sat, Oct 25, 2008 at 3:55 AM, Andrew Chapman <[EMAIL PROTECTED]> wrote:
>>
>>> My question is how to package up and deploy the Django python co
On Thu, Oct 30, 2008 at 5:37 PM, GAEFans <[EMAIL PROTECTED]> wrote:
>
> How to run testcases of %Django_Home%/tests/* ?
By following the instructions:
http://docs.djangoproject.com/en/dev/internals/contributing/#running-the-unit-tests
Yours,
Russ Magee %-)
--~--~-~--~~~
On Fri, Oct 31, 2008 at 4:08 PM, Tonne <[EMAIL PROTECTED]> wrote:
>
> So, what I've done is use Model.objects.values() to limit the returned
> values, which is not ideal as I'm losing the objectness of the
> queryset.
>
> I've worked around the loss Queryset.get_absolute_url by using a less
> than
On Fri, Nov 7, 2008 at 1:00 AM, AndyH <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have the following simple test which demonstrates the confusing
> behaviour I'm seeing:
>
> class AvailabilityTestCase(django.test.TestCase):
>fixtures = FIXTURE_LIST
>def setUp(self):
>response = sel
On Fri, Nov 7, 2008 at 8:17 AM, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> GenericForeignKey and content type application itself look very doubtful for
> me. If you have a ForeignKey to the ContentType model then you depends on
> order with ContentType objects creates on syncdb. Because ContentTyp
On Sat, Nov 8, 2008 at 5:13 AM, Dana <[EMAIL PROTECTED]> wrote:
>
> Hey everyone,
>
> I just set up a few fixtures for some of my models and realized that
> every time I syncdb it changes the existing data in my database. I
> assume this is normal behavior, but I was wondering if it is possible
>
On Sat, Nov 8, 2008 at 1:35 AM, Ivan Tarradellas <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> With Django, what is the easy and best way to serialize/deserialize
> objects that are no Django objects?
>
> django.core.serializers only works with Django objects. But what
> happens if we have other obje
On Sat, Nov 8, 2008 at 1:19 PM, Dana Woodman <[EMAIL PROTECTED]> wrote:
>
>> Having an option to add data in the way you describe isn't really a
>> good idea. If the syncdb behaviour was changed to add rather than
>> overwrite initial data, you would have a different (and IMHO much
>> worse) conse
On Mon, Nov 10, 2008 at 6:30 PM, Adda Badda <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Im having a problem loading initial data into my app with yaml. I have
> installed yaml for python using macports and placed the package in my
> site-packages directory. From the shell the yaml package loads whe
On Mon, Nov 10, 2008 at 7:59 PM, K*K <[EMAIL PROTECTED]> wrote:
>
> Hi, all.
>
> How can I create a new table without primary key in Django modeling. ?
>
> I'm porting a old program to Django web framework. After inspect
> database to modules.py and then syncdb, It create the id filed with
> prima
On Thu, Nov 13, 2008 at 3:37 AM, IMTheNachoMan <[EMAIL PROTECTED]> wrote:
>
> I realize that Django uses google groups for discussions and what not
> but I was wondering how people felt about a Forum? Something with a
> little better UI and better organization.
Search the archives. This has come
On Thu, Nov 13, 2008 at 4:12 AM, ayayalar <[EMAIL PROTECTED]> wrote:
>
> I know Django is new and improving. I just wanted to point out these
> issues a newbie is might be facing.
Thanks for taking the time to give us this feedback. However, I would
point out that while you have told us what is w
On Thu, Nov 13, 2008 at 9:58 AM, Erik <[EMAIL PROTECTED]> wrote:
>
> I am involved in a project that's using django with the mako_django
> package for template rendering. I'm working on the unit tests, but
> I'm running into the problem that the context and template are not
> returned after a que
On Thu, Nov 13, 2008 at 10:13 AM, joshuajenkins
<[EMAIL PROTECTED]> wrote:
>
> Personally, I detest the mail list format. There are forums out there
> that aren't all about signatures and annoying avatars, Vanilla is
> something that comes to mind. It's all about the presentation.
I can't do anyt
On Fri, Nov 14, 2008 at 7:18 AM, waltbrad <[EMAIL PROTECTED]> wrote:
>
> Which is best to read the Django book, or to read the documentation/
> tutorial?
>
> I know someone is likely to say both, but which is best to read
> first? Will one get you and going faster than the other?
At this point,
On Fri, Nov 14, 2008 at 12:13 PM, Erik <[EMAIL PROTECTED]> wrote:
>
> In case there are others following this topic, I have the test system
> working. I ended up putting a couple of functions in the contrib
> folder of my django installation under the mako_django folder. The
> functions emulate
On Sat, Nov 22, 2008 at 10:27 PM, dash86no <[EMAIL PROTECTED]> wrote:
>
> So my question is, can I expect building forms using the templates/
> views to be as simple as getting things up in the admin.
Will using views, forms and templates be as simple as configuring the
built-in admin site - of c
On Sun, Nov 23, 2008 at 8:09 AM, Erik Allik <[EMAIL PROTECTED]> wrote:
>
> I'm doing django-admin.py loaddata with a JSON file containing just
> [], i.e. an empty fixture, to rule out any possibility of invalid data
> being in the fixture, but still getting the following traceback:
>
> http://dpas
On Sun, Nov 23, 2008 at 10:07 AM, Erik Allik <[EMAIL PROTECTED]> wrote:
>
> Thanks, your suggestion to very carefully check the fixture path led
> me to realizing the problem. I wanted to load the service.json file
> located in the working directory but loaddata was actually using the
> one in the
On Tue, Nov 25, 2008 at 7:21 PM, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> If GET or POST contain a list, I only see the last value in the debug view.
>
> What do you see on an uncaught excepion with e.g. "?foo=1&foo=2" as
> query string?
It depends on how you try to access the value
On Tue, Nov 25, 2008 at 5:42 PM, Kenneth Gonsalves
<[EMAIL PROTECTED]> wrote:
>
> On Tuesday 25 November 2008 01:57:09 pm DragonSlayre wrote:
>> How do you develop your django projects, and where do you go when you
>> need to find documentation?
>
> why do you not check the archives of this list?
On Tue, Nov 25, 2008 at 5:27 PM, DragonSlayre <[EMAIL PROTECTED]> wrote:
>
> Hey, I'm getting started with a friend in developing a site with
> Django, and we're both new to this, so I am wondering what people use
> to manage all their files, and for looking at documentation etc.
While I must apo
On Tue, Nov 25, 2008 at 8:40 PM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've got a view which uses a different template depending on an input
> parameter. For example:
>
> def my_view(request, theme):
>...
>return render_to_response('my_app/%s/page.html' %s theme, {...})
>
>
On Tue, Nov 25, 2008 at 9:05 PM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> On Nov 25, 11:01 pm, Julien Phalip <[EMAIL PROTECTED]> wrote:
>> On Nov 25, 10:56 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
>> wrote:
>>
>>
>>
>> &g
On Tue, Nov 25, 2008 at 9:18 PM, Tim Chase
<[EMAIL PROTECTED]> wrote:
>
>> Check out django.contrib.auth.tests.views.py.
>
> Is there some master index of documentation for "if you want to
> test X, see Y.py or http://Z for an example of how to do it"?
> where X is any of a number of Django featur
On Thu, Nov 27, 2008 at 8:33 AM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> So, all this works pretty well. The 'fakeapp' app is loaded
> dynamically, tables are created and the FakeItem model can be use in
> my tests.
>
> But it feels dirty. The dynamically created tables can potentially
> clas
On Thu, Nov 27, 2008 at 11:21 AM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> I'm keen to try to find some proper ways to fix this, but before I go
> too deep into the bowels of Django's testing framework, I was
> wondering what would be the criticisms you'd have about the "solution"
> I came up
On Fri, Nov 28, 2008 at 6:42 PM, Georg Göttlich <[EMAIL PROTECTED]> wrote:
>
> Hello everybody,
>
> this question has probably been ask quite often already, but I
> couldn't find anything proper on it. So here it is:
>
> Is there a way to feed the result cursor of a custom sql query back
> into th
On Mon, Dec 1, 2008 at 2:04 AM, Ariel Mauricio Nunez Gomez
<[EMAIL PROTECTED]> wrote:
> Does anybody know which revision of django works with the latest patch in
> the ticket #3566
> http://code.djangoproject.com/ticket/3566
The patch on the ticket was constructed against a trunk revision just
pr
On Mon, Dec 1, 2008 at 9:13 AM, Ariel Mauricio Nunez Gomez
<[EMAIL PROTECTED]> wrote:
>
>> I should be in a position to publish a git repository with my work in
>> progress in the next day or so, which will remove the need for anyone
>> to apply the patch manually. When I push the repository, I'll
On Mon, Dec 1, 2008 at 2:04 PM, djan <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm following along with djangobook.com, and I have a problem in
> chapter 5 that I cannot resolve. I am using OpenSuSE-11.0, Python
> 2.5.2, sqlite3-3.5.7-17.1 (and incidentally, this same error occurs
> with MySQL).
On Sat, Dec 6, 2008 at 1:54 AM, Jeff Kowalczyk <[EMAIL PROTECTED]> wrote:
>
> During early prototyping, I'm relying on specific auth_user content in
> the project admin, as my app model use User as a ForeignKeyField.
>
> Project layout is:myproject/myapp
>
> Initial SQL myproject/myapp/mymodel/sql
On Tue, Dec 9, 2008 at 7:05 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> please, maybe anyone now how to perform distinct() filtering for
> certain attribute(column), not the whole objects(rows)? :)
First off - patience. Only 10 hours passed between your original
request and your repeat.
On Wed, Dec 10, 2008 at 7:58 PM, jamesjacksonn...@gmail.com
wrote:
>
> One example is worth thousand explanations, so, let's say the
> situation is as follows:
>
> class example(models.Model):
>artist = models.CharField(max_length=765, blank=True)
>song_name = models.CharField(max_length=
On Wed, Dec 17, 2008 at 9:04 AM, David Lindquist
wrote:
>
> I encountered a scenario where I need to query the database for a
> list of names sorted by length. In SQL this is easy:
>
> SELECT name from distributors_distributor ORDER BY LENGTH(name)
>
> Instead of writing raw SQL in my view, I am
On Wed, Dec 17, 2008 at 9:30 PM, James PIC wrote:
>
> Is it worth reporting the bug?
It isn't entirely clear what "the bug" is. All that you have given us
is an error message, and a solution that you have worked out. What you
haven't given us is enough detail to reproduce the problem for
ourself
On Thu, Dec 18, 2008 at 6:15 AM, Greg Taylor wrote:
>
> This is somewhat of a core Python question with a Django twist. I'm
> running mod_wsgi and am trying to figure out how to FTP a file from my
> Django app to a remote host without locking the thread up. I've tried
> something like:
>
> from s
On Thu, Dec 18, 2008 at 7:11 AM, Adam Nelson wrote:
>
> Does anybody have this working in TextMate?
>
> "Python Django Templates.tmbundle"
>
> From http://macromates.com/svn/Bundles/trunk/Bundles/
>
> I've installed other bundles and the Python Django.tmbundle, but the
> Templates one simply does
On Thu, Dec 18, 2008 at 7:55 AM, Greg Taylor wrote:
>
> Yeah, I was afraid this would be the case. The interval polling script
> was something I really wanted to avoid.
>
> I can't believe this isn't possible, though. I assume this is a Django
> limitation of some sort?
Ok, then. How would you d
On Thu, Dec 18, 2008 at 5:05 PM, knight wrote:
>
> Hi,
>
> I have unittests in my django applications and I have a strange
> behavior:
> When I run the tests, I am getting each print-out to log from my
> application twice.
> I am using the standard python logging libraries.
> Does anyone know thi
On Mon, Dec 15, 2008 at 11:24 AM, Mark
wrote:
>
> Hello,
>
> Are there any comments on the issue I describe below?
> Aside from issue 7052 in the tracker:
>
> http://code.djangoproject.com/ticket/7052
>
> I'm a new user of Django so I may be doing something
> wrong.
You're not doing anything wro
On Fri, Dec 19, 2008 at 11:32 PM, Martin Lundberg
wrote:
> Hello everyone!
>
> What do I need to do to be able to put my tests in a folder (called "tests")
> inside my application folders and make django run them?
>
> I want something like:
>
> /project/app1/tests/module_tests.py
> /project/app1/
On Wed, Dec 24, 2008 at 6:33 AM, dick...@gmail.com wrote:
>
> looking at the serialization serializers, is is possible to save "new"
> instance of a model object represented in xml?
>
> i'm getting an error:
>
> node is missing the 'pk' attribute, but basically, there
> isn't one, because i don'
On Thu, Dec 25, 2008 at 9:02 AM, bsergean wrote:
>
> Hi all,
>
> I'm populating my database manually using a script that create ORM
> objects and save them... I have a lot of datas and it's fairly slow.
> I'm wondering what is the best way to speed this up.
>
> From
> http://docs.djangoproject.c
On Thu, Dec 25, 2008 at 5:41 PM, David wrote:
>
> Dear all,
>
> I am a newbie in Django and python, now trying to construct a website
> with more than one databases on the backend.
>
> My question here is, if there any possibility that using 2 different
> databases inside one project(website)?
>
On Sat, Dec 27, 2008 at 2:11 PM, adambossy wrote:
>
> I have a model that refers to a ForeignKey, e.g.:
>
> class Template(models.Model):
> type = models.ForeignKey(Type)
> ...
>
> class Type(models.Model)
> name = models.CharField(max_length=32)
> ...
>
> I can fetch these objects fine using t
On Sat, Dec 27, 2008 at 7:48 AM, eldonp2 wrote:
>
> Is there a way to calculate and store the average rating in this
> example:
It's not entirely clear which part of this problem you want help with.
- Computing the average rating. The brute force approach would be to
iterate over the relevant
On Sat, Dec 27, 2008 at 2:32 AM, Fridrik Mar Jonsson wrote:
>
> Hi Djangonians,
>
> I recently had an instance where it would have been really convenient
> to see the error and a traceback in the ``runserver`` console instead
> of just a single line telling me that the request returned a 500
> er
On Sun, Dec 28, 2008 at 12:27 AM, Florian Lindner wrote:
>
> Hello,
>
> I'm trying to use the comment framework from Django 1.0.2.
>
> I've followed all the steps in
> http://docs.djangoproject.com/en/dev/ref/contrib/comments/
>
> (added it to installed apps, added to urls.py and loaded in the
On Sun, Dec 28, 2008 at 5:32 AM, adambossy wrote:
>
> Russ,
>
> Thanks for the reply. Specifically, I am wondering if there is some
> feature of the Models API that allows me to retrieve the foreign key
> object so that it is included in the serialized string. That is,
> without writing my own se
On Wed, Dec 31, 2008 at 4:27 AM, psj wrote:
>
> Django's base serializers only serialize a model's local fields, not
> inherited ones, which seems odd at first blush (if an Employee is a
> Person, and a Person has a name, wouldn't I be likely to want to see
> the Employees' names by default?)
>
>
On Wed, Dec 31, 2008 at 5:11 AM, Info Cascade
wrote:
>
> Hi --
>
> I am getting intermittent errors on certain database queries on our
> production server.
> I am having a hard time duplicating them (most of the time they run
> okay, only sometimes on the production server am I receiving exceptio
On Wed, Dec 31, 2008 at 11:45 AM, dick...@gmail.com wrote:
>
> i'm confused on the --settings option on manage.py.
>
> if i have a project call foo, i'd have in ./foo/settings.py
>
> to run: python manage.py runserver 8080
>
> let's say i have a bar.settings.py which contains different values
> (
On Thu, Jan 1, 2009 at 8:18 AM, Alan wrote:
> Happy new year List!
> So, I have in a project several apps and they basically use the same
> templatetags. I found out by luck that I just need to define it in one
> application, something like:
> app1/
> models.py
> ...
> app2/
> templatetags/mytags
On Thu, Jan 1, 2009 at 3:21 AM, Travis Reeder wrote:
>
> I've read some old threads discussing this, but I'm wondering if any
> progress has been made?
There certainly isn't anything official to report. Adding support for
SimpleDB, CouchDB, Google AppEngine, HBase, or any other non-SQL data
sour
On Wed, Dec 31, 2008 at 7:08 AM, Bo Shi wrote:
>
> Hi,
>
> One of our django applications does not use django's ORM. Is there a
> way to run
>
> ./manage.py test my_app
>
> Such that it does not perform test database setup?
There are two ways that you could do this.
The first would be to defin
On Fri, Jan 2, 2009 at 1:01 AM, Alan wrote:
> Hi Russell
> Thank you very much for your explanation.
> I understand that being an apps reusable, should it be so its templatetags
> and so, probably, the best place is in apps folder.
> However, in my case, where all my apps needs the same templatet
On Sat, Jan 3, 2009 at 3:01 AM, adrian wrote:
>
>
> I happen to have a bunch of models that all have foreign keys, but
> there is an order in which they could all be initialized. I have
> figured out how to initialize the built-in User model using Json data,
> but I can't initialize any models
On Mon, Jan 5, 2009 at 9:04 PM, HB wrote:
>
> Sure, I mean encourage not force :)
Ok, then - what could we do to encourage testing?
We have a test framework; it is documented, there are plenty of blog
entries around that discuss how to use it, and there are some
utilities in the community (such
On Mon, Jan 5, 2009 at 11:31 PM, drakkan wrote:
>
> Hi all,
>
> I mapped a database view in django model as a normal database table,
...
> there is a know workaround for this? any way to declare read only the
> model?
In short, no. Django doesn't currently provide any support for database views.
On Tue, Jan 6, 2009 at 8:11 AM, drakkan wrote:
>
>
>
> On 6 Gen, 00:06, "Russell Keith-Magee" wrote:
>> On Mon, Jan 5, 2009 at 11:31 PM, drakkan wrote:
>>
>> > Hi all,
>>
>> > I mapped a database view in django model as a normal datab
On Tue, Jan 6, 2009 at 7:46 AM, Sebastian Bauer wrote:
>
> Hello, i want to release some code, but i have one problem:
>
> how impel peoples to send me back patches?
>
> Any suggestions are welcome :)
First, participate in the dark arts until to ascend to the level of
minor god. Then, use your n
On Tue, Jan 6, 2009 at 4:26 AM, Artem Skvira wrote:
> On Jan 2, 6:26 pm, Artem Skvira wrote:
>> Would anyone be able to comment on the issues raised?
> Can I get Russell's comment on that?
I'm not entirely sure why I've been flagged personally on this. In
addition, it's hard to comment, because
On Wed, Jan 7, 2009 at 4:51 AM, Todd O'Bryan wrote:
>
> So, I've been trying to speed up tests. Surprise. I came across a
> fairly easy solution, so I'm sure I must be missing something. If
> someone could tell me what I'm missing, I'd really appreciate it.
...
> MyTestCaseSubclass.dirties_db = T
On Sat, Jan 10, 2009 at 6:27 AM, Ariel Mauricio Nunez Gomez
wrote:
>>> In the view for a single article, I would like to be able to pull up
>>> related articles based on shared keywords. Just pulling up all the
>>> articles that share at least one keyword would be to imprecise. What
>>> I'd like
On Wed, Jan 14, 2009 at 9:34 AM, Giovannetti, Mark
wrote:
>
> Is there a way to force a fixture to be loaded first
> when running manage.py test?
>
> I'd like to load a content_types.json fixture immediately
> before any other fixtures are loaded.
>
> This might fix some of the vexing problems wi
On Tue, Jul 15, 2008 at 8:28 AM, bshaurette <[EMAIL PROTECTED]> wrote:
>
> Writing tests for models has been a snap, but I'm having a lot harder
> time with the views.
...
> I'm not new to writing tests, just to unit testing in Django/Python -
> what would *really* help is if I could see some othe
On Wed, Jul 16, 2008 at 8:59 AM, Chris <[EMAIL PROTECTED]> wrote:
>
> I've run into a strange situation. I have a MySQL database with a
> table called Feature, with a unique column called text.
>
> Given some text, I want to save a new record if hasn't been entered,
> or retrieve the existing reco
On Thu, Jul 17, 2008 at 7:04 PM, warsng <[EMAIL PROTECTED]> wrote:
>
> After taking a look at the blogpost where someone got django running
> on WM, i thought i would give it a try. however, i am not having much
> success. Has anyone got this working recently? I am not using Pocket
> PC unlike the
On Fri, Jul 18, 2008 at 7:00 PM, cschand <[EMAIL PROTECTED]> wrote:
>
> When I tried model inheritance in new-forms admin, I faced some
> problems
...
> What is wrong with me?
You haven't checked the tickets: http://code.djangoproject.com/ticket/6755
Yours,
Russ Magee %-)
--~--~-~--~---
On Fri, Jul 18, 2008 at 7:41 PM, cschand <[EMAIL PROTECTED]> wrote:
>
> Hi Russ
>The problem is not solved in the ticket
No - that's because it's a bug report. When the bug is fixed, the
ticket will be closed.
Yours,
Russ Magee %-)
--~--~-~--~~~---~--~~
You r
On Tue, Jul 22, 2008 at 2:21 AM, eka <[EMAIL PROTECTED]> wrote:
>
> On Jul 21, 6:11 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>> On 21-Jul-08, at 1:53 PM, Hussein B wrote:
>>
>> > Well, I know this question isn't related to Django but I hope it is ok
>> > to ask.
>> > What are your favourit
On Tue, Jul 22, 2008 at 5:05 AM, James <[EMAIL PROTECTED]> wrote:
>
> It appears that the password value isn't printed for security reasons.
> The problem remains that the form will not validate.
Are you sure you have a test user? Remember, when you run the test
suite, you're not using the standa
On Wed, Aug 20, 2008 at 7:21 AM, Andrew D. Ball <[EMAIL PROTECTED]> wrote:
>
> I've noticed that email isn't being sent during unit tests
> in Django 1.0 beta 1. The django.core.mail.EmailMessage.send
> method returns '1' as if it had sent 1 message successfully,
> but the SMTP server doesn't get
On Wed, Aug 20, 2008 at 10:59 AM, Mike Scott <[EMAIL PROTECTED]> wrote:
>
> So the fact that you say we have to force nearly 15000 people to
> change is a rather void argument. I'm pretty sure the people who use
> django-users mainly do it through the web interface
I'd be interested to know how
On Wed, Aug 20, 2008 at 11:26 AM, Chris Moffitt <[EMAIL PROTECTED]> wrote:
> I am seeing this error - http://dpaste.com/72596/ with django trunk (rev
> 8445) when I try to run syncdb using psycopg2 but it works just fine if I
> use sqlite.
>
> Basically I'm getting an error when doing the table in
On Wed, Aug 20, 2008 at 12:30 PM, akonsu <[EMAIL PROTECTED]> wrote:
>
>
> consider the code below. it has two print statements at the end. their
> output should be identical, but it is not. i think there is a bug.
...
> print [p.x for p in Pair.objects.filter(y = y0, name = 'd')]
> print y0.xs.fil
On Sat, Aug 23, 2008 at 8:59 PM, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> In Django there are no 'standard' as such. You'd talk more about
> 'conventions'.
> One common way is to put all your forms in forms.py. But that's just
> for cleanliness.
While this is a common convention, I wo
On Tue, Aug 26, 2008 at 11:18 PM, dchandek <[EMAIL PROTECTED]> wrote:
>
> After several iterations of running tests on an application (manage.py
> test myapp), I have these observations which are not really clear in
> the documentation:
>
> 1. All initial_data fixtures (not just those for the test
On Fri, Aug 29, 2008 at 8:09 PM, Richard Ward <[EMAIL PROTECTED]> wrote:
>
> It looks like the solution to this is in the newest release. Ref.
> http://code.djangoproject.com/changeset/8136
Richard - Gergo, Antti, and I are well aware of the m2m intermediate
change in [8136]. What we are discuss
On Tue, Sep 2, 2008 at 12:37 AM, Jon Loyens <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> I have a small project coming up that I think having some sort of
> schema evolution facilities will be handy on. I was wondering what
> the current and best project choices for schema evolution are? I was
>
On Thu, Sep 4, 2008 at 11:13 PM, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
>
> From http://www.djangoproject.com/documentation/testing/
> "4. Looking for unit tests and doctests in the models.py and tests.py
> files in each installed application."
>
> Next to models.py I have forms.py which does
On Sat, Sep 6, 2008 at 10:03 AM, Posi <[EMAIL PROTECTED]> wrote:
>
> Now that 1.0 was released, how hard or desirable would it be to
> consider column based DBs like HBase, hypertable, etc for Django
> backends?
Desirable - certainly.
Hard - yes. This isn't going to be a simple 'just implement
On Sun, Sep 7, 2008 at 1:04 PM, Jarred Bishop <[EMAIL PROTECTED]> wrote:
>
> Hello. How would I do this?
>
> Say I have a model 'Tag' that has a ManyToManyField called 'entries',
> can I order a query by total entries?
>
> something like this is how I imagine it would work:
> Tag.objects.all().ord
On Tue, Sep 9, 2008 at 6:25 PM, Greig Rapley <[EMAIL PROTECTED]> wrote:
>
> After upgrading to Django 1.0 I am having trouble getting django
> evolution (svn) to work. I have looked on their site, and applied one
> of the patches made available (for ImageField), but still no luck. I
> found a po
On Wed, Sep 10, 2008 at 4:31 AM, djandrow <[EMAIL PROTECTED]> wrote:
> I just get 2008-01-01, i guess thats cos I only have entries in 2008
> and the date is formatted wrongly, so my question is how can i get a
> list of months, like you find on any archive links; September 2008,
> October 2008 e
On Fri, Sep 12, 2008 at 7:35 AM, Denali Lumma <[EMAIL PROTECTED]> wrote:
>
> Hi There,
>
> I am trying to use the TestClient class to validate some of our
> pages. It seems to work OK for pages which don't require
> authentication.
It should work fine for pages _with_ authentication, too; you j
On Fri, Sep 12, 2008 at 2:36 AM, Lance F. Squire <[EMAIL PROTECTED]> wrote:
>
> Currently using Django version 0.96.3, on a Fedora 8 system.
>
> I've currently set-up models for 'Manufacturer' and 'System'. System
> has a Foreignkey to Manufacturer.
>
> I'd like to display a list like so:
>
> Manu
On Sun, Sep 14, 2008 at 7:24 AM, Martin Diers <[EMAIL PROTECTED]> wrote:
>
> On Sep 6, 2008, at 11:36 AM, Posi wrote:
>>
>> Still though, how tied are we to a true relational model and how does
>> that tie to a column based DB.
>
> So utterly and completely, that if you wished to use HBase, there
On Sun, Sep 14, 2008 at 8:31 PM, djandrow <[EMAIL PROTECTED]> wrote:
>
> I'm currently using django Version: 1.0-final-SVN-9020 and python
> Version: 2.4.4, a few weeks ago (maybe a bit longer) I had to change
> all my maxlengths to max_length, as I believe that was a change in
> Django.
>
> Anywa
On Mon, Sep 15, 2008 at 10:27 AM, sotirac <[EMAIL PROTECTED]> wrote:
>
> I'm trying to initialize my database using yaml fixtures.
> I've created a yaml fixtures directory (src/fixtures). Within the
> yaml fixtures directory, I created a yaml fixtures file title
> websites.yaml.
...
> Now when I
On Mon, Sep 15, 2008 at 8:33 PM, Henrik Lied <[EMAIL PROTECTED]> wrote:
>
> Hi there!
>
> I'm working on a very interesting pet project where I monitor the
> traffic outside a house.
...
> This adds up to quite a lot of traffic in a day, and I want to be able
> to filter out which time of day the
On Tue, Sep 16, 2008 at 1:53 AM, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> J. Pablo Fernández wrote:
>> Hello,
>>
>> Which one is the 1.0 branch on the SVN repo?
>>
>> Thanks.
>>
>>
> Erm, that would be the one tagged "1.0" I guess. But I haven't actually
> checked, because the best way to get 1
On Tue, Sep 16, 2008 at 4:10 AM, catsclaw <[EMAIL PROTECTED]> wrote:
>
> Hi --
>
> I've been having major problems with the url configurations, and I
> posted a summary of the problems on this list last night. I received
> a reply, and responded to that. Now, however, the list has no record
>
On Tue, Sep 16, 2008 at 11:03 AM, akonsu <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> on pgsql 'reset auth' fails with an error saying that it cannot drop
> one of the tables (i do not remember which though) because other
> objects depend on it. on sqlite it works fine. i did not try it on
> mysql.
On Sat, Sep 20, 2008 at 8:37 AM, Nate Thelen <[EMAIL PROTECTED]> wrote:
>
> Looking at the docs here:
>
> http://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships
>
> I cannot find any reference to how to access the data in the
> "Membership" table. For ex
1 - 100 of 2540 matches
Mail list logo