I'm working through the tutorials and have encountered a strange
problem. So far everything works but Python doesn't acknowledge my
base site as a package. So everywhere that you see a reference like
"mysite.poll" I need to use only "poll". I think that my problems stem
from the following section
On Feb 3, 6:04 pm, Adam Yee <adamj...@gmail.com> wrote:
> On Feb 3, 9:49 am, Joshua Russo <joshua.rupp...@gmail.com> wrote:
>
> > I'm working through the tutorials and have encountered a strange
> > problem. So far everything works but Python doesn't acknowledge
I'm developing an app and want to use Portuguese characters in the
verbose field names for my models. The tables were created fine but
when I tried to implement the admin pages I received a
DjangoUnicodeDecodeError when it hit the first non-ASCII character. Is
this just a bug with the admin page
On Feb 11, 1:38 pm, Ramiro Morales <cra...@gmail.com> wrote:
> On Wed, Feb 11, 2009 at 11:22 AM, Joshua Russo <joshua.rupp...@gmail.com>
> wrote:
>
> > I'm developing an app and want to use Portuguese characters in the
> > verbose field names for my mod
On Feb 11, 1:38 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Wed, Feb 11, 2009 at 8:22 AM, Joshua Russo <joshua.rupp...@gmail.com>wrote:
>
> > I'm developing an app and want to use Portuguese characters in the
> > verbose field names for my models. The tables we
On Feb 11, 1:38 pm, Ramiro Morales <cra...@gmail.com> wrote:
> On Wed, Feb 11, 2009 at 11:22 AM, Joshua Russo <joshua.rupp...@gmail.com>
> wrote:
>
> > I'm developing an app and want to use Portuguese characters in the
> > verbose field names for my mod
On Feb 11, 6:03 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Wed, Feb 11, 2009 at 12:29 PM, Joshua Russo
> <joshua.rupp...@gmail.com>wrote:
>
>
>
> > Ok, I'm still having issues.
>
> > I'm using Django 1.0.2-final and Python 2.5.4
>
> > T
On Feb 11, 4:54 pm, Ramiro Morales <cra...@gmail.com> wrote:
> On Wed, Feb 11, 2009 at 3:29 PM, Joshua Russo <joshua.rupp...@gmail.com>
> wrote:
>
> > Ok, I'm still having issues.
>
> > I'm using Django 1.0.2-final and Python 2.5.4
>
> > The mod
On Feb 11, 6:44 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Wed, Feb 11, 2009 at 2:30 PM, Joshua Russo <joshua.rupp...@gmail.com>wrote:
>
> > Thanks so much. I think you are right. I will let you know tomorrow if
> > I was able to fix it. I just need to
Ok, so I believe I'm following the documentation properly for a
ManyToManyField with the Through=xxx option here:
http://docs.djangoproject.com/en/dev/ref/models/fields/#manytomanyfield
class Pessoa(models.Model):
Nome= models.CharField('Nome', max_length=100)
Localidade =
Here is the traceback:
Environment:
Request
Method: POST
Request URL: http://localhost:8000/admin/matriz/matriz/add/
Django Version: 1.0.2 final
Python Version: 2.5.4
Installed Applications:
['django.contrib.auth', 'django.contrib.contenttypes',
'django.contrib.sessions',
Think I found a bug in the ManyRelatedManager that occurs when you try
to include a ManyToManyField relation in an admin edit page. I
personally tried to have the relational table/module as an inline
display of primary entity module. It seems to have been missing the
__unicode__ / __str__
I have a model admin page where I want to edit a ManyToMany relation
model as an inline model but It is treating the extra entries for the
inline relation as required. How do I make the inline model not
required?
--~--~-~--~~~---~--~~
You received this message
Ok, I figured out what was going on. I was testing some custom save
logic and was just reloading the page to have my browser (Firefox)
resend the post data. The validation of the inline models works just
fine if I come into the model change page normally.
On Feb 27, 7:29 pm, Joshua Russo
I found this in my searches for formatting a decimal as a proper
currency output: http://www.djangosnippets.org/snippets/552/
The problem I'm running into is that the setLocale() line seems to be
choking on the non-base 128 characters that display in my site. I'm
creating the site to display
) is where I am attempting to put the
currency format at the moment.
On Mar 10, 8:11 am, Joshua Russo <joshua.rupp...@gmail.com> wrote:
> I found this in my searches for formatting a decimal as a proper
> currency output:http://www.djangosnippets.org/snippets/552/
>
> The p
On Mar 10, 8:29 am, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Tue, 2009-03-10 at 02:11 -0700, Joshua Russo wrote:
> > I found this in my searches for formatting a decimal as a proper
> > currency output:http://www.djangosnippets.org/snippets/552/
>
> O
I'm currently using Netbeans 6.5 with the Python plugin. I was just
wondering what everyone else is using because NB is a bit buggy with
the Python plugin at the moment.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Is there a way to specify arguments for your app when debugging in
IDLE? Like manage.py runserver. I can't figure out how to add the
runserver to the command to start debugging.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I'm starting the debugger like so:
(from the dir containing manage.py) python -m pdb manage.py runserver
it starts just fine, showing it paused at the first line. I set my
break points using "b filename: line#". This reports that the
breakpoint is set, and it seems as though it's in the right
(strangely my previous post seems to have disappeared so here we go
again)
I can't seem to get pdb to stop at my break points for a page request.
I start it like so:
(from the directory containing manage.py) python -m pdb manage.py
runserver
The debugger starts up properly, paused on the first
about a week ago and completely forgot about
it.
On May 15, 9:44 pm, Sam Chuparkoff <s...@sadach.org> wrote:
> On Fri, 2009-05-15 at 14:00 -0700, Joshua Russo wrote:
> > I can't seem to get pdb to stop at my break points for a page request.
> > I start it like so:
>
Foreign keys only point to primary key values. That's just how
relational DBs work.
It looks like you just want to link details to a user. Is that
correct?
On May 16, 12:46 pm, lokeshmarema...@gmail.com wrote:
> Hi All,
>
> Is it possible to create a foreign key to a model referring to a non
>
username to details table.
>
> Regards,
> Lokesh
>
> On May 16, 7:30 pm, Joshua Russo <joshua.rupp...@gmail.com> wrote:
>
> > Foreign keys only point to primary key values. That's just how
> > relational DBs work
>
> > It looks like you just want to link detai
limitations.
Does this make sense?
On May 16, 1:52 pm, Joshua Russo <joshua.rupp...@gmail.com> wrote:
> You want to link to the id field in the auth_user table. Try the
> following:
>
> from django.contrib.auth.models import User
>
> class details(models.Model):
> us
Ok, apologize. I just tried it myself and MySQL did accept the alter
table. It is certainly not an operation that I have been able to
perform in MS SQL Server or Oracle, though I wonder if it's something
that is changing industry wide. MySQL seems to allow a foreign key to
any unique index.
>
"I apologize" that is
On May 16, 3:04 pm, Joshua Russo <joshua.rupp...@gmail.com> wrote:
> Ok, apologize. I just tried it myself and MySQL did accept the alter
> table. It is certainly not an operation that I have been able to
> perform in MS SQL Server or Oracle
Currency Object - http://www.djangosnippets.org/snippets/1525/
Currency Widget - http://www.djangosnippets.org/snippets/1526/
Currency Form Field - http://www.djangosnippets.org/snippets/1527/
Currency DB Field - http://www.djangosnippets.org/snippets/1528/
Admin Integration -
Are others having problems with posts disappearing? I've posted had a
couple of different posts disappear. One was a harmless question about
pdb and another was about a set of currency objects I posted to
djangosnippets.org and was looking for feedback on.
Is there a generally accepted workaround for the problem of sorting
relational models by more than one field? I have a model that
represents recurring payments between a person and an object and it
would be really nice to order by the object, year, and creation date
in the admin app change list.
On Jun 17, 1:25 pm, Joshua Russo <joshua.rupp...@gmail.com> wrote:
> Is there a generally accepted workaround for the problem of sorting
> relational models by more than one field? I have a model that
> represents recurring payments between a person and an object and it
> wo
On Jun 17, 8:17 pm, Rajesh D <rajesh.dha...@gmail.com> wrote:
> Hi Josh,
>
> On Jun 17, 10:25 am, Joshua Russo <joshua.rupp...@gmail.com> wrote:
>
> > Is there a generally accepted workaround for the problem of sorting
> > relational models by
On Jun 17, 8:17 pm, Rajesh D <rajesh.dha...@gmail.com> wrote:
> Hi Josh,
>
> On Jun 17, 10:25 am, Joshua Russo <joshua.rupp...@gmail.com> wrote:
>
> > Is there a generally accepted workaround for the problem of sorting
> > relational models by
I'm a little confused about where to use translation.ugettext and
translation.ugettext_lazy. The documentation says to always use the
lazy translation method in models, but it doesn't say why. Are there
other places that need the lazy functionality and what makes models
special that you can only
It appears that history is only kept for about 2 months. Is this
correct and can you change the length of time history is kept for?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
.@gmail.com> wrote:
>
>
>
> > On Thu, Jun 18, 2009 at 2:28 PM, Joshua Russo
> > <joshua.rupp...@gmail.com>wrote:
>
> > > It appears that history is only kept for about 2 months. Is this
> > > correct and can you change the length of time histo
On Jun 18, 6:30 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Thu, Jun 18, 2009 at 2:22 PM, Joshua Russo <joshua.rupp...@gmail.com>wrote:
>
>
>
> > I'm a little confused about where to use translation.ugettext and
> > translation.ugettext_lazy.
On Jun 18, 7:36 pm, Karen Tracey <kmtra...@gmail.com> wrote:
> On Thu, Jun 18, 2009 at 3:42 PM, Joshua Russo <joshua.rupp...@gmail.com>wrote:
>
>
>
> > Yes, there is a link that says history on the admin pages. But I do
> > believe it pulls from the admin l
I'm trying to use the makemessages command to create .po files and I'm
running into a problem scanning .html files. I'm running XP Pro and
using libiconv (1.9.2) and gettext (0.13).
None of the {% trans 'text' %} entries are being picked up in the
scan. I'm loading the I18n library in all of my
When I installed Libiconv (1.9.2) and gettext (0.13) on my XP Pro
machine and tried to run makemessages it initially gave me an error
message saying that it could not find iconv.dll. I went to the install
directory and I had a libiconv2.dll but no iconv.dll. I tried copying
and renaming the file
I started using PoEdit but it seems to thing that the .po files
created by makemessages are malformed, or at least don't have all the
right headers. Is there a better editor for Windows?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On Jun 19, 7:08 pm, Joshua Russo <joshua.rupp...@gmail.com> wrote:
> I'm trying to use the makemessages command to create .po files and I'm
> running into a problem scanning .html files. I'm running XP Pro and
> using libiconv (1.9.2) and gettext (0.13).
>
> None of the {% tr
On Jun 20, 3:35 pm, Ramiro Morales <cra...@gmail.com> wrote:
> On Fri, Jun 19, 2009 at 5:15 PM, Joshua Russo<joshua.rupp...@gmail.com> wrote:
>
> > When I installed Libiconv (1.9.2) and gettext (0.13) on my XP Pro
> > machine and tried to run makemessages
On Jun 20, 3:35 pm, Ramiro Morales <cra...@gmail.com> wrote:
> On Fri, Jun 19, 2009 at 5:15 PM, Joshua Russo<joshua.rupp...@gmail.com> wrote:
>
> > When I installed Libiconv (1.9.2) and gettext (0.13) on my XP Pro
> > machine and tried to run makemessages
On Jun 23, 12:49 pm, "http://groups.google.com/group/django-users/;
wrote:
> Hello everyone,
> i got a problem with working with Ajax requests @ the Admin models.
> How can i get requests from Ajax to the AdminModel to get 4 example
> from a dropdownmenu my
I have a seriese of reports that have a signature section with the
name below. The name does not change very often but it will change at
some point and I want a layman to be able to change the name without
having to edit the scary looking template files. Can I specify an
arbitrary field from an
I'll check it out. Thanks.
On Jul 6, 1:23 pm, Daniel Hilton <daniel.hil...@gmail.com> wrote:
> Couldn't you use something like django-chunks for this?
>
> Specify a single chunk something like footer and then pull it in for every
> report?
>
> HTH
> Dan
>
>
I'm in the process of implementing testing (both doc tests and unit
tests) though I'm having some conceptual difficulty. I'm not sure how
far to take the testing. I'm curious what people concider an
appropriate level of testing.
This thought struck me most when I was going through the testing
> besides the testing issues (which are certainly a heated debate!), i have to
> say that my Django projects became far better organized and a lot more
> flexible when i learned to put most of the code on the models, and not on the
> views.
I find this really interesting because I wanted to
I want to test my forms but I'm not sure the best way to go about it.
It seems like it might be similar to views but I can't find much
discussion of form testing in any of the discussions about unit
testing.
Any suggestions are much appreciated.
Thanks
Josh
On Jul 16, 1:35 pm, Javier Guerra <jav...@guerrag.com> wrote:
> On Thu, Jul 16, 2009 at 9:27 AM, Joshua Russo<josh.r.ru...@gmail.com> wrote:
> > What are some examples of mutating operations (and other operations
> > for that matter) that you use in your m
Great ideas! I've started moving some of my logic that I had in
admin.py and views.py into model.py and things are already starting to
look easier in terms of testing.
My only real hurdle now is testing validation logic on the admin pages
and the form creation logic that is the main page to the
I think I might be overlooking something simple here. I have a set of
4 fields in almost every table (user create & modified and date create
& modified). The date (datetime) is easy with auto_now and
auto_now_add options.
The user has been much trickier. I can't figure out how (if possible)
to
On Jul 16, 11:11 pm, Russell Keith-Magee <freakboy3...@gmail.com>
wrote:
> On Thu, Jul 16, 2009 at 10:46 PM, Joshua Russo<josh.r.ru...@gmail.com> wrote:
>
> > I want to test my forms but I'm not sure the best way to go about it.
> > It seems like it might be similar
I second that. In my experience they are inherently very context specific,
with very unique databases and code bases. With that said, you
can definitely develop an expert system using django. It's more about
the algorithms you produce than the environment you produce them in.
On Fri, Jul 17, 2009
>
> I was thinkin about using the powerful of django for dabase admin and
> templates for web and make the
> algorithms on python modules... after that call them as a simple module...
> my question is about a
> maden job about it.
Its an excellent idea to use the django admin app to manage any
On Sat, Jul 18, 2009 at 9:38 AM, V wrote:
> Some time ago I wrote down my experience on testing, including testing
> forms: http://viktornagy.com/blog/2009/05/24/what-test-django/
>
> moreover, I would recommend to check out the tests of some existing
> projects, that
On Sat, Jul 18, 2009 at 8:06 AM, Matthias Kestenholz <
matthias.kestenh...@gmail.com> wrote:
> If you really need to do that (or if you are just extremely lazy)
> there is a cookbook recipe for achieving this sort of thing:
>
> http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser
>
>
On Sat, Jul 18, 2009 at 11:42 AM, Carlos Eduardo Sotelo Pinto <
csot...@aqpglug.org.pe> wrote:
>
> Hi
> >
> > Its an excellent idea to use the django admin app to manage any kind of
> > database. Though I'm not familiar with a maden job. Could you explain
> > what you are referring to?
>
> Iam
On Sat, Jul 18, 2009 at 12:17 PM, Russell Keith-Magee <
freakboy3...@gmail.com> wrote:
> As is often the case in the Django community, one answer is "find
> anything James Bennett has done, and follow his lead". :-)
>
> James has just finished reworking django-registration [1]. One of the
>
On Sat, Jul 18, 2009 at 10:54 AM, V wrote:
> wow, that's a tough question as I'm not self-confident enough to judge
> other's projects and testing, but my guess would be that the
> django.contrib applications have good tests, and I think that the
> tests for my
On Sat, Jul 18, 2009 at 1:15 PM, Carlos Eduardo Sotelo Pinto <
csot...@aqpglug.org.pe> wrote:
>
> I understand. Well I mean a papper, page resource to explain hoy to use
> django for expert system or
> mayme an application resource example about using django on expert system
> to take it as a
On Sat, Jul 18, 2009 at 1:31 PM, Joshua Russo <josh.r.ru...@gmail.com>wrote:
> On Sat, Jul 18, 2009 at 1:15 PM, Carlos Eduardo Sotelo Pinto <
> csot...@aqpglug.org.pe> wrote:
>
>>
>> I understand. Well I mean a papper, page resource to explain hoy to use
>&g
On Sat, Jul 18, 2009 at 8:51 PM, AKK wrote:
>
> hi,
>
> i have a form like this:
>
>
>User name:
>
>Password:
> id="password">
>
>
>
>
>
>
> and the next field is where the user should be redirected assuming
> they have the correct details.
On Sat, Jul 18, 2009 at 9:03 PM, sjtirtha wrote:
> class AbstractContent(models.Model):
> viewed = models.PositiveIntegerField(max_length=7,
> blank=True, null=True)
> #rating =
> #ranking =
> created_by =
2009/7/19 Tomasz Zieliński
> So, should m.save() set m.id to some other value than None
> or this is relaxed when Warning exception is thrown?
It's the database that gives m.id a value upon a valid save. So because the
record couldn't be saved it never
On Mon, Jul 20, 2009 at 9:23 AM, Matthias Kestenholz <
matthias.kestenh...@gmail.com> wrote:
> thread locals have all the problems which are generally associated
> with global variables. They might be overwritten by other code, they
> make testing extremely difficult because the behavior of
On Mon, Jul 20, 2009 at 8:30 PM, sjtirtha wrote:
>
> class ContentAssoc(models.Model):
> object_a = models.PositiveIntegerField()
> type_a = models.ForeignKey(ContentType, related_name='type_a')
> object_b = models.PositiveIntegerField()
> type_b =
On Mon, Jul 20, 2009 at 9:35 PM, Daniele Procida
wrote:
>
> I finally have ldapauth working now, and a user who is in our LDAP
> database can connect as a Django User.
>
> But it's not entirely satisfactory. Before the LDAP user becomes a
> Django User they have to try
On Mon, Jul 20, 2009 at 10:26 PM, sico wrote:
>
> thats cool to know, but not quite what I'm after I don't think. If
> there was a simple way to display the label, field and any errors all
> at once would be nice otherwise it gets quite cumbersome to be
> repeating that
I have a complex form that where I generate a grid (for lack of a
better term) of fields for data entry. To simplify the template
context I have a dictionaries within dictionaries so I can just use
FOR loops within FOR loops in the template.
My problem was that, unless I wrapped my fields in a
gt; >
> > On Fri, Jun 19, 2009 at 11:05 PM, Joshua Russo
> > <joshua.rupp...@gmail.com <mailto:joshua.rupp...@gmail.com>> wrote:
> >
> >
> > I started using PoEdit but it seems to thing that the .po files
> > created by makemessages are malforme
On Wed, Jul 22, 2009 at 10:51 AM, Russell Keith-Magee <
freakboy3...@gmail.com> wrote:
>
> Secondly, it's difficult to give an appraisal of a technique when all
> you have to go by is a vague description. Your explanation is a bit
> hard to follow - you talk at length about fields, but don't
On Wed, Jul 22, 2009 at 10:39 PM, Joshua Russo <josh.r.ru...@gmail.com>wrote:
> On Wed, Jul 22, 2009 at 10:58 AM, Divesh Gidwani <dagidw...@gmail.com>wrote:
>
>>
>> Also, what kind of views do I need? I'm really confused about that
>> part.
>
>
> If
Is there any difference between using import() versus not in the url
pattern list?
(r'^accounts/login/$', 'django.contrib.auth.views.login'),
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
--~--~-~--~~~---~--~~
You received this message because
On Thu, Jul 23, 2009 at 2:18 PM, Matthias Kestenholz <
matthias.kestenh...@gmail.com> wrote:
>
> On Thu, Jul 23, 2009 at 4:51 PM, Joshua Russo<josh.r.ru...@gmail.com>
> wrote:
> >
> > Is there any difference between using import() versus not in the url
> >
midipati
> Harvard College '11
> http://people.fas.harvard.edu/~svbhamid/
>
>
>
> On Thu, Jul 23, 2009 at 11:33 AM, Joshua Russo <josh.r.ru...@gmail.com>wrote:
>
>> On Thu, Jul 23, 2009 at 2:18 PM, Matthias Kestenholz <
>> matthias.kestenh...@gmail.com> wrot
On Thu, Jul 23, 2009 at 3:09 PM, Matthias Kestenholz <
matthias.kestenh...@gmail.com> wrote:
>
> Well, there is a big difference between the two. include() takes the
> python path to an URLconf file while the other form takes a view.
>
> You should read the documentation on this page if you
On Jul 23, 12:41 am, Russell Keith-Magee
wrote:
> This sounds like you are on the right track. My only other suggestion
> is that it might be worth looking into using FormSets to simplify the
> logic for displaying multiple Payment forms on the page.
Thanks for your
On Jul 23, 12:41 am, Russell Keith-Magee
wrote:
> The decision about splitting this into more than one view is
> approaching an 'inmates running the asylum' issue [1]. Work out what
> UI will work for your users. Then work out how to make that
> implementation work. Don't
On Thu, Jul 23, 2009 at 9:31 PM, Rusty Greer wrote:
>
> how do i create a query on the size of an image?
>
> for example:
> class Image(models.Model):
>
>image = models.ImageField(upload_to=upload_to('images'), db_index=True)
>
>
> if i try something like:
>
>for image
On Thu, Jul 23, 2009 at 10:53 PM, Nail wrote:
>
> Hello, developers!
>
> Please help me with one problem. I spent 2 days attempting to solve
> it. And now i have some solution, but i don't like it.
>
> My application manages music tracks.
> There is models: Artist, Album,
I ran into some conceptual problems with lazy vs non-lazy too. Any global
context needs to be lazy. This includes everything declared outside of any
function or class context and the class instance variable declarations (tho
not the declarations made in __init__ or __new__ of a class)
On Fri, Jul
On Sat, Jul 25, 2009 at 9:23 PM, Adi wrote:
>
> I'm running a couple of django sites on a VPS with nginx and fastcgi
> and I'm a little concerned because of the memory usage.
> According to the "free" command, each site uses about 50MB of RAM
> (I've ran free before and
On Sun, Jul 26, 2009 at 9:13 PM, Vitaly Babiy wrote:
> How does one go about registering a namespace?
Not quite sure what you mean by that, but my guess is that you are assuming
you need to register your namespace (modules?) before being able to import
them. If this is what
I'm raising an error in one of my model save forms and it's not converting
the translation string to unicode. If I first pass it into the unicode()
function it works though. The following is the pertinent portions of my
model class.
class Matriz(modelUtils.MyModelAudit):
On Jul 28, 2:00 pm, Joshua Russo <josh.r.ru...@gmail.com> wrote:
> I'm raising an error in one of my model save forms and it's not converting
> the translation string to unicode. If I first pass it into the unicode()
> function it works though. The following is the pertinent
On Tue, Jul 28, 2009 at 8:58 PM, Streamweaver wrote:
>
> To be clear. Essentially I just want to merge the object instance and
> POST data with the POST data overwriting the instance where it's
> supplied. Right now if I don't supply a field in my POST data it just
>
On Wed, Jul 29, 2009 at 5:23 AM, James Bennett wrote:
>
> Tonight we're extremely proud to announce the release of Django 1.1,
> the latest major milestone in Django's development.
>
> To learn about the new release:
>
> * Blog post:
On Wed, Jul 29, 2009 at 12:35 PM, Juanjo Conti wrote:
>
> In http://docs.djangoproject.com/en/dev/ref/django-admin/ i read
> "inspectdb works with PostgreSQL, MySQL and SQLite. Foreign-key
> detection only works in PostgreSQL and with certain types of MySQL
> tables."
>
>
I'm confused about how sqlcustom fits into the dbsync process.
I ran "manage.py sqlcustom myapp" and it printed the sql properly but that's
all it did. Granted that's all the docs say it does anyway, but then how do
execute those statements?
--~--~-~--~~~---~--~~
On Wed, Jul 29, 2009 at 2:39 PM, Juanjo Conti <jjco...@gmail.com> wrote:
> 2009/7/29 Joshua Russo <josh.r.ru...@gmail.com>:
> > On Wed, Jul 29, 2009 at 12:35 PM, Juanjo Conti <jjco...@gmail.com>
> wrote:
> >>
> >> In http://docs.djangoproject.com
On Jul 29, 12:48 pm, Joshua Russo <josh.r.ru...@gmail.com> wrote:
> I'm confused about how sqlcustom fits into the dbsync process.
> I ran "manage.py sqlcustom myapp" and it printed the sql properly but that's
> all it did. Granted that's all the docs say it does anyway,
On Fri, Jul 31, 2009 at 12:41 PM, ramya wrote:
>
> Hi,
> I have python threaded application + Postgres. I am using Django's ORM
> to save to Postgres..
> I have concurrent save calls. Occasionally 2 threads save with the
> same primary key which leads to an issue.
>
>
On Tue, Aug 11, 2009 at 6:06 PM, snfctech wrote:
>
> I'm about to start a fairly large project for a mid-sized business
> with a lot of integration with other systems (POS, accounting,
> website, inventory, purchasing, etc.) The purpose of the system is to
> try to
Do you need to do any cleanup of resources when you use a cursor (closing of
connection/cursor)?
I have the following method, do I need to do anything to cleanup resources?
def get_next_NumOrd(self):
from django.db import connection
cursor = connection.cursor()
cursor.execute("SELECT
On Mon, Aug 17, 2009 at 1:56 PM, Lokesh wrote:
>
> I am trying to implement the logging (Code flow tracking) for my
> Django application.
> I would like to store the log messages on daily basis for my
> applications.
>
> Need help or suggestions on how we can implement
On Mon, Aug 17, 2009 at 2:17 PM, Lokesh wrote:
> I am trying to implement logging mechanism using Python library. But,
> I am not sure on which mechanism/methodology used for Django
> applications.
>
> Is there any predefined process or methodology to be followed for
>
On Tue, Aug 18, 2009 at 8:52 AM, Marek Palatinus wrote:
>
> Hello,
>
> Im doing some validation in ModelAdmin.save_model(). I can cancel
> operation (just dont call parent method), but I also need to show some
> error message to user. Im able to call self.message_user() and
On Tue, Aug 18, 2009 at 1:23 PM, Marek Palatinus <ma...@palatinus.cz> wrote:
>
> On Tue, Aug 18, 2009 at 12:22 PM, Joshua Russo<josh.r.ru...@gmail.com>
> wrote:
> > On Tue, Aug 18, 2009 at 8:52 AM, Marek Palatinus <ma...@palatinus.cz>
> wrote:
> >>
&
1 - 100 of 232 matches
Mail list logo