On Fri, Sep 4, 2009 at 10:37 AM, Russell Keith-Magee wrote:
>
> On Fri, Sep 4, 2009 at 4:57 PM, Joshua Russo
> wrote:
> > My goal here is to create a backup and recovery scheme, where recovery is
> > possible on any computer.
> > I've been performing incrementa
On Fri, Sep 4, 2009 at 6:37 PM, James Bennett wrote:
>
> On Fri, Sep 4, 2009 at 7:35 AM, Joshua Russo
> wrote:
> > The reason I was looking at the dump data instead of a MySQL backup is
> > because it was more obvious to automate. I'm going to take a closer look
> a
I personally don't have any experience with PostgreSQL and I'm generally
working in a mixed MS and Linux environment. I'm interested to hear peoples
views on the pluses and minuses of the two different systems. I'm a bit of a
query geek too. How does that play in? I know in MySQL there are limitati
ion.html
>
> On Sep 4, 10:29 pm, Joshua Russo wrote:
> > I personally don't have any experience with PostgreSQL and I'm generally
> > working in a mixed MS and Linux environment. I'm interested to hear
> peoples
> > views on the pluses and minuses of the t
t;
> With two servers: MySQL: 2 = 2 PostgreSQL: 2*2^2 = 8
>
> With 4 servers: MySQL: 4 = 4 PostgreSQL: 2*4^2 = 32
>
> With 12 servers: MySQL: 12 = 12 PostgreSQL: 2*12^2 = 288.
>
>
>
> On Sep 4, 4:29 pm, Joshua Russo wrote:
> > I personally don't have any expe
On Fri, Sep 4, 2009 at 11:07 PM, Tim Chase
wrote:
>
> > I personally don't have any experience with PostgreSQL and I'm generally
> > working in a mixed MS and Linux environment. I'm interested to hear
> peoples
> > views on the pluses and minuses of the two different systems. I'm a bit
> of a
> >
27;d recommend at least
> looking at it. There is even a live cd (which I have not tried) at
> http://www.postgresql.org/download/ which lets you try PostgreSQL out
> without having to install it.
>
>
>
> On Sep 4, 7:38 pm, Joshua Russo wrote:
> > On Fri, Sep 4, 2009 at 1
gt; you feel and ease of use, rather than how many terrabytes they can
> deal with as the features lists are more and more the same for all of
> them. Support and online community is also very important, probably
> the most if you're novice in both, and here MySQL prevails as it is
cated business rules into the database starts to make some
> sense-- even more so if you don't have good control over all the
> applications that are doing the updating.
>
>
> On Sep 5, 6:25 am, Joshua Russo wrote:
> > Great site! thanks
> >
> > With my SQL ex
On Mon, Sep 7, 2009 at 2:30 PM, Zberteoc wrote:
>
> Some consider good practice to actually never expose directly the
> tables to the users but do this through stored procedures and views
> only. In this way you achieves 2 major things, complete control and
> security. Users have no permission to
On Mon, Sep 7, 2009 at 2:55 PM, Samuel Hopkins wrote:
> Hello Django peeps,
>
> I am a Django newbee. I have had my eye on Djanjo for a year or so now but
> held off because I had limited python experience. However, after a summer of
> python and watching Django's popularity snowball, I think I am
On Tue, Sep 8, 2009 at 5:53 AM, Jan Ostrochovsky wrote:
>
> I won't compare PostgreSQL and MySQL as whole, because:
> - I do not know MySQL so well, as PostgreSQL
> - another flamewar could arise ;)
>
> I am only saying: my experience with Django+PostgreSQL is far better,
> than Django+MySQL, see
On Mon, Sep 7, 2009 at 11:48 PM, Jim wrote:
>
> On Sep 7, 7:30 pm, Joshua Russo wrote:
> > I then switched to just using Textpad with Python highlighting and
> pdb, (http://docs.python.org/library/pdb.html) for debugging. Once you
> get the
> > hang of pdb it's ext
On Tue, Sep 8, 2009 at 4:49 PM, Streamweaver wrote:
>
> I'm having trouble understanding the output of the reverse method.
>
> I have the following URL pattern:
>
> urlpatterns = patterns('dwrangler.project.views',
>(r'^in_development/$', 'summary_in_development'),
> )
>
> from the documentat
I wanted to remove the Sites app because it's not needed at the moment, but
when I ran the unit tests for the project the Auth unit tests use Sites
functionality. If I'm using Auth should I leave sites? I really just wanted
to clean up the Admin index page.
--~--~-~--~~~---
On Thu, Sep 10, 2009 at 8:15 PM, Andrew Gwozdziewycz wrote:
>
> On Sep 10, 3:05 pm, Joshua Russo wrote:
> > I wanted to remove the Sites app because it's not needed at the moment,
> but
> > when I ran the unit tests for the project the Auth unit tests use Sites
>
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 Google
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 f
(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
this site about a week ago and completely forgot about
it.
On May 15, 9:44 pm, Sam Chuparkoff 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
>
ername to details table.
>
> Regards,
> Lokesh
>
> On May 16, 7:30 pm, Joshua Russo wrote:
>
> > 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
s it's own limitations.
Does this make sense?
On May 16, 1:52 pm, Joshua Russo 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):
> user = models.For
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.
> Thi
"I apologize" that is
On May 16, 3:04 pm, Joshua Russo 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, though I wonder if it's some
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 - http://www.djangosni
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 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
> would be really nice to order by the
On Jun 17, 8:17 pm, Rajesh D wrote:
> Hi Josh,
>
> On Jun 17, 10:25 am, Joshua Russo 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 pa
On Jun 17, 8:17 pm, Rajesh D wrote:
> Hi Josh,
>
> On Jun 17, 10:25 am, Joshua Russo 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 pa
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 u
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 this
2009 at 2:28 PM, Joshua Russo
> > wrote:
>
> > > 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?
>
> > Erm, history where? You haven't provided a lot of information,
On Jun 18, 6:30 pm, Alex Gaynor wrote:
> On Thu, Jun 18, 2009 at 2:22 PM, Joshua Russo wrote:
>
>
>
> > I'm a little confused about where to use translation.ugettext and
> > translation.ugettext_lazy. The documentation says to always use the
> > lazy t
On Jun 18, 7:36 pm, Karen Tracey wrote:
> On Thu, Jun 18, 2009 at 3:42 PM, Joshua Russo wrote:
>
>
>
> > Yes, there is a link that says history on the admin pages. But I do
> > believe it pulls from the admin logs.
>
> I just checked and I've got history
On Sat, Sep 12, 2009 at 8:55 PM, Daniel Roseman wrote:
>
> On Sep 12, 9:53 pm, tom wrote:
> > Hi,
> >
> > i want to produce a left-join query with the django orm. Can anybody
> > help howto do the following query?
> >
> > SELECT S.value, D.value from data as S left join data as D on
> > S.entry_i
On Mon, Sep 14, 2009 at 1:27 PM, about2flip wrote:
>
> Hi:
>
> I am using learn django in 24 hours and I am following this example on
> models.
>
> from django.db import models
>
> class Person(models.Model):
>name = models.CharField('name', maxlength=200)
>email = models.EmailFie
On Mon, Sep 14, 2009 at 1:38 PM, Randy Barlow wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> about2flip declared:
> > File "E:\djproj\ifriends\..\ifriends\People\models.py", line 8
> > def_str_(self):
> > ^
> > SyntaxError: invalid syntax
>
> Looks like you
You might want to check this out as a more up to date intro:
http://docs.djangoproject.com/en/dev/intro/tutorial01/#intro-tutorial01
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
On Mon, Sep 14, 2009 at 1:38 PM, Joshua Russo wrote:
> On Mon, Sep 14, 2009 at 1:27 PM, about2flip wrote:
>
>>
>> Hi:
>>
>> I am using learn django in 24 hours and I am following this example on
>> models.
>>
>> from django.db import models
On Fri, Sep 18, 2009 at 10:13 PM, aa56280 wrote:
>
> When a new instance of some object is created, I need to send out X
> number of emails. X could potentially mean hundreds of emails.
>
> What would be the most efficient way to do this?
>
> I know if I use send_mass_mail() it could potentially
I was working through some regression tests and saw a scenario I thought
wasn't allowed/recommended. I was under the impression that if you specified
UTF-8 encoding at the top of the file you where not suppose to use u
decorated unicode static string. So instead of u'prédio' I use 'prédio' in
files
On Sat, Sep 19, 2009 at 1:31 PM, Karen Tracey wrote:
> On Sat, Sep 19, 2009 at 9:59 AM, Joshua Russo wrote:
>
>> I was working through some regression tests and saw a scenario I thought
>> wasn't allowed/recommended. I was under the impression that if you specified
>&
>
> ... in fact using utf-8 string literals can cause problems in other places
> with code that assumes another encoding (e.g. ascii) for byte strings.
>
Could you expand on this? I know that the Unicode string object has
different methods than standard String, but are there other scenarios where
On Sat, Sep 19, 2009 at 2:40 PM, Karen Tracey wrote:
> On Sat, Sep 19, 2009 at 11:19 AM, Joshua Russo wrote:
>
>> ... in fact using utf-8 string literals can cause problems in other places
>>> with code that assumes another encoding (e.g. ascii) for byte strings.
>>
On Sat, Sep 19, 2009 at 3:07 PM, Karen Tracey wrote:
> On Sat, Sep 19, 2009 at 11:51 AM, Joshua Russo wrote:
>
>> Just one other thing. I was under the impression that x = u''
>> is equivalent to x = Unicode(''). Is that not correct? Seeing as you seem
&g
On Sun, Sep 20, 2009 at 6:22 PM, SaiaGo wrote:
>
> I'm trying to make an Israeli site (which means it should be written
> in Hebrew) using the latest SVN and so far Django made it so easy I
> can't believe it's free. I got a simple magazine app with up and
> running in less then a day, and I bare
On Sep 21, 6:00 am, Kevin Bache wrote:
> Hi Everyone,
> I'm a bit of a Django noob so please forgive me if my hope here is
> swimmingly optimistic:
>
> I'd like to be able to set breakpoints in my django project which would be
> triggered by my browser's requests to the integrated Django developm
On Mon, Sep 21, 2009 at 10:15 AM, Joshua Russo wrote:
>
> On Sep 21, 6:00 am, Kevin Bache wrote:
> > Hi Everyone,
> > I'm a bit of a Django noob so please forgive me if my hope here is
> > swimmingly optimistic:
> >
> > I'd like to be able to set bre
On Mon, Sep 21, 2009 at 5:33 PM, Kevin Bache wrote:
> Thanks for both of your ideas.
>
> Joshua: It is stopping on the first line of code, and I can step through
> the manage.py module and if I recall (I'm not in front of my computer at the
> moment) it catches breakpoints in other files (ex: set
On Tue, Sep 22, 2009 at 7:23 PM, MV wrote:
>
> I have a Movie model
> and I have a Image model
> the Image model has a ForeignKey(Movie)
>
> Each Movie has an arbitrary amount of Images.
>
> I have a view where I list all the Movies.
> For each Movie entry, I want one Image.
>
> How do I do that?
I've been happily using JQuery for a while and was wondering why people use
the frameworks that they do. I want to see how other's get flexibility and
efficiency (cool widgets and good response time) out of JavaScript.
For example: The current project I'm working on I've created a visual
display of
I was looking through the QuerySet code and noticed logic for both deepcopy
and clone. What's the difference? What would be an example of why I should
use one or the other?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
I want to apply style to a block of text in the middle of a sentance without
effecting the flow. I've been using what feels like a serious hack by using
tags with a class property. My big fear is that the tags will
disappear from the list of supported tags. But really there has to be a way
to do t
On Wed, Sep 23, 2009 at 12:40 PM, gustavo wrote:
>
> Hi people!!
>
> I need help trying to understand templates.
>
> Let me explain where I am. I have finished the django tutorial and I
> am assuming ( been right or wrong, I dont know) that the best thing to
> do is to use the template automatic
On Wed, Sep 23, 2009 at 1:00 PM, Daniel Roseman wrote:
>
> On Sep 23, 2:54 pm, Joshua Russo wrote:
> > I want to apply style to a block of text in the middle of a sentance
> without
> > effecting the flow. I've been using what feels like a serious hack by
> using
&g
The multi-db branch is just now in the process of being baked into the core
and from what I can tell it's not quite done yet. Even when it is completely
done I would recommend the data warehouse approach. I view the multi-db
functionality more as a last resort, where you really don't have an option
ld just connect directly to the
> operational systems. I wonder if all that theory is really necessary
> for a basic data warehouse...
>
> On Sep 23, 12:09 pm, Joshua Russo wrote:
> > The multi-db branch is just now in the process of being baked into the
> core
> > and
gestion to Tony as well. ; )
> I'm a just graduate and at work I'm working on something very similar
> to what has been discussed here.
>
> On Sep 23, 9:51 pm, Joshua Russo wrote:
> > I have many years of database design experience and it sounds like you
> are
> > gett
Great links guys, thanks. I'm still in the mindset of frameworks just making
JavaScript less painful too and I'm looking for ways to move beyond that. I
just started looking at Dojo before posting this and it definitely looks
like it has potential.
--~--~-~--~~~---~--~-
mixed?
>
> I would start a new thread, but whereas the multi-db issue related
> directly to developing Django technology, I'm not sure the issue of
> the warehouse design is an appropriate topic for this group (although
> I'm also not sure where I should discuss it).
On Mon, Sep 28, 2009 at 4:00 AM, Jani Tiainen wrote:
>
> Joshua Russo kirjoitti:
> > Great links guys, thanks. I'm still in the mindset of frameworks just
> > making JavaScript less painful too and I'm looking for ways to move
> > beyond that. I just started l
On Mon, Sep 28, 2009 at 4:30 AM, J wrote:
>
> Hello,
>
> I need to add custom dynamic admin actions (based on records in a
> related table), but I'm not entirely sure how to do this, as it's not
> explained in the docs.
>
> Basically, I have two models: "Transaction", which has a foreign key to
>
the DOM fun, but MooTools makes Javascript
> fun.
>
> On Sep 28, 4:37 am, Joshua Russo wrote:
> > On Mon, Sep 28, 2009 at 4:00 AM, Jani Tiainen wrote:
> >
> > > Joshua Russo kirjoitti:
> > > > Great links guys, thanks. I'm still in the mindset of framew
It sounds like you just want defaults for your relationships. Is that right?
How are you determining which account to use?
On Mon, Sep 28, 2009 at 12:30 PM, J wrote:
>
> Joshua Russo wrote:
> > When do you want your "dynamic actions" take place?
> >
>
>
r my OOBase users to
> go to would be an added plus.)
>
> So maybe I shouldn't be calling what I need a "warehouse", but rather
> a "central data repository with an ETL layer"? Or maybe I should
> throw out the ETL overhead entirely and figure out how to perf
On Mon, Sep 28, 2009 at 6:36 PM, David Larlet wrote:
>
> Le 22 sept. 2009 à 03:10, snfctech a écrit :
> > I understand that there is a Django branch being actively worked on
> > for connections to multiple DB vendors, or that Django + Elixir may be
> > a good option. But I'm wondering if building
On Mon, Sep 28, 2009 at 7:55 PM, luismmontielg wrote:
>
> Hello,
> I have my models like this...
>
> class Report(models.Model):
>title = models.CharField(max_length=50, blank=True)
>users = models.ManyToManyField(User, symmetrical=True)
>categories = models.ManyToManyField("Category",
the ones that do not have the user.
>
> Thanks again
>
>
> On 28 sep, 20:16, luismmontielg wrote:
> > sorry forgot to mention its a many to many relation so a report can
> > have multiple users
> >
> > On Sep 28, 4:29 pm, Joshua Russo wrote:
> >
> >
On Sat, Oct 10, 2009 at 9:15 AM, Rizwan wrote:
>
> Hello Djangoer,
>
> I am trying to create website with foreign language in it. I have
> created model for content type and added one page in it. It saving
> fine in database. When I have tried to write view model for this page.
> Its showing me "
t;
>
>{% for id,url, title,content in details %}
>{{title|safe}}
>{% endfor %}
>
>
>
>Recent Entries
>
>Recent Entries1 01 Des
> 06
>Recent Entries2 01 Des
>
2009/10/19 Tomasz Zieliński
>
> On 19 Paź, 20:21, Daniel Roseman wrote:
> >
> > You can't do this in one query with Django's ORM.
> >
> > One way of doing it in two queries might be to get use .annotate() to
> > add the max id of the related objectrevision for each revision, then
> > get all tho
On Mon, Oct 19, 2009 at 8:03 PM, John Handelaar wrote:
>
> Hello
>
> For reasons I won't bore you with, a Mysql legacy DB *whose schema I
> cannot alter* contains (inter alia) two tables. I'm trying to write
> an alternative front-end to this DB in Django which would be
> read-only.
>
> tableone
On Mon, Oct 19, 2009 at 10:28 PM, The Danny Bos wrote:
>
> Hiya,
>
> In the Django Admin for the DateField I only want to display the Year
> and Month as select lists. I'll default the day to the 1st every time.
> Is this possible?
>
> I want to keep the dates very simple, as I'll be adding many
ast reply,
>
>
> d
>
>
>
> On Oct 20, 10:38 am, Joshua Russo wrote:
> > On Mon, Oct 19, 2009 at 10:28 PM, The Danny Bos
> wrote:
> >
> >
> >
> > > Hiya,
> >
> > > In the Django Admin for the DateField I only want to displa
This is mainly just curiosity at the moment. How do you create a
"processing" intermediate page, like you see on travel sites when they are
looking for the rates? I would always avoid this if at all possible, but
sometimes you have a process that takes longer than usual.
I've been looking around t
I'm creating a wxPython application that the client can run to make
sure the installation stack is functioning properly. I want to include
the unit test processing in this application but I've run into some
difficulties. An additional wrinkle I threw in was that I am using
py2exe so they don't also
On Mon, Aug 2, 2010 at 6:41 PM, Joshua Russo wrote:
> I'm creating a wxPython application that the client can run to make
> sure the installation stack is functioning properly. I want to include
> the unit test processing in this application but I've run into some
> diffi
On Aug 4, 6:49 pm, Hassan wrote:
> > Ok, so it appears that (in Python 2.5 at least) there is no way to capture
> > the stdout of subprocess.Popen()
>
> just do this
>
> from subprocess import Popen, PIPE
> p = Popen([cmd], stdout=PIPE)
> p.stdout.readlines()
>
> thats it!
The problem is that it
On Thu, Aug 5, 2010 at 10:53 PM, Steve Holden wrote:
> On 8/5/2010 7:16 PM, Joshua Russo wrote:
> > On Aug 4, 6:49 pm, Hassan wrote:
> >>> Ok, so it appears that (in Python 2.5 at least) there is no way to
> capture
> >>> the stdout of subprocess.Popen()
&
On Aug 6, 9:57 am, "J. Cliff Dyer" wrote:
> "Joshua Russo" wrote:
> >On Thu, Aug 5, 2010 at 10:53 PM, Steve Holden wrote:
>
> >> On 8/5/2010 7:16 PM, Joshua Russo wrote:
> >> > On Aug 4, 6:49 pm, Hassan wrote:
> >> >>
On Fri, Aug 6, 2010 at 12:17 PM, Joshua Russo wrote:
> On Aug 6, 9:57 am, "J. Cliff Dyer" wrote:
> > "Joshua Russo" wrote:
> > >On Thu, Aug 5, 2010 at 10:53 PM, Steve Holden
> wrote:
> >
> > >> On 8/5/2010 7:16 PM, Joshua Russo wrot
There are a lot of PostgreSQL drivers listed on the Python Wiki
http://wiki.python.org/moin/PostgreSQL
Has anyone found one to be better or even that different from another?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
On Thu, Aug 26, 2010 at 10:17 PM, Joshua Russo wrote:
> There are a lot of PostgreSQL drivers listed on the Python Wiki
> http://wiki.python.org/moin/PostgreSQL
>
> Has anyone found one to be better or even that different from another?
>
Nevermind, It helps to read the docs.
-
I have project that I have been working and I was contemplating open
sourcing it but I ran into a little hang up. How to handle the database
authentication. The settings file obviously needs to be included but I
don't want to advertise the production database login. How is this
generally handle
> I thought it was done well, but I later realised it needed a serious amount
> of re-writing and documentation - which I still haven't got around to doing;
> https://github.com/foxx/django-cutemodel
>
> Others may be able to offer a bit more advice, but the above is a head
&g
ither.
Thanks for the idea
On Sunday, October 14, 2012 4:56:59 PM UTC-4, CLIFFORD ILKAY wrote:
>
> On 10/14/2012 03:47 PM, Joshua Russo wrote:
> > I have project that I have been working and I was contemplating open
> > sourcing it but I ran into a little hang up. How to h
This is probably a VirturalEnv problem as opposed to a Django problem but I
was wondering if someone here could point me in the right direction.
I'm trying to setup clean environment for a demonstration of Django on
Tuesday but I get the following when I try to setup the project within the
virt
used / ended up with were:
Python 2.7.3 (32 bit)
Postgres 9.2 (32 bit)
Setuptools 0.6c11 for Python 2.7
Psycopg2 2.4.5 for Python 2.7 (32 bit)
VirtualEnv 1.8.2
Django 1.4.1
On Sunday, October 14, 2012 6:25:41 PM UTC-4, Joshua Russo wrote:
>
> This is probably a VirturalEnv
on main installation and virtualenv created
> with --no-site-packages should disable it from virtualenv.
>
> This is the battle tested procedure how I do set up my environment:
>
> http://djangonautlostinspace.wordpress.com/2012/04/16/django-and-windows/
>
>
> 15.10.2012
My models.py was getting too large so I tried to split it into
/models
__init__.py
someLogicalGroupOfModels.py
andSoOn.py
in the __init__.py I have
from appName.models.someLogicalGroupOfModels import *
from appName.models.andSoOn import *
All of my imports still work but the queries are n
Perfect! Thank you
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/NRyP256j0G4J.
To post to this group, send email to django-users@googlegroups.com.
To unsu
I setup this patter in url.py
url(r'^events/(?P\d{4})/(?P\d{2})/$', events,
name="eventsMonth")
in my template I have this tag
{% url eventsMonth year=month.prev.year month=month.prev.month %}
but I keep getting
Caught NoReverseMatch while rendering: Reverse for 'eventsMonth' wit
Never mind I got it. I changed my url patter to
url(r'^events/(?P\d{4})/(?P\d{1,2})/$', events,
name="eventsMonth")
I'm still not very sharp on my regex skills. I realized that {2} required a
2 digit number
--
You received this message because you are subscribed to the Google Groups
"Dj
Ok, I've been looking into the different database based translation
solutions out there and I can't find what I really had in mind. I need to
have non-technical people easily update the translations. So I wanted a
solution where I could create an interface to ease the process.
One problem is th
Ooo that looks like what I'm looking for. Thanks for the tip.
Do you have any experience with it?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/BhN92mZ7
Things will break in the sense that, if you add another app that accesses
the User model they will only see the original implementation. They won't
get your subclass. Other than that, other apps that use the User model
should "work" just fine.
Unless I'm missing something, and in that case some
I know this is a bit off topic but I know this place is full of very
helpful intelligent people. :o)
Ok so I have an html block (div, p, doesn't matter what kind), and I fill it
with a label and an input text field. The input is always larger than the
label (rightly so), but the label is always
101 - 200 of 236 matches
Mail list logo