I'm thinking how to display forms in that configuration:
I have 3 simple models:
class Province(models.Model):
name = models.CharField(max_length=30)
slug = models.SlugField(max_length=30, unique=True)
class UserProvince(models.Model):
user = models.ForeignKey(User)
province = mode
Hi,
i have 2 sites that use the standard Django authentication system.
I use the first site, say site A, as the site to manage logon's.
My point is to achieve that when a user is logged in on site A, he/she is
automatically logged in on site B.
Now, when a user visits site B, he/she gets redirec
Hi,
I was trying to get "An AJAX Select Widget for Django"
(http://code.djangoproject.com/wiki/AJAXWidgetComboBox ) running but i
found out that it doesn't work with newer versions of django (correct me
if I'm wrong.)
Is there an alternative or a way to make it work with the newest version
yes nginx+uwsgi seems to be the best combination for django.
KM
On Fri, Feb 25, 2011 at 5:36 AM, Eugene MechanisM <
eugene.mechan...@gmail.com> wrote:
> > I used this for several months, and encountered all kinds of horrible
> memory
> > allocation problems, crashes, etc etc.
> it's can be posiibl
On 25 fév, 11:28, Benedict Verheyen
wrote:
> Hi,
>
> i have 2 sites that use the standard Django authentication system.
> I use the first site, say site A, as the site to manage logon's.
> My point is to achieve that when a user is logged in on site A, he/she is
> automatically logged in on site
Hey Guys,
I've got a problem with FormWizard and FormPreview and I need some the
direction.
First let me give you a quick view of the situation. What i'm looking
for is a FormWizard with multiple steps and on the last step a
FormPreview with all the data from the FromWizard. I think this a very
c
Hi all! I'm noob in django. I've installed Pinax project in windows
virtualenv, after i've made static files collect with build_media.
Everything were collected in the site_media\static. But pinax project
doesn't see them anyway. ADMIN_MEDIA_PREFIX is '/site_media/static/
admin' and all files are t
could you paste the definition of the models? I think there is the
need of a relationship between 'Data_Siswa' and 'Users'.
regards,
TR
2011/2/22 :
> I'm not so sure if I'm answering your question but there's a way you can
> chain querysets.
> In your views.py file import Q from django.db.mode
I think you could solve your "problem" by usage of backward related objects ...
(assuming there exists a relation between your (two?) models)
http://docs.djangoproject.com/en/dev/topics/db/queries/#backwards-related-objects
"If a model has a ForeignKey, instances of the foreign-key model will
hav
"WARNING: This write-up is quite old, and has not been updated to use
newforms."
N.
On Fri, Feb 25, 2011 at 12:18 PM, Szabo, Patrick (LNG-VIE) <
patrick.sz...@lexisnexis.at> wrote:
> Hi,
>
>
> I was trying to get „An AJAX Select Widget for Django” (
> http://code.djangoproject.com/wiki/AJAXWidg
On 25/02/2011 12:38, bruno desthuilliers wrote:
> Won't work that way.
>
>> I need to set the user object in site B to get the user info (I display the
>> username on every page amongst other data)
>>
>> Is that even possible?
>
> Yeps, using multi-db support (to share the user tables) and a cu
I just started looking at 0MQ it looks interesting
http://zguide.zeromq.org/
On Feb 24, 11:58 am, Brian Bouterse wrote:
> +1 for Celery and django-celery. I use them also.
>
> On Thu, Feb 24, 2011 at 9:07 AM, Shawn Milochik wrote:
> > +1 on Celery and django-celery. I use them both.
>
> > --
>
Note that zeromq is not an AMQP compliant messaging queue.
Some benefits of directly using AMQP are:
You can cater for use cases that carrot doesn't consider - carrot is
targeted squarely at handling tasks asynchronously, amqp allows many
more use cases, pub/sub, logging event monitoring etc.
You
Hi! I would like to write two simple tags, one would be called {% domready
%}, and another one is {% domready_render %}, first will add some js to some
buffer and second will just join it alltogather and print it (at base
template in some $(document).ready(...)). So my question is: where/how do
Here's a usage example of that: http://paste.pocoo.org/show/33/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+u
I was looking into doing this too! Ethereal is written in java so we
either need to port the code or use jython. Hookbox would be a good
alternative.
If anyone has done 'multiplayer' in Google docs or spreadsheet then
they will see the value of this app
On Feb 24, 12:35 pm, Piotr Zalewa wrote:
If it were me, I would look into using "orbited". We've used it for doing
real time plotting of data using django. I'm not sure how it scales
though...
William
On Fri, Feb 25, 2011 at 11:36 AM, Pete wrote:
> I was looking into doing this too! Ethereal is written in java so we
> either need to
Hey Andra,
I will try and take a look at this this weekend or next week. Can you
post your urls.py file that corresponds to the page generating the
error and for the requested pluggable_url
Thanks,
Nowell
On Feb 24, 10:15 am, Andre Terra wrote:
> Hello, folks
>
> I'm trying to use django-plugga
I'm trying to cram the ORM into an existing schema and have an issue I
can't seem to get around.
I have a number of tables with a timestamp column, but the column name
is inconsistent. I would like to put the timestamp field in an
abstract superclass, but I can't seem to figure out how to override
On Feb 25, 11:18 am, "Szabo, Patrick \(LNG-VIE\)"
wrote:
> Hi,
>
> I was trying to get "An AJAX Select Widget for Django"
> (http://code.djangoproject.com/wiki/AJAXWidgetComboBox) running but i
> found out that it doesn't work with newer versions of django (correct me
> if I'm wrong.)
>
> Is there
I'm not sure if you ever solved this, but the provided code didn't work
with jquery 1.5.0 for me (though it does with 1.4.4 and 1.5.1).
Maybe this is what you are observing.
Hope this helps!
Casey
On 02/22/2011 08:30 PM, gorans wrote:
Hi
I'm using Django's CSRFViewMiddleware and am making a
Hey Nowell,
Sorry for not replying earlier, but I just made it work today. Apparently, I
hadn't set up my report views properly, which is the PluggableApp. I didn't
think to look inside __init__.py at first, and it turns out I was missing a
lot of code in there.
Thanks anyway for your prompt resp
hi,
I'm using Django 1.2.3 and I have a new sqlite (3.7.5) installed in a
custom location.
There is an old sqlite (3.6.23.1) installed in /usr/local/bin/.
How do I tell Django to use the new sqlite? I'm on FreeBSD 8.0.
thanks,
--Tim Arnold
--
You received this message because you are subscribed
Hi Everyone ,
I am using the svn version of django to write a django app to hook into a
legacy database.
I am having some problem with querying by a ForeignKey which is not a
Primary key. The sql datatype for the foreign key is VARCHAR(256) , but
lookups only succeed with integer fields . The or
Try appending the custom location to the beginning of your PYTHONPATH.
Sincerely,
Andre Terra
On Fri, Feb 25, 2011 at 5:28 PM, Tim wrote:
> hi,
> I'm using Django 1.2.3 and I have a new sqlite (3.7.5) installed in a
> custom location.
> There is an old sqlite (3.6.23.1) installed in /usr/local/
Heya django-users,
I have been working on a website for a client, and they are in need of
an app that is for donations. Being no PayPal IPN-processing expert, I
unfortunately do not know how to program an app that would display the
names and amounts of the donations received. I have checked out dj
I'd like to group the results shown on the admin change_list view
according to one (or more) fields. For example, if my model
had author and title fields, I might like a display that looks
like:
Author1:
Book1
Book2
Book3
Author2:
Book4
Author3:
Book5
Book6
So each author name appear
On Feb 25, 4:00 pm, Andre Terra wrote:
> On Fri, Feb 25, 2011 at 5:28 PM, Tim wrote:
> > hi,
> > I'm using Django 1.2.3 and I have a new sqlite (3.7.5) installed in a
> > custom location.
> > There is an old sqlite (3.6.23.1) installed in /usr/local/bin/.
>
> > How do I tell Django to use the new
I've tried a couple of different methods for streaming a large csv
file (it takes a few minutes to download entirely). The most recent
method I pulled from here:
http://stackoverflow.com/questions/2922874/how-to-stream-an-httpresponse-with-django
I turned off the GZipMiddleware and added the
@cond
So, what's your Django question?
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-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
anyone have any other ideas?
On Feb 22, 5:02 pm, Bobby Roberts wrote:
> Hey Daniel -
>
> we've got {% load thumbnail%} at the top of the template (a standard
> satchmo template anyway)... running version 3.2.5 for sorl.
>
> On Feb 22, 4:25 pm, Daniel Roseman wrote:
>
> > On Tuesday, February 22,
Hello,
I'm looking for some global statistics like:
- number of django powered web sites
- number of python powered sites
- web framework popularity index
- number of django developers
I know it's the most popular py web framework, I'm just looking for
numbers, absolute or relative.
I'm already
consider this model (only a portion of it):
class Tracker (models.Model):
id = models.AutoField (primary_key=True)
Barcode = models.IntegerField(unique = True, blank=False)
OrderId = models.IntegerField(blank=False)
CustomerId = models.CharField (max_length=20, blan
A few months ago I successfully used this app
https://github.com/johnboxall/django-paypal
I hope this can help you :)
On Feb 25, 6:24 pm, Brad Reardon wrote:
> Heya django-users,
>
> I have been working on a website for a client, and they are in need of
> an app that is for donations. Being no
This will give you some info on Django in particular, but not
comparisons to other frameworks:
http://www.djangosites.org/stats/
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-users@googlegrou
Suppose we have a django page using
django.views.generic.date_based.object_detail (or even archive_index..
actually doesn't really matter...)
In the model class I saved the datetime.datetime.now which suppose to
include the day, month, year, and time.
But I have no idea how to access the time par
On Sat, Feb 26, 2011 at 6:49 AM, Adrian Andreias wrote:
> Hello,
>
> I'm looking for some global statistics like:
> - number of django powered web sites
> - number of python powered sites
> - web framework popularity index
> - number of django developers
>
> I know it's the most popular py web fra
On Sat, Feb 26, 2011 at 1:09 PM, John Yeukhon Wong
wrote:
> Suppose we have a django page using
> django.views.generic.date_based.object_detail (or even archive_index..
> actually doesn't really matter...)
>
> In the model class I saved the datetime.datetime.now which suppose to
> include the day,
OHHH this is really impressive. I didn't really think of that.
Thanks! Now I have another concept loaded under my belt. Hhaha
THank!
On Feb 26, 12:18 am, Russell Keith-Magee
wrote:
> On Sat, Feb 26, 2011 at 1:09 PM, John Yeukhon Wong
>
> wrote:
> > Suppose we have a django page using
> > djang
39 matches
Mail list logo