This sounds like more of a Python question than a Django question
Have a look at Python's 'random' module and Django's 'send_mail' shortcut.
Shawn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us.
Hi, everyone
I'm trying to code "sending email randomly function".
[img]http://file.kaywon.ac.kr:2700/club/bluerad/test6.JPG[/img]
this is request form that i made.
When user click "submit" button, the data will be saved and send e-mail to 3
judges of 10 judges randomly.
[b]development envirn
On Sep 27, 9:43 pm, Bill Seitz wrote:
> I know Django will support multiple SQL databases by just having a
> tuple of DATABASES entries in settings.py.
>
> But can I put a single item in DATABASES for a SQL part, and a 'from
> mongoengine import connect' section in as well?
>
> I'd like to have us
I'm pretty happy with openkomodo.org Edit.
my favorite feature is allowing me to open and edit file on a remote
server using ssh transparently.
Bedros
On Sep 27, 9:59 pm, girish shabadimath
wrote:
> Hi all,
>
> Thanks for the replies,,i got bunch of IDEs.. will figure out which is best
> for m
Hi tom,
There are no reason why your code should work.
>>> shrubentry = shrub(uid_string_id = rootentry.uid_string)
>>> treeentry = tree(uid_string = rootentry.uid_string)
I hardly see why you are using uid_string_id on the first while using
uid_string (without the _id) on the second.
If you re
On Mon, 2010-09-27 at 22:51 -0400, Steve Holden wrote:
> I'd just like to briefly report back on the inquiries Nancy and I have
> been making into East coast venues for DjangoCon 2011.
just curious - why a hotel? In India we hold such conferences in
universities/colleges - they provide all facili
On Mon, 2010-09-27 at 15:07 +0200, bagheera wrote:
> Dnia 27-09-2010 o 15:00:51 girish shabadimath
>
> napisał(a):
>
> > actually i use vim for writing python scripts , i wanted IDE to easy
> my
> > tasks of writing script (like auto-completion) ,,,i dont want GUI
> > based,,i prefer edito
Hi all,
Thanks for the replies,,i got bunch of IDEs.. will figure out which is best
for my work environment
On Tue, Sep 28, 2010 at 7:51 AM, Brandon Taylor wrote:
> Aptana Studio 2 & 3 Beta + PyDev on Linux makes a great dev
> environment for Django. You can create runtimes for debugging, add
>
Make conference in eastern europe :)
- Исходное сообщение -
> I'd just like to briefly report back on the inquiries Nancy and I have
> been making into East coast venues for DjangoCon 2011. This is not a
> final answer, simply reassurance that things have actually been
> happening.
>
> Sad
Is the bay area right out for cost reasons?
dz
Sent from my iPhone
On Sep 27, 2010, at 8:48 PM, Samuel Baldwin wrote:
> 2010/9/27 Franklin Einspruch :
>> May I humbly suggest Boston?
>
> Another for Boston.
> --
> Samuel Baldwin - logik.li
>
> --
> You received this message because you are sub
2010/9/27 Franklin Einspruch :
> May I humbly suggest Boston?
Another for Boston.
--
Samuel Baldwin - logik.li
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe f
On 9/27/2010 11:02 PM, Shawn Milochik wrote:
> > I live on the east coast, but the past two DjangoCons have caused me
> > to fall in love with Portland. It would be a treat for me to get to
> > go there again in 2011.
> >
> > In fact, if it's in Portland next year I plan to make a family
> > vacati
May I humbly suggest Boston?
- a Bostonian
On Mon, Sep 27, 2010 at 11:00 PM, Joe Casper wrote:
> How about Atlanta or Orlando?
>
> Sent from my iPhone
>
> On Sep 27, 2010, at 10:51 PM, Steve Holden wrote:
>
>> I'd just like to briefly report back on the inquiries Nancy and I have
>> been makin
On Tue, Sep 28, 2010 at 10:51 AM, Steve Holden wrote:
> I'd just like to briefly report back on the inquiries Nancy and I have
> been making into East coast venues for DjangoCon 2011. This is not a
> final answer, simply reassurance that things have actually been happening.
>
> Sadly, New York is
I live on the east coast, but the past two DjangoCons have caused me to fall in
love with Portland. It would be a treat for me to get to go there again in
2011.
In fact, if it's in Portland next year I plan to make a family vacation of it.
So, that's my vote, for whatever it's worth. Hope to
How about Atlanta or Orlando?
Sent from my iPhone
On Sep 27, 2010, at 10:51 PM, Steve Holden wrote:
> I'd just like to briefly report back on the inquiries Nancy and I have
> been making into East coast venues for DjangoCon 2011. This is not a
> final answer, simply reassurance that things have
I'd just like to briefly report back on the inquiries Nancy and I have
been making into East coast venues for DjangoCon 2011. This is not a
final answer, simply reassurance that things have actually been happening.
Sadly, New York is out for 2011. Those (very few) venues whose costs are
low enough
Hi all,
I'm trying to have comments on my sites shown on all other sites, as I
have a 'mobile' skin for my site on a separate domain and site_id.
So for example:
Joe posts a comment on http://www.site1.mydomain.com
Mary goes to http://www.mobilesite.mydomain.com and can see and
respond to Joe's
Aptana Studio 2 & 3 Beta + PyDev on Linux makes a great dev
environment for Django. You can create runtimes for debugging, add
modules to the Python path for your project, like the site-packages
folder from a virtualenv.
You'll get code assist for Python, HTML, CSS and JavaScript. A number
of Java
Op maandag 27 september 2010 09:08:53 schreef MrMuffin:
> Where do you put your business logic in django? In my project I`ve put
> it into the models.py, but that file soon become huge and hard to
> maintain. Of course I can just stuff it into whatever file I like, but
> I`d like to have some stand
2010/9/27 nyambaa :
> Is there any certification for Django developers?
Experience.
--
Samuel Baldwin - logik.li
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscrib
Hello dear,
Is there any certification for Django developers?
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-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-use
pycharm is very slow ı think for pycharm is wrote java programming
language..wing ide is best..
2010/9/28 Jason
> PyCharm is pretty amazing but it costs $ after its out of beta. Best
> code completion I've seen for Django.
>
> My ONLY complaint is you can't open up a python console during debug
PyCharm is pretty amazing but it costs $ after its out of beta. Best
code completion I've seen for Django.
My ONLY complaint is you can't open up a python console during debug.
It has a pretty good debugger but seeing as other IDEs have no problem
here I don't know why they left it out.
Still, I
On 27 sep, 17:31, Thomas Weholt wrote:
> On Mon, Sep 27, 2010 at 4:52 PM, bruno desthuilliers
>
>> ??? Which "django specific magic" ???
>
> I was referring to syncdb. As far as I know, models defined outside
> any models.py or models module won`t be picked up by syncdb, but I
> might be wrong.
On Linux(Ubuntu) I am loving Aptana Studio 3.
Good performance, and form me that used Eclipse for almost 7 years, it fits
perfectly.
On Mon, Sep 27, 2010 at 3:40 PM, Masklinn wrote:
> On 2010-09-27, at 16:29 , fcaldera wrote:
> > On 27 Set, 14:52, Masklinn wrote:
> >> On 2010-09-27, at 14:51 ,
OKay thanks for the tortoisehg link.I get an error when trying to use
the hg command
C:\>hg clone https://trespams-vim.googlecode.com/hg/ trespams-vim
requesting all changes
adding changesets
adding manifests
adding file changes
added 13 changesets with 223 changes to 197 files
updating to branch
I know Django will support multiple SQL databases by just having a
tuple of DATABASES entries in settings.py.
But can I put a single item in DATABASES for a SQL part, and a 'from
mongoengine import connect' section in as well?
I'd like to have users/accounts/payments in SQL, and all my main/
mess
i'm trying to test post request using Client from django.test.client
(v1.1.2) but it returns None for response.
target url is a django-piston resource and i can test it normally from
django shell:
>>> h.request(url, "POST", urlencode(data)) # h is httplib2.Http object
but when i try to use Client#
I picked up a tip on dynamic translation here:
http://fseoane.net/blog/2009/django-change-language-settings-dynamically
Basically, you import "activate" from django.utils.translation, and
use that as necessary to change your active language on the fly
(something I need to do in order to store use
I am currently translating a project, and many of the strings needing
translation are located in my templates. Unfortunately, the .po files
are not being created when I run makemessages, which I am doing from
my project home using:
./manage.py makemessages -l es -e html,shtml
Makemessages is work
You're just all around doing it wrong. A ModelForm is used so that you
don't have to individually list all the fields you need, it is based
off the model. What is the code for your Model? And also, I'd reread
the form reference from the start.
On Sep 26, 5:25 pm, Marc Aymerich wrote:
> On Sun, Se
Den 27/09/2010 kl. 19.02 skrev harryos:
> thanks for the pointer
> I am trying to get something similar to changedetection but with
> hourly updates.
> I need to get updates from a number of sites..So I was wondering how
> to implement an updating utility
You could also try looking at the HTTP
Hi,
I'd like to use a UUID as my primary key in a PostgreSQL-backed Django
database. As with a serial primary key, I'd like the database rather than
Django to supply the initial value of the primary key; the primary key field in
the DB is declared as DEFAULT uuid_generate_v4(). It *almost* wo
On 2010-09-27, at 16:29 , fcaldera wrote:
> On 27 Set, 14:52, Masklinn wrote:
>> On 2010-09-27, at 14:51 , girish shabadimath wrote:> hi all,
>>
>>> is there any IDE for Python/Django ?
>>
>> Yes.
>
> Could you be less specific, please?
Probably.
--
You received this message because you are s
>>
>> 2010/9/27 João Rodrigues
>>>
>>> http://code.google.com/p/trespams-vim/
Well I'm a little biased towards vim after all I try to mantain the
trespams-vim, but I have tested nearly all the IDEs that have been
posted in this thread, and my conclusion is that no exists such a
thing as the perfe
Wing ide is best.for qt programming and django..
2010/9/27 Sandro Dutra
> I like Eric and Aptana.
>
> 2010/9/27 João Rodrigues
>
> http://code.google.com/p/trespams-vim/
>>
>> On 27 September 2010 14:00, girish shabadimath
>> wrote:
>> > actually i use vim for writing python scripts , i wanted
As far as I know I constructed the urls properly. For example one of
them was /policy/ (that's how it looked in flatpages). I did find
another work around though.
I removed the flatpages middleware from my settings. And then I added
this to my urls:
urlpatterns += patterns('',
(r'^(?Ppages/
I did a quick Google search and didn't find anything that was obviously solving
this problem. I did see companies that sell this service, and probably with
good reason.
Due to dynamic content such as ads, data from RSS feeds, and simply
auto-generated content from server-side code, it seems tha
2010/9/27 Josh :
> bump. Does anyone have any ideas?
Trailing slash issue?
Just look into the middleware and see when the response code is modified.
Regards,
Piotr
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
I like Eric and Aptana.
2010/9/27 João Rodrigues
> http://code.google.com/p/trespams-vim/
>
> On 27 September 2010 14:00, girish shabadimath
> wrote:
> > actually i use vim for writing python scripts , i wanted IDE to easy my
> > tasks of writing script (like auto-completion) ,,,i dont want GUI
http://code.google.com/p/trespams-vim/
On 27 September 2010 14:00, girish shabadimath wrote:
> actually i use vim for writing python scripts , i wanted IDE to easy my
> tasks of writing script (like auto-completion) ,,,i dont want GUI based,,i
> prefer editor like vim which supports python scrip
Is it possible to have a tree for each user? I was trying something like this
# - models.py -- #
from django.db import Models
from django.contrib.auth.models import User
from treebeard.mp_tree import MP_Node
class MyTree(MP_Node):
user = models.ForeignKey(User)
desc = models.CharF
thanks for the pointer
I am trying to get something similar to changedetection but with
hourly updates.
I need to get updates from a number of sites..So I was wondering how
to implement an updating utility
harry
On Sep 27, 9:16 pm, Shawn Milochik wrote:
> If you're asking for functionality like
I have some modelforms within a . Each form has one
checkboxselectmultiple that is not required. If I post nothing (all
checkboxes are empty) then all of the forms are invalid. If I post
anything then all of the forms are valid. This anything could be that
one of the forms has a box checked, or
bump. Does anyone have any ideas?
On Sep 24, 3:56 pm, Josh wrote:
> I have a django project, its a satchmo store. I have noticed that
> when the flatpages middleware is in my settings.py 404s seem to be
> handled incorrectly. i.e. if a page really does not exist the server
> first sends a 302
bump. Does anyone have any ideas?
On Sep 24, 3:56 pm, Josh wrote:
> I have a django project, its a satchmo store. I have noticed that
> when the flatpages middleware is in my settings.py 404s seem to be
> handled incorrectly. i.e. if a page really does not exist the server
> first sends a 302
I have the following models (simplified example):
class Book(models.Model):
users = models.ManyToManyField(User, through=Permission)
class Permission(models.Model):
user = models.ForeignKey(User)
role = models.ForeignKey(Group)
active = models.BooleanField()
book = models.ForeignKey(Book)
W
Today, I stumbled over an at first sight strange behaviour using
models (db). It looks like a bug. I posted the code on stackoverflow:
http://stackoverflow.com/questions/3805752/possible-bug-in-django-models
greetings,
tom
--
You received this message because you are subscribed to the Google Gr
If you're asking for functionality like this: http://www.changedetection.com/
Or are you looking for something to embed in your own code to know when
something has happened on your own site?
If the former, you can probably do it by scheduling a urlopen and saving its
hash, comparing it each tim
On 9/27/2010 11:31 AM, Thomas Weholt wrote:
> On Mon, Sep 27, 2010 at 4:52 PM, bruno desthuilliers
> wrote:
>> On 27 sep, 12:55, Thomas Weholt wrote:
>>> On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote:
I think the point is to learn enough Python that you don't need
Django-specifi
Hello,
The following is quite long but reflects a non developper point of view.
I'll expose briefly that business analysis already splits logic and why
I think you should follow previous recommandations. I'll finish "out of
subject" commenting your documentation request.
> Split business lo
On Mon, Sep 27, 2010 at 4:52 PM, bruno desthuilliers
wrote:
> On 27 sep, 12:55, Thomas Weholt wrote:
>> On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote:
>> > I think the point is to learn enough Python that you don't need
>> > Django-specific advice.
>>
>> > [Thinks: definitely time for a "
Thank you for the tip! I'll have to check this one out. That does
look like it could have been helpful. I missed it in going over the
documentation. Do you have any good links to documentation on it?
The django admin page where it is mentioned is spartan, and I'd like
to see what the parent met
For linux/ubuntu there is also Eric IDE. It has django plugin.
On Sep 27, 7:38 am, Sithembewena Lloyd Dube wrote:
> Less? He could probably ask, "is there any IDE?"
>
> ^^ Couldn't let that one slip by...haven't trolled in a while :)
>
> On Mon, Sep 27, 2010 at 4:29 PM, fcaldera wrote:
>
>
>
>
>
On 27 sep, 12:55, Thomas Weholt wrote:
> On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote:
> > I think the point is to learn enough Python that you don't need
> > Django-specific advice.
>
> > [Thinks: definitely time for a "Python for Djangonauts" class].
>
> I`m asking for a best-practice a
Less? He could probably ask, "is there any IDE?"
^^ Couldn't let that one slip by...haven't trolled in a while :)
On Mon, Sep 27, 2010 at 4:29 PM, fcaldera wrote:
>
>
> On 27 Set, 14:52, Masklinn wrote:
> > On 2010-09-27, at 14:51 , girish shabadimath wrote:> hi all,
> >
> > > is there any IDE
On 27 Set, 14:52, Masklinn wrote:
> On 2010-09-27, at 14:51 , girish shabadimath wrote:> hi all,
>
> > is there any IDE for Python/Django ?
>
> Yes.
Could you be less specific, please?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Using the later django versions, supports mutiple database/schemas
with a DATABASES dict in settings.py
your modles can select different db's on the fly:
result = MyModel.objects.using('anotherdb').filter...
Should get you there.
On Sep 27, 4:37 am, Jean-Pierre De Villiers
wrote:
> On Sep 27,
Javascript is a bugger and miserably difficult to debunk and
implement.
Google blows me away, in that they actually developed google apps with
it. Kudos! I suspected it was possible, but think my brain would end
up looking like funky grey mushy matter if I were one of the
developers on the team
Hi,
requests with a query string (http://example.com?foo=bar) are not cached in
Django:
http://code.djangoproject.com/svn/django/trunk/django/middleware/cache.py
{{{
if not request.method in ('GET', 'HEAD') or request.GET:
request._cache_update_cache = False
retur
So far there is 3 big ones for django, Eclipse + PyDev or Aptana +
PyDev, WingIDE (latest version can even debug django templates) and
PyCharm.
If you want something OSS or Free Eclipse or Aptana, otherwise you may
want to checkout both WingIDE and PyCharm to see if you like one of
those.
Persona
Dnia 27-09-2010 o 15:00:51 girish shabadimath
napisał(a):
actually i use vim for writing python scripts , i wanted IDE to easy my
tasks of writing script (like auto-completion) ,,,i dont want GUI
based,,i prefer editor like vim which supports python scripts
GUI based, but lightweight "G
actually i use vim for writing python scripts , i wanted IDE to easy my
tasks of writing script (like auto-completion) ,,,i dont want GUI based,,i
prefer editor like vim which supports python scripts
On Mon, Sep 27, 2010 at 6:26 PM, Sithembewena Lloyd Dube
wrote:
> Hi Girish,
>
> I do not know w
yw. SPE is strictly a Python IDE, so I am not aware of any support for
Django tags. If you are comfortable with client-side coding, I reckon you
shouldn't really need that anyway.
On Mon, Sep 27, 2010 at 2:56 PM, girish shabadimath <
girishmss.1...@gmail.com> wrote:
> thanks a lot...
>
>
> On Mo
On Mon, Sep 27, 2010 at 6:24 PM, girish shabadimath <
girishmss.1...@gmail.com> wrote:
> im using ubuntu machine so which IDE is best suited for this machine.
>
>
> On Mon, Sep 27, 2010 at 6:23 PM, girish shabadimath <
> girishmss.1...@gmail.com> wrote:
>
>> can u please tell me which is it..
>>
>
thanks a lot...
On Mon, Sep 27, 2010 at 6:28 PM, bagheera wrote:
> Dnia 27-09-2010 o 14:51:15 girish shabadimath
> napisał(a):
>
>
> hi all,
>>
>> is there any IDE for Python/Django ?
>>
>>
> Most will probably recommend Eclipse + pydev plugin or Aptana + pydev.
> I fell quite comfortable with
Hi Girish,
I do not know what platform you work on, but on Windows try Jetbrains
PyCharm. On Linux, try SPE, or Eclipse with Pydev extensions (the latter is
also available on Windows).
What are you looking for in an IDE? Give more info to get a better answer.
On Mon, Sep 27, 2010 at 2:52 PM, Mas
im using ubuntu machine so which IDE is best suited for this machine.
On Mon, Sep 27, 2010 at 6:23 PM, girish shabadimath <
girishmss.1...@gmail.com> wrote:
> can u please tell me which is it..
>
>
> On Mon, Sep 27, 2010 at 6:22 PM, Masklinn wrote:
>
>> On 2010-09-27, at 14:51 , girish shabadima
Dnia 27-09-2010 o 14:51:15 girish shabadimath
napisał(a):
hi all,
is there any IDE for Python/Django ?
Most will probably recommend Eclipse + pydev plugin or Aptana + pydev.
I fell quite comfortable with NetBeans. Unfortunately it doesn't support
django template language.
--
Linux use
can u please tell me which is it..
On Mon, Sep 27, 2010 at 6:22 PM, Masklinn wrote:
> On 2010-09-27, at 14:51 , girish shabadimath wrote:
> > hi all,
> >
> > is there any IDE for Python/Django ?
> Yes.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django u
On 2010-09-27, at 14:51 , girish shabadimath wrote:
> hi all,
>
> is there any IDE for Python/Django ?
Yes.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from
hi all,
is there any IDE for Python/Django ?
--
Girish M S
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubsc
I found the link but since I don't really know any JavaScript (I was just
kinda wondering if I should start learning it), I just downloaded it and
installed it. It should come in handy at some point though.
On Sun, Sep 26, 2010 at 8:02 PM, Axel Bock wrote:
> I gotta say this is the kind of answ
Yeah you can, most of the shared web hostings provide either of
Passegener
Fast CGI
WSGI
Modules to run python web apps. you need to check which one is
installed for you and use the respective config.
Regards,
//Vikalp
On Mon, Sep 27, 2010 at 12:58 PM, McFarlane wrote:
> Hello,
>
> I'm curio
yeah i was looking at something like that... actually let me correct
what i'm needing to do:
select year(fieldname) as pubyear from table order by year(fieldname) asc
On 09/27/2010 01:15 AM, akaariai wrote:
The most efficient? Exactly that using raw SQL. I think something
along the followin
On Sep 27, 9:30 am, Nabil Servais wrote:
> Hello,
>
> Le 27/09/2010 08:53, Jean-Pierre De Villiers a crit :
>
> > Hi,
> > Is there a way to access an existing database schema in Django?
> > Any help would be appreciated!
>
> > J
>
> You can use the inspectdb option of the project manager, you
Hello,
I'm curious if I can install django on my webserver. It is a cheap
Webserver I used for PHP and Python scripts. My Problem is, that I am
only able to toggle "Python support" with a checkbox on the Domain-
Config-Panel. I cannot install any Packages to apache.
Is it still possible to get a
I am trying to get a working setup for improved display of user details in
the Django Admin.
I am working with a legacy database, so all tables have a character-based
"username" (rather than the numeric one which Django uses), which is linked
to the "auth_user" table.
#models
class UserProxy(Use
Hi all you Djangonauts... I thought some of you might be interested in
finding out a little about what goes on over on the 'other side of the fence'
...in the Plone world. ;)
Django being a fantastic framework for creating web apps with relational
databases, and Plone being a content management sy
On Mon, Sep 27, 2010 at 12:40 PM, Steve Holden wrote:
> On 9/27/2010 4:57 AM, Thomas Weholt wrote:
>> On Mon, Sep 27, 2010 at 10:38 AM, bruno desthuilliers
>> wrote:
>>> On 27 sep, 09:08, MrMuffin wrote:
Where do you put your business logic in django?
>>>
>>> Depends on the definition of "b
On 9/27/2010 4:57 AM, Thomas Weholt wrote:
> On Mon, Sep 27, 2010 at 10:38 AM, bruno desthuilliers
> wrote:
>> On 27 sep, 09:08, MrMuffin wrote:
>>> Where do you put your business logic in django?
>>
>> Depends on the definition of "business logic", but :
>>
>>> In my project I`ve put
>>> it into
Thanks everyone, got it right.
On Wed, Sep 22, 2010 at 8:31 PM, tricks...@googlemail.com <
p...@hotmail.co.uk> wrote:
> What do you have in your settings.py?
>
> Make Sure you have the following configs
>
> TINYMCE_JS_URL (default: settings.MEDIA_URL + 'js/tiny_mce/
> tiny_mce.js')
> TINYMCE_
> On 25/09/2010 18:32, Tim Sawyer wrote:
>> On 25/09/10 15:57, craphunter wrote:
>>> Yes, I have read it, but I don't really get it. What is the meaning of
>>> it?
>>
>> Consider a website that has multiple blogs, all of which are deployed to
>> the same database.
>>
>> Consider that you want each
On 27 sep, 10:57, Thomas Weholt wrote:
> Ok, I see your point, but still - there`s nothing about this in the
> main django documentation as far as I know. The docs should have a
> section about organizing projects where the standard models.py and
> views.py doesn`t fit anymore.
FWIW, the first s
On 09/27/10 09:57, Thomas Weholt wrote:
> On Mon, Sep 27, 2010 at 10:38 AM, bruno desthuilliers
> wrote:
>> Using the package's __init__.py as a facade is certainly not "hackish"
>> - it's one of - if not the main - the raison d'être of this file.
>>
>> Now if your app is really growing that big,
On 27/09/2010 9:08, MrMuffin wrote:
> Where do you put your business logic in django? In my project I`ve put
> it into the models.py, but that file soon become huge and hard to
> maintain. Of course I can just stuff it into whatever file I like, but
> I`d like to have some standard way of doing thi
On Mon, Sep 27, 2010 at 10:38 AM, bruno desthuilliers
wrote:
> On 27 sep, 09:08, MrMuffin wrote:
>> Where do you put your business logic in django?
>
> Depends on the definition of "business logic", but :
>
>> In my project I`ve put
>> it into the models.py,
>
> That's also what I tend to do for
On 25/09/2010 18:32, Tim Sawyer wrote:
> On 25/09/10 15:57, craphunter wrote:
>> Yes, I have read it, but I don't really get it. What is the meaning of
>> it?
>
> Consider a website that has multiple blogs, all of which are deployed to the
> same database.
>
> Consider that you want each blog to
On 27 sep, 09:08, MrMuffin wrote:
> Where do you put your business logic in django?
Depends on the definition of "business logic", but :
> In my project I`ve put
> it into the models.py,
That's also what I tend to do for anything that's not a pure utility
class or function and that's not strict
On Mon, Sep 27, 2010 at 10:07 AM, Mike Dewhirst wrote:
> On 27/09/2010 5:08pm, MrMuffin wrote:
>>
>> Where do you put your business logic in django? In my project I`ve put
>> it into the models.py, but that file soon become huge and hard to
>> maintain. Of course I can just stuff it into whatever
hi
Is there an opensource notification utility in python/django?I mean,
something I can use to know when a website updates a page?
If someone knows about one,please let me know
thanks
harry
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
On 27/09/2010 4:53pm, Jean-Pierre De Villiers wrote:
Hi,
Is there a way to access an existing database schema in Django?
Any help would be appreciated!
google for 'existing schema django'
J
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
On 27/09/2010 5:08pm, MrMuffin wrote:
Where do you put your business logic in django? In my project I`ve put
it into the models.py, but that file soon become huge and hard to
maintain. Of course I can just stuff it into whatever file I like, but
I`d like to have some standard way of doing this. T
Hello,
Le 27/09/2010 08:53, Jean-Pierre De Villiers a écrit :
Hi,
Is there a way to access an existing database schema in Django?
Any help would be appreciated!
J
You can use the inspectdb option of the project manager, you will find
more information in the official documentation :
htt
Sometimes I put it in some 'utils.py' in the app directory, and sometimes in
'views.py' itself, with leading underscores, whichever I feel is more
appropriate.
I guess this would be more of the developer's choice. Any better
suggestions?
Thanks,
Subhranath Chunder.
On Mon, Sep 27, 2010 at 12:43
2010/9/27 MrMuffin :
> Where do you put your business logic in django? In my project I`ve put
> it into the models.py, but that file soon become huge and hard to
> maintain. Of course I can just stuff it into whatever file I like, but
> I`d like to have some standard way of doing this. There seems
97 matches
Mail list logo