Re: Import Error

2010-09-28 Thread Saad Sharif
Thanks a lo :) but there is a new error The Error: Forbidden (403) CSRF verification failed. Request aborted. Help Reason given for failure: CSRF token missing or incorrect. In general, this can occur when there is a genuine Cross Site Request Forgery, or when Django's CSRF

Re: Import Error

2010-09-28 Thread Yo-Yo Ma
(r'^login/', include('macrohms.views.login')), is incorrect. the include() function, pertaining to urls.py is for including other URL confs (so you can have sub-sections of your site contain their own urls.py). You'll want to replace that line with: url(r'^login/$', 'macrohms.views.login')),

What is the correct way to copy an object from one model to a similar model?

2010-09-28 Thread Yo-Yo Ma
I have two models that are identical in structure except one has 2 extra fields. The second one is used for record keeping and is never edited by users. The system takes the first model and copies it to the second model, adding some extra meta information, all when a certain action is performed

Import Error

2010-09-28 Thread Saad Sharif
Hi all, I created a simple login form My code: {% csrf_token %} username password login In views.py i added def login(request): return render_to_response('login.html') In urls.py i added (r'^login/', include('macrohms.views.login')), The Error when i press login button:

Re: Bug in model inheritance?

2010-09-28 Thread phill
Alec, Thanks.. yeah, your fix forces the fields to pk=True, which doesn't redundantly serialize the field with it's custom name in my case. If for some reason you wanted to ensure that the field was serialized using it's custom field name though.. there doesn't appear to be a way to do that. I'm

Re: How to get an ajax call to return both QuerySet and paging info in Django

2010-09-28 Thread Dmitrij Petters
Well that would require me to use simplejson.dumps(data) right? I need to use my custom serializer in order to do a deep serialization of the model to model dependencies. As far as I understand, serializers are meant to take querysets or something of the sort, not dictionaries containing various

Re: How to get an ajax call to return both QuerySet and paging info in Django

2010-09-28 Thread Steve Holden
On 9/28/2010 10:42 PM, Dmitrij wrote: > I am trying to implement paging across ajax calls. The page should not > refresh when the user wants to see the next x num of results. > > Here is my problem. Returning the QuerySet is super simple. I just do > (sumaJson is custom) > > data =

Re: User.get_profile() not working

2010-09-28 Thread Skylar Saveland
Using *args and **kwargs might work then maybe self.website = kwargs.get('website', 'default.com') On Sep 28, 1:45 pm, adj7388 wrote: > Django newbie issue. Just trying to understand. I'm setting up a > simple UserProfile class to link to User (as described in several >

Re: User.get_profile() not working

2010-09-28 Thread Skylar Saveland
Overriding __init__ might be a little shady, but you probably can get away with it if you use *args and **kwargs On Sep 28, 1:45 pm, adj7388 wrote: > Django newbie issue. Just trying to understand. I'm setting up a > simple UserProfile class to link to User (as described in

How to get an ajax call to return both QuerySet and paging info in Django

2010-09-28 Thread Dmitrij
I am trying to implement paging across ajax calls. The page should not refresh when the user wants to see the next x num of results. Here is my problem. Returning the QuerySet is super simple. I just do (sumaJson is custom) data = serializers.serialize('sumaJson', result_page.object_list,

Re: User.get_profile() not working

2010-09-28 Thread Daniel Roseman
On Sep 28, 6:45 pm, adj7388 wrote: > Django newbie issue. Just trying to understand. I'm setting up a > simple UserProfile class to link to User (as described in several > places in documentation). Here's what I have --- a simple example of > storing the user's website in a

Re: User.get_profile() not working

2010-09-28 Thread adj7388
Good grief. After spending hours trying to figure out what was wrong, I immediately found the problem after making this post. Here's the solution: I had overridden UserProfile.__init__() like this: class UserProfile(models.Model): def __init__(self, website='http://www.default.com'): while

Re: User.get_profile() not working

2010-09-28 Thread Ale
On Tue, Sep 28, 2010 at 2:45 PM, adj7388 wrote: > Django newbie issue. Just trying to understand. I'm setting up a > simple UserProfile class to link to User (as described in several > places in documentation). Here's what I have --- a simple example of > storing the user's

LOGIN FORM

2010-09-28 Thread Saad Sharif
Hi all, I want to create a simple login form in django..Please help I am a complete beginner My Code: {% csrf_token %} username password login Error Message (when I press login button) : Forbidden (403) CSRF verification failed. Request aborted. Help Reason given for failure:

Re: iPhone talking to Django server (matching session)

2010-09-28 Thread Skylar Saveland
User.objects.get(pk=Session.objects.get(pk=session_id).get_decoded() ['_auth_user_id']) via @SmileyChris On Sep 28, 9:36 pm, Danny Bos wrote: > Heya, > > I've got a Django application talking to an iPhone sending photos and > User data back and forth. I figured the best

Re: notification in python

2010-09-28 Thread harryos
hi Erik that was food for thought..content length may not work if substitutions leave length unchanged.. Will look into L distance ..thanks for the suggestion regards harry > Content length (which you could also get using the HTTP header "Content > Length") won't necessarily tell you if content

Re: form validation for empty checkboxes that are not required (and they are the only fields present)

2010-09-28 Thread Skylar Saveland
class Asset(models.Model): languages = models.ManyToManyField('account.Language', null=True, blank=True) class AssetLanguageForm(forms.ModelForm): languages = forms.ModelMultipleChoiceField( queryset=Language.objects.all(), required=False,

Re: Model field choices

2010-09-28 Thread Derek
Thanks, Steve. Sounds like a plan. On Sep 28, 10:48 pm, Steve Holden wrote: > On 9/28/2010 10:39 PM, Derek wrote: > > > I have a model which has choices specified for the "offer_type" field: > > > class Coupon(models.Model): > >    offer_types = ( > >            (1,

Re: Removing the 'site' (not the website/url) field from django-comments

2010-09-28 Thread EJ
Hi Tim, Good idea, but that won't work unfortunately as we use the 'Site' functionality between the 40-odd sites. Thanks though! Ethan On Sep 28, 7:50 pm, "Tim Sawyer" wrote: > > Hi all, > > > I'm trying to have comments on my sites shown on all other sites, as I >

Re: Model field choices

2010-09-28 Thread Steve Holden
On 9/28/2010 10:39 PM, Derek wrote: > I have a model which has choices specified for the "offer_type" field: > > class Coupon(models.Model): > offer_types = ( > (1, 'Percentage Off'), > (2, 'Amount Off'), > (3, 'Free'), > ) > > business

Model field choices

2010-09-28 Thread Derek
I have a model which has choices specified for the "offer_type" field: class Coupon(models.Model): offer_types = ( (1, 'Percentage Off'), (2, 'Amount Off'), (3, 'Free'), ) business = models.ForeignKey(Business)

iPhone talking to Django server (matching session)

2010-09-28 Thread Danny Bos
Heya, I've got a Django application talking to an iPhone sending photos and User data back and forth. I figured the best way to approach this (tell me otherwise) was to log the user in on the server and pass the iPhone back the 'session ID' in a JSON array. Then when the iPhone sends me back

Re: Really slow performance on webfaction

2010-09-28 Thread pjrhar...@gmail.com
Thanks for the help guys. I started trying to log things, and only then did I notice that I'd missed the obvious - one of the few queries was taking 11s! Turns out it was a pointless join from a weird use of queries (a queryset contructed one place with more filters added elsewhere in an odd

Re: IDE for Python/django

2010-09-28 Thread pixelcowboy
For me, at least in ubuntu 64 bit, pycharm is indeed terribly slow. And this on a icore7 machine with 8 gigs of ram. Otherwise I like it, but it does have a few bugs. On Sep 28, 10:53 am, Masklinn wrote: > On 2010-09-28, at 02:01 , tayfur yilmaz wrote:> pycharm is very

Re: Fixing Missing Template Error

2010-09-28 Thread Rolando Espinoza La Fuente
On Tue, Sep 28, 2010 at 7:35 PM, octopusgrabbus wrote: > I am getting a Missing Template exception > > Exception Type:         TemplateDoesNotExist > Exception Value: > > registration/login.html What's your TEMPLATE_DIRS value in settings.py? Inside your template dir

Fixing Missing Template Error

2010-09-28 Thread octopusgrabbus
I am getting a Missing Template exception Exception Type: TemplateDoesNotExist Exception Value: registration/login.html My urls.py looks like this: from django.conf.urls.defaults import * from django.contrib.auth.views import login . . . urlpatterns = patterns('', (r'^$',

Formsets, forms and related editing

2010-09-28 Thread Axel Bock
Hello again, after some trying and not coming to a successful end I might need a hint or two with the following construction. Assume a pilots flight log: Each flight can have several legs, and a purpose. So basically the model looks like this: Mission: Pilot Purpose ... Leg:

Re: notification in python

2010-09-28 Thread Erik Cederstrand
Harryos, Den 28/09/2010 kl. 09.56 skrev harryos: > thanks Erik, > By 'update' I meant a major addition/removal of text(say 100 > characters). > Initially I thought of making hash of a page and comparing it to the > saved hash of the same page at a different moment of time..But ,this > would >

User.get_profile() not working

2010-09-28 Thread adj7388
Django newbie issue. Just trying to understand. I'm setting up a simple UserProfile class to link to User (as described in several places in documentation). Here's what I have --- a simple example of storing the user's website in a profile #In myapp/models.py class UserProfile(models.Model):

Re: Really slow performance on webfaction

2010-09-28 Thread Bill Freeman
Are you running with the same data set both places? The biggest speed problem I ever had in deployment was because real data blew the database up with a huge join. My dummy data on the test box didn't evoke it. (Fix was to get a simple query set and loop over it so that another query could be

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-28 Thread bruno desthuilliers
On 28 sep, 17:32, Thomas Weholt wrote: > Inspired by the discussions in this thread I've created a reusable app > that mainly consists of a couple of management commands, like > startbigapp ( working name ) which is a crude hack of the startapp > code in django. It

Re: Bug in model inheritance?

2010-09-28 Thread Alec Shaner
As to whether it's a bug or not I have no idea, though it seems so. If you use: entity = models.OneToOneField(Entity, parent_link=True, primary_key=True) it will create the primary key in both Kid and Adult tables, which sounds like what you want? On Tue, Sep 28, 2010 at 1:06 PM, phill

Re: JSON and Blackberry

2010-09-28 Thread nerv82
Hi django group users, I solved the problem with another solution, but i think that the issue is with the Content-Length of the header. Kind Regards, César On Sep 28, 11:43 am, nerv82 wrote: > Hello django experts, > > I'm creating a web service that returns a json application

Re: IDE for Python/django

2010-09-28 Thread Masklinn
On 2010-09-28, at 02:01 , tayfur yilmaz wrote: > pycharm is very slow It's not. > ı think for pycharm is wrote java programming > language..wing ide is best.. Wings is written in Python, which is slower than Java... -- You received this message because you are subscribed to the Google Groups

Re: IDE for Python/django

2010-09-28 Thread Masklinn
On 2010-09-28, at 01:03 , Jason wrote: > 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

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-28 Thread SivaTumma
A small feature suggestion for @All, Please address with @ symbol and name if you are actually intending someone to read, and then please delete the already existing message in your reply. That makes us poor people to read things clearly and make up something out of important discussions like

Re: IDE for Python/django

2010-09-28 Thread Nikolay Panov
> can u please tell me which is it.. Emacs + Ropemacs + pylint + pyflakes + pep8. Have a nice day,    Nikolay. -- 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

Re: IDE for Python/django

2010-09-28 Thread roberto
Don't forget Editra. It is cross-platform (windows, linux, mac os). It was code using python. It is not heavy. I like it. I am currently using Coda (only for mac os) It is beautiful but only for that platform. My 2 cents -- You received this message because you are subscribed to the Google

Bug in model inheritance?

2010-09-28 Thread phill
This looks quite a bit like a bug, but we may be off the reservation in terms of how we're using the product. (Disclaimer: I'm relatively new to Django, and extremely new to the codebase that I ran into this on). We've got a form of schema-inheritance going on in this project in order to

Re: DjangoCon 2011

2010-09-28 Thread Dana Spiegel
Have you guys seen adoptahacker.com? I'm sure that Jon Wegener and the team at New Work City would be happy to help with finding places for visitors to stay (as in couches/extra rooms). In terms of getting hotel rooms sponsored, we might be able to VCs to offer sponsorship for this (though we

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-28 Thread Thomas Weholt
Inspired by the discussions in this thread I've created a reusable app that mainly consists of a couple of management commands, like startbigapp ( working name ) which is a crude hack of the startapp code in django. It creates module for models and views instead of the standard views.py and

Re: Django in Depth

2010-09-28 Thread Shawn Milochik
http://djangocon.blip.tv/file/3322277/ -- 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+unsubscr...@googlegroups.com.

Re: Really slow performance on webfaction

2010-09-28 Thread Shawn Milochik
Do you see anything at all like this if you run your app from your development box? You can always use the Python debugger to trace for your code and look for bottlenecks. (Awesome tutorial) http://www.doughellmann.com/PyMOTW/pdb/index.html Also, put in logging and add log.debug statements in

Django in Depth

2010-09-28 Thread Gath
Guys, James Bannett the release manager for Django gave a very comprehensive talk during Pycon2010, "Django In Depth". Where can i get that video for download. Download link please. Gath. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Really slow performance on webfaction

2010-09-28 Thread Peter Harley
Hi all, I'm trying to figure out possible causes for really slow performance of my site on my production server on webfaction - it can take up to 15s to load! It only seems to be a problem on the home page of my site and it also doesn't seem to be anything like too many queries. Using the debug

JSON and Blackberry

2010-09-28 Thread nerv82
Hello django experts, I'm creating a web service that returns a json application as content type but every time that I try to consume this with a blackberry application in a HttpConnection nothing is return in the inputstream. I try with another json service and it's working fine in the

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-28 Thread bobhaugen
Seems to be a general ferment on the topics of reusable Django apps and best practices for modularizing large projects. For example, http://groups.google.com/group/django-users/browse_thread/thread/22875fd287d0aa81 I expect the situation to improve, or at least change, a lot over the next year.

Re: Validating or modifying admin inlines against main form

2010-09-28 Thread derek
On Sep 28, 12:16 pm, graeme wrote: > I need to do one of the following in the admin using Django 1.2: > > 1. Validate a value in a form against which objects have been added > using an inline form. > 2. Add or delete related objects depending on the value in the main >

Re: .dates() bug or feature?

2010-09-28 Thread derek
On Sep 28, 12:08 pm, dPeS wrote: > Hi all, > > Anyone has explanation to this? : > > >>> len(models.Rezerwacja.objects.all()) > 9 > >>> len(models.Rezerwacja.objects.annotate(przyjazd=Min('transza__zajetosc__dzien'))) > 9 > >>>

Re: DjangoCon 2011

2010-09-28 Thread Steve Holden
On 9/28/2010 9:44 AM, Dana Spiegel wrote: > Steve, > > This seems totally reasonable. > > Looking at this from a different perspective, given that there are a > large and increasing number of python-based startups in NYC, would it > make a difference re: which city was chosen if we (in NYC) were

Re: DjangoCon 2011

2010-09-28 Thread Dana Spiegel
Steve, This seems totally reasonable. Looking at this from a different perspective, given that there are a large and increasing number of python-based startups in NYC, would it make a difference re: which city was chosen if we (in NYC) were able to solicit sponsorships from VCs and tech firms

Admin returning the wrong string

2010-09-28 Thread Caomhin
I have a slightly strange occurrence happening which makes no real sense to me so I thought I'd see if anyone had any helpful hints... My app stores people's first and last names, however for privacy reason unless a user is logged in when browsing the website they will only see "Firstname

Re: DjangoCon 2011

2010-09-28 Thread Steve Holden
Without wishing to seem non-responsive, can I just point out that we can't keep extending the search indefinitely. First of all, we need to make a decision reasonably quickly.Secondly, these venue searches take time. While it costs nothing to "toss something out there", there *are* costs involved

Re: form validation for empty checkboxes that are not required (and they are the only fields present)

2010-09-28 Thread Brian Neal
On Sep 27, 11:35 am, Skylar Saveland wrote: > 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

Re: Re: DjangoCon 2011

2010-09-28 Thread Rev. Johnny Healey
It seems like no one has suggested New Orleans yet, so I'm just going to toss that out there. -Johnny On Tue, Sep 28, 2010 at 7:31 AM, Franklin Einspruch wrote: > You might also have a look at Providence, RI. There's an airport, it's > an hour from Boston by car,

get_or_create failuire

2010-09-28 Thread Szymon
Hi, Problem: sometimes (not always) get_or_create is trying to create duplicated record. Model: class online(models.Model): postac = models.OneToOneField('postac.postacie', related_name="lista_online") data = models.DateTimeField() Code snippet: o =

Re: Re: DjangoCon 2011

2010-09-28 Thread Franklin Einspruch
You might also have a look at Providence, RI. There's an airport, it's an hour from Boston by car, and they have an active tech community there: http://rinexus.com/ http://providencegeeks.org/ http://www.pbn.com/Schillings-38-Studios-signs-lease-at-One-Empire-Plaza,52603 Good restaurants abound

Re: Django No Messages Error

2010-09-28 Thread zimyand
Give your solution. On Aug 4, 3:54 pm, kostia wrote: > SOLVED! > > On Aug 4, 3:48 pm, kostia wrote: > > > > > > > > > After I do: > > > kos...@baikal$ python manage.py runserver > > Error: No module named messages > > kos...@baikal$ > > >

Fwd: Re: DjangoCon 2011

2010-09-28 Thread Steve Holden
On 9/28/2010 1:19 AM, Kenneth Gonsalves wrote: > 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

Re: DjangoCon 2011

2010-09-28 Thread Steve Holden
There seemed to be a general feeling that a change of venue should head Eastwards rather than South. So we are looking primarily for East coast locations as an alternative to Portland for 2011. regards Steve On 9/27/2010 11:49 PM, David Zhou wrote: > Is the bay area right out for cost reasons?

Re: Accessing schemas in django

2010-09-28 Thread Jean-Pierre De Villiers
Hi, I am receiving an error: AttributeError: 'Manager' object has no attribute 'using' when i run: result = Tusers.objects.using('lysgbl').filter.all() where Tusers is the table and lysglb is the schema Is there something wrong in the code i am using or what is the problem? Any

Validating or modifying admin inlines against main form

2010-09-28 Thread graeme
I need to do one of the following in the admin using Django 1.2: 1. Validate a value in a form against which objects have been added using an inline form. 2. Add or delete related objects depending on the value in the main model from. The first would be preferable as the user would be able to

.dates() bug or feature?

2010-09-28 Thread dPeS
Hi all, Anyone has explanation to this? : >>> len(models.Rezerwacja.objects.all()) 9 >>> len(models.Rezerwacja.objects.annotate(przyjazd=Min('transza__zajetosc__dzien'))) 9 >>> models.Rezerwacja.objects.annotate(przyjazd=Min('transza__zajetosc__dzien')).dates('utworzona','year')

Re: Implementing accounts

2010-09-28 Thread bruno desthuilliers
On 28 sep, 11:43, mf wrote: > After finishing the core functionalities of my project it's time to > begin with other secundary but important things. > > I've something like the following models.py file: > > class Category(models.Model): >    name =

Re: Removing the 'site' (not the website/url) field from django-comments

2010-09-28 Thread Tim Sawyer
> 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 >

Implementing accounts

2010-09-28 Thread mf
After finishing the core functionalities of my project it's time to begin with other secundary but important things. I've something like the following models.py file: class Category(models.Model): name = models.CharField(max_length=30) class Transaction(models.Model): name =

django-todo relaunched

2010-09-28 Thread shacker
django-todo is a multi-user, multi-group, pluggable todo-list/ ticketing system for individuals and organizations. The project, formerly on google code, has been relaunched on githhub: http://github.com/shacker/django-todo with lots of bugs fixed and features added recently. Includes a setup.py

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-28 Thread bruno desthuilliers
On 28 sep, 10:02, Benedict Verheyen wrote: > I agree with Thomas that at least some guidelines would be nice. > As what you and Steve have been saying about the need for a "Python for > Djangonauts" class, > i think it would be a good idea also. > I'm wondering

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-28 Thread Benedict Verheyen
On 28/09/2010 0:48, bruno desthuilliers wrote: > > > 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

Re: notification in python

2010-09-28 Thread harryos
> You could also try looking at the HTTP headers for a request for e.g. > "index.htm" using urllib. Specifically the "Expires" and "Last-Modified". > Using headers values requires that you can trust the site on the header > content. Web servers and caching proxies can do all sorts of things

Re: SITE_ID

2010-09-28 Thread Benedict Verheyen
On 27/09/2010 12:19, Tim Sawyer wrote: >> 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

Re: Where do you put your business logic in django? Organizing big projects in django.

2010-09-28 Thread Benedict Verheyen
On 27/09/2010 23:59, Diederik van der Boor wrote: > SInce watching that video, my projects are composed by default of 2 apps. A > "projectname" for the core backend stuff, and a "projectname-site" with the > templates, settings, and frontend media. This is imho a nicer base to start >

RSS error

2010-09-28 Thread Gabriel - Iulian Dumbrava
Hi guys, I'm trying to make the rss work. I managed to call the "LatestGalleriesFeed" function by using direct pointing in url (commented out in the urlpatter bellow), but when trying to use the generic view with the feeds mapping I get the error "object.__new__() takes no parameters" Thanks!

Re: using both SQL and NonSql (MondoDB) in same project?

2010-09-28 Thread Julie Andrews
Thanks On Tue, Sep 28, 2010 at 12:06 PM, Daniel Roseman wrote: > 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

Re: IDE for Python/django

2010-09-28 Thread Steve Boyle
I've used Aptana for a while now and it's worked great for me. http://www.aptana.com/ rgds On Sep 27, 2:07 pm, Carlos Daniel Ruvalcaba Valenzuela wrote: > So far there is 3 big ones for django, Eclipse + PyDev or Aptana + > PyDev, WingIDE (latest version can even debug

Re: sending 3 e-mail randomly to user

2010-09-28 Thread Shawn Milochik
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

sending 3 e-mail randomly to user

2010-09-28 Thread bluerad
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

Re: using both SQL and NonSql (MondoDB) in same project?

2010-09-28 Thread Daniel Roseman
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? > >