On 25 nov, 12:55, robos85 wrote:
> I'm wondering how to confirm user by ref_hash and email. I know how to
> check by ref_hash in my UserProfile model but have no idea how to
> connect users model with my UserProfile model.
> It's required because I'm checking email (Users) and
On 24 nov, 16:13, felix wrote:
> from django.contrib.auth.models import *
> User.objects.filter(username__iexact="/turtle")
>
> *** ValueError: list.index(x): x not in list
>
> URL:http://code.djangoproject.com/svn/django/trunk
> Repository
On 24 nov, 02:18, Christophe Pettus wrote:
> Of course, in struggling with this, I found myself thinking, "If only there
> were a Field that
> didn't use querysets, but took a list of tuples; then I could just use that
> instead..." :)
Err... Would you mean, something like
On 24 nov, 02:06, Christophe Pettus <x...@thebuild.com> wrote:
> On Nov 23, 2010, at 2:25 AM, bruno desthuilliers wrote:
>
> > Strictly speaking, you don't need the queryset attribute of a
> > ModelChoiceField to be a QuerySet instance - as long as the object you
> >
On 23 nov, 13:08, Ben Scherrey wrote:
> We are attempting to apply the concepts of Domain-Context
> Interaction (DCI) to our python/django development. Unfortunately, the
> metaclass mechanism which the main python library supporting this uses
> conflicts with that of
On 22 nov, 20:19, robos85 wrote:
> As Django noob I successfully created user validation and managed to
> add user. But I also created additional table for user profile,
> registered it in settings. But when I save() user to create it, my
> additional table is still empty.
On 23 nov, 14:55, Li You wrote:
> Because I want to save user's info about each game. And the best way
> is to save the info by each game.
This doesn't mean having a distinct table per game - unless of course
the database table schema is specific for each game but then you
On 23 nov, 01:27, Christophe Pettus wrote:
> Apologies if this is a FAQ...
Not AFAIK
> I'd like to take a QuerySet and order it in memory, rather than using
> 'order_by'. However, I need it to stay a QuerySet, since I'll be feeding it
> to the .queryset attribute of a
ing you the
> error, but with the above change should do the trick, just don't
> forget to remove your ManyToMany departments definition on University
> model, that would make the name university.department clash.
>
> Regards,
> Carlos Ruvalcaba
>
>
>
> On Sun, N
models.CharField(max_length=2, choices=GENDER)
>
> Regards,
> Carlos Ruvalcaba
>
>
>
> On Sat, Nov 20, 2010 at 6:19 PM, Bruno Amaral <m...@brunoamaral.eu> wrote:
> > I have been trying to create a database for Universities, Departments
> > and Courses.
>
>
I have been trying to create a database for Universities, Departments
and Courses.
The idea is that a University has many departments, which in turn have
one or more courses.
So far, this model works: http://dpaste.com/277850/
With one caveat, it allows a department to exist without a
On 19 nov, 11:09, Sithembewena Lloyd Dube wrote:
> Hi everyone,
>
> I have a template where Django is spitting out blog tags followed by a ','
> when the tag is not the final one in the loop.
>
> {% if not forloop.last %}, {% endif %}
>
> Strangely, I am still seeing tag1,
On 19 nov, 07:23, codingJoe wrote:
> Newbie question here... I know the basics of Django and nothing of
> ExtJS. I am running a simple web framework and I want to integrate
> ExtJS Grid into it.
>
> My first step was to run the example grid from extjs. "Yay!! It
> works"
>
>
On Nov 15, 3:57 pm, James <asnark@gmail.com> wrote:
> On Mon, Nov 15, 2010 at 7:48 AM, bruno desthuilliers
> <bruno.desthuilli...@gmail.com> wrote:
> > On a more general level, I very
> > strongly suggest you spend some time learning Python
>
>
> Good po
On Nov 14, 8:20 am, James wrote:
> Forgive a django newbie...
>
> Maybe I'm the laziest person in the world, but sometimes I get tired
> of typing "models.WhatEver" for every single model I have to write. Is
> there anyway a shortcut could be added that would 'assume' the
>
On 9 nov, 22:39, Shawn Milochik wrote:
> Instead of the domain try 0.0.0.0 or your public IP address.
>
> python manage.py runserver 0.0.0.0:8000
>
> or
>
> python manage.py runserver 82.165.105.204:8000 #this is just a sample
> IP address for Host Monster
>
It's also
On 8 nov, 16:52, Daniel Roseman wrote:
> This is exactly what `select_related()` does. The only gotcha is that
> you have to start with the Answer model, rather than Question, but the
> result is the same:
>
> answers =
On 9 nov, 00:13, Sébastien RAGONS wrote:
> Hello,
>
> I try to display an article but there is char like 'é'.
Django uses only unicode internally. If you take care of using utf8
encoding all the way down (python source files, template source files,
database, webserver etc)
On 4 nov, 14:52, meitham wrote:
> > existing CMS like django-cms or LFC
>
> Has anyone tried LFC? it seems like its a djangoy version of plone.
> I am interested to hear any reviews about it.
Looks very plone-ish indeed - hoping it's only keeping the right
features from
On 4 nov, 13:15, Karim Gorjux wrote:
> Hi all! I'm a relative newbie in Django and I spending a lot of time
> study it in these days. I read many tutorials and books and I'm
> surprised to found very interesting resource to how create a wiki, a
> blog, app like twitter even
On 26 oct, 15:48, Ed wrote:
> I do like this a lot. If I use post_save, is there a way to grab the
> field that is altered?
Nope, you have to use "pre_save" for this, load another (yet
unmodified) copy of your model instance, and diff both.
> I know the admin page
On 26 oct, 13:25, Ed wrote:
> I want to create a "What's New" section that lists all of the database
> changes in the last day. I've added an "updated" field to my models:
>
> class Film(models.Model):
> .
> .
> .
> updated =
Please DONT SHOUT. Thanks.
On 12 oct, 12:07, sami nathan wrote:
> i want to send my req from my url that
> is"http://localhost/flip/wap/di/sub?word=formula=00=Submit;
Your proper url is "http://localhost/flip/wap/di/sub;. The remaining
part ("?word=formula=00=Submit")
On 6 oct, 17:27, Paweł Roman wrote:
> I have a model which has a tree-like structure (not exactly a FK on
> self but we can assume that's the case).
>
> I want to visualise this tree using all records from the db. It seems
> impossible to do with QuerySet, if I have say
On 6 oct, 16:42, Fred wrote:
> My django app is working great with Debug=True. But now I'm in
> production and I want to email exceptions to me
That's the default behaviour if you correctly filled the relevant
parts of your settings.py (that is, mainly, the ADMINS,
On 1 oct, 16:07, simon_saffer wrote:
(snip)
>
My attempt at doing
> this was to put the following in
> urls.py in urlpatterns
>
> (r'^(?P[a-zA-Z0-9]*?\.html?)$', 'mysite.views.showPage')
hint : named urls are cool
> and then have a views.py in the mysite 'root' with
On 1 oct, 12:34, ALJ wrote:
> ... what is the infamous obj.__dict__.update() hack?
http://docs.python.org/library/stdtypes.html#mapping-types-dict
http://docs.python.org/reference/datamodel.html
http://www.google.fr/search?q=obj.__dict__.update()
--
You received
On 1 oct, 10:29, Shawn Milochik wrote:
> For what it's worth, I use the get_or_create with the 'default' keyword to do
> this:
>
> for record in reader:
>
> new_values = {
> 'product_code': slugify(record['Product Code']),
> 'msrp': record['Suggested
On 1 oct, 10:55, Benedict Verheyen
wrote:
> I found a solution that works for me.
> In the application dir, i've made a media\calltracking directory where
> the static files go.
> I need the extra dirname in the path (the trailing calltracking), otherwise
> i end up
On 30 sep, 19:05, mamcx wrote:
> As reported on :http://stackoverflow.com/questions/3817808/unable-to-
> login-to-admin-site-in-localhost
>
> I can't login to the admin site on localhost.
>
> I try with firefox, IE.
>
> I try using the 127.0.0.1:8000 address. Also, I set
On 30 sep, 22:45, Carles Barrobés wrote:
> If the ideal solution for you is different sites, one authentication,
I don't think that's the case, and FWIW the OP's layout makes perfect
sense to me. His point is that even while all apps are in a same
project and share a common
On 29 sep, 12:31, Steve Holden wrote:
> On 9/29/2010 5:25 AM, Daniel Roseman wrote:
> > You can use the get_all_field_names method in model._meta to get all
> > the actual fields, and set them on the duplicate:
>
> > for field in foo._meta.get_all_field_names():
> >
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
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 =
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
On 27 sep, 17:31, Thomas Weholt <thomas.weh...@gmail.com> 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.p
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
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
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
On 24 sep, 02:33, Ivan wrote:
> Hi all,
> I'm trying to build a Django project by working through the handbook
> but I'm having some problems accessing the database by referencing the
> model I've created from it (by inspectdb). When attemping to do some
> "Basic Data
On 24 sep, 05:20, Howard Wolf wrote:
> I want the foreign key to be called taxonomy_kingdom.
>
> So would I do something like this?
>
> taxonomy_kingdom = models.ForeignKey(TaxonomyKingdom, null=True, blank=True)
> superior=taxonomy_kingdom
This will yield the exact same
On 22 sep, 13:17, girish shabadimath wrote:
> Thanks for the reply, actually the response object got using RequestFactory
> is different from the one returned by client.get() function,,
The reponse object you get using RequestFactory is the one returned by
your view.
>
On 22 sep, 11:31, girish shabadimath wrote:
> hi all,
>
> i used django snippethttp://djangosnippets.org/snippets/963/
>
> and successfully created request object
>
> i checked the response.status_code its giving 200
>
> i checked response.content it matches with the
On 22 sep, 07:50, girish shabadimath wrote:
> >>> from xxx.xxx import RequestFactory
> >>> req = RequestFactory.request
This looks up the name 'request' on the RequestFactory object and
binds the result - here an unbound method object - to the name 'req'.
> >>> req
>
>
On 19 sep, 18:52, Ben Kraft wrote:
> I'm trying to do a javascript post to an internal api and use a
> callback to process the JSON result. I'm referencing the api using,
>
> {% url %},
>
> which returns a path url relative to my domain ( /api/... instead
>
On 18 sep, 16:23, Axel Bock <mr.axel.b...@gmail.com> wrote:
> 2010/9/18 bruno desthuilliers <bruno.desthuilli...@gmail.com>
> > Django automatically build the "reverse" relationship from SideLists
> > (which should be renamed "Side" IMHO) to Meal, usi
On 18 sep, 08:26, Axel Bock wrote:
> Hello,
>
> I am currently experimenting with a little webapp, and I have the
> following problem. I want to assign two properties of the same type to
> a class. (Stupid) Example: I have a meal, and it comes with two sides.
> The sides
On 16 sep, 22:11, ringemup wrote:
> Is it possible for a model to inherit from an abstract model, which in
> turn inherits from a non-abstract model?
I don't thinks so, but I may be wrong. Now nothing prevents you from
trying by yourself, it shouldn't take long to find out
On 16 sep, 18:06, cool-RR wrote:
> Hello!
>
> There's something that's bothering me:
>
> When developing a Django application, what is `sys.path` supposed to
> contain? The directory which contains the project, or the directory of
> the project, or both?
sys.path always
On 15 sep, 18:35, marcovic wrote:
> Hi all,
> i'm trying to do a simple task with Django but evidently it is not so
> simple...
It is - when you understand how things work.
> I have my model:
>
> class Mymodel(models.Model):
> random_string =
On 14 sep, 20:23, payala wrote:
> I agree about Aptana. I am trying it right now and it looks very good,
> I already used eclipse and I think it rocks!
Emacs is the OneTrueEditor !-)
> However, re-reading my post I realise that I didn't express myself as
> well as I would
On 14 sep, 16:54, "David.D" wrote:
> It's a one-to-one relationship between queryset's content and
> my_list's content.
>
> in my view
>
> return object_list( request,
> queryset=qs,
>
On 13 sep, 18:20, "David.D" wrote:
> In my template:
>
> This is ok:
> {{ my_list.2 }}
>
> But it doesn't work:
> {{ my_list.index }}
>
> index is a context variable (index=2)
This first looks up my_list for an attribute named "index" - which
resolves to the "index"
On 13 sep, 13:48, Stodge wrote:
> I'm working through a nice little feature for my website that will
> bring all user editable preferences/profile options together into a
> single web page using tabs. I have the tabs working and I can display
> a different Django form on each
On 12 sep, 21:30, jean polo wrote:
> django.contrib.admin is the problem then..
> I can access the shell if I comment it..
> problem is that I have no idea about why or where to look
Should have asked for this right from the beginning but... Could you
post the
On 12 sep, 17:59, jean polo wrote:
> hi
> I cannot even get to the shell in my project (still same error: 'No
> module named shortcuts').
Duh...
Comment all your INSTALLED_APPS and try running "./manage.py shell".
If it works ok, then uncomment your installed apps
On 11 sep, 18:40, victor wrote:
> can i get model field type from a model queryset in django?
> for example:
> a is b model's queryset
> b model has following field:
>
> - f:charfield
> - g:foreignkey
> - h:manytomany
>
> is there any way to get field g's type from queryset
license" for more information.
(InteractiveConsole)
>>> from truc.models import *
Traceback (most recent call last):
File "", line 1, in
File "/home/bruno/playground/foobar/truc/models.py", line 1, in
from django.db import models
ImportError: No module
On 10 sep, 21:57, David Somers Harris wrote:
> I haven't set a custom manager as far as I'm aware. Here is what happens to
> me:
(snip)
http://code.djangoproject.com/ticket/12142
Looks like you have to update your Django install !-)
--
You received this message
On 11 sep, 02:37, Bachir wrote:
> What if was gibing a string like this: 'math.ceil', and i had to import the
> function(not the module) dynamically(from the string), how can i do that?
> import_module is for importing... modules, not functions.
Why don't you just read the
et really supposed to apply
> changes like that?
Don't have this behaviour here. Are you sure your ModelName.objects is
the default manager ?
br...@bruno:/var/www/myproject/$ ./manage.py shell
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", &quo
On 10 sep, 11:57, David wrote:
> if I do
>
> nothing = ModelName.objects.none()
> nothing.update(status='new_status')
>
> Then all of my objects in the database get updated. I would expect
> nothing to happen but... is an empty QuerySet really supposed to apply
>
on 10 sep, 01:06, maroxe wrote:
> Hi, I am suffering whereever i try to do something in django that is
> not common(in django, not in python in general)
>
> For example, i don't know how to return an inclusion tag. This.
> obviously, won't work:
>
>
On 8 sep, 18:26, Bachir wrote:
> This is an example:
>
> class UploadItem(models.Model):
> file = models.FileField(upload_to=UploadItem.get_directory)
>
> class Meta:
> abstract = True
>
> # I want videos to be storred in 'videos/' directory
> class
On 9 sep, 03:46, maroxe wrote:
> Hi, I am trying to understand an other magic thing about django: it
> can convert strings to modules. In settings.py, INSTALLED_APPS is
> declared like that:
>
> INSTALLED_APPS = (
> 'django.contrib.auth',
>
On 8 sep, 08:20, pk wrote:
> In my template, I have:
>
> Read More
> »
>
> I'm seeing that the url generated via the url template tag is, eg:
>
> http://mydomain.com/mysite/param0val/param1val/param2val/
>
(snip)
> My urls.py contains:
>
>
On 8 sep, 04:13, maroxe wrote:
> Hi, When using Model class like this:
>
> class MyModel(models.Model):
> def __init__(self, *args, **kwargs):
> self.myfield = models.Field()
> super(MyModel, self).__init__(*args, **kwargs)
> It doesn't take into
On 7 sep, 15:17, Lukáš wrote:
> Hey,
>
> I am working with Django for a while and now that my "tree" and whole
> DB is filled with data (note: existing database), I was wondering if
> the "one model per table" is really better at this point than "one
> model per select".
I
On 6 sep, 15:45, Andy wrote:
> I have a model MyModel that has a field expiration_datetime.
>
> Every time a user retrieves an instance of MyModel I need to first
> check if it has expired or not. If it has expired, than I need to
> increment some counter, update others,
A few points:
* It's as easy to swap components in Django as it is with Pylons. The
main difference is that Django components are well integrated in the
framework so 1/ you don't have much to do to use them and 2/ you loose
some very usefull features - that just don't exist OOTB in Pylons - if
(snip 'programming by accident' code)
I'm not sure you really understand what you're doing :-/
> > > Here's my problem, I know you don't get direct access to the user
> > > model,
>
> > Yes you do.
>
> > > so making the user email editable is kind of tricky
>
> > Why so ?
>
> you can't query
On 31 août, 06:16, reduxdj wrote:
> So, I'm still newer to django. I have user registration,
> authentication, imagefields, filters, and more all built into my
> application and working. So now, I need a user to be able to edit his
> own email and upload an image to the
On 30 août, 17:58, Bill Freeman wrote:
> If you have control of the sending model, you can, so long as you
> avoid field and method names,
???
> just add a reference to the user to the
> instance.
If the OP has control over the sending model, he can overrides the
save
On 30 août, 20:24, hollando wrote:
> I want to make a statistic app.
> There is a float field in my model(table).I want to use a chart to
> show what's the percentage in each range.
> Any suggestion to make such and app that can fit into django model.
Nope, but reposting
Not really an answer to your question, but you should definitly dev
using the the same versions of Django and any third-part app - at
least you'd have a chance to find out what happens when something goes
wrong.
On 29 août, 23:58, Goran wrote:
> I have strange problem, on my
On 27 août, 18:07, AK wrote:
> From what I can tell in the documentation, a post_save signal only
> passes sender, instance, created, and using. I would love to use this
> signal to update information in the instance, such as the datetime of
> when it was saved.
Just
On 27 août, 05:51, bluearth wrote:
> Hi,
>
> I'm trying to have multiple configuration files for my project as
> described inhttp://www.djangobook.com/en/2.0/chapter12/.
>
> I always get the following when issuing administrative commands (for
> example):
>
> # ./manage.py
On 27 août, 10:24, Karim Gorjux <lemieli...@gmail.com> wrote:
> On Fri, Aug 27, 2010 at 10:57, bruno desthuilliers <
>
> bruno.desthuilli...@gmail.com> wrote:
>
> Thanks a lot for all your advices. I work a lot on settings.py and now is
>
On 27 août, 08:58, Karim Gorjux wrote:
> As I read herehttp://docs.djangoproject.com/en/dev/howto/static-files/I
> configure the settings.py and the urls.py to load a template in runserver.
>
> ## urls.py ##
>
> from django.conf import settings
>
> [...]
>
>
On 26 août, 19:33, Steve Holden wrote:
> As long as you acknowledge it as an ugly hack I suspect your reputation
> will survive ...
>
+1 !-)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
On 26 août, 17:30, Uwe Schuerkamp <uwe.schuerk...@gmail.com> wrote:
>
> Hello Bruno,
>
> thanks for your answer. I'm already using a custom context_processor
> (yay! ;-), so I'll follow that suggestion, too. I've tried wrapping my
> head around the process_view function, b
On 26 août, 18:55, Aspontus wrote:
> Hi.
> If I understand your problem correctly, you are looking for a way to
> capture different optional parameters from the url, to use them in
> further url construction.
> Why not use /country/de/district/hf/observation/add/ with
On 26 août, 15:28, k4rlchen <h...@gws.ms> wrote:
> Thank you Bruno,
>
> it didn't work "copy 'n paste'
Code typed directly in googlegroups and working right OOTB ? Now
_this_ would have been a very unexpected accident !-)
> but lead me to the solution!
Fine.
--
Yo
On 26 août, 16:43, Uwe Schuerkamp <uwe.schuerk...@gmail.com> wrote:
> On 26 Aug., 15:56, joconnell <johngerardoconn...@gmail.com> wrote:
>
> > Hi Uwe,
>
> > You might be able to leverage the 'url' template tag which comes with
> > django?
>
> Hi John
On 26 août, 13:27, Uwe Schuerkamp <uwe.schuerk...@gmail.com> wrote:
> Thanks Bruno,
>
> I'll look into the custom template tags you mentioned.
Well, the way I see it you should first investigate the middleware
part - that's probably where you'll get the most relevant infos. The
t
On 26 août, 12:01, k4rlchen wrote:
> Thanks Łukasz,
>
> unfortunatly, the application is in use for 10 years and delivered to > 300
> mobile computers.
> A change of application would mean a big scale operation.
>
> I was not 100% correct describing the matter. The values are not
On 25 août, 23:40, Uwe Schuerkamp wrote:
> Hi folks,
>
> this posting sort of refers to my previous problem from last week as
> I'm still working on the birdwatcher's site. I cannot wrap my head
> around how to create intelligent navigation links from the current
>
On 26 août, 04:00, Yo-Yo Ma wrote:
> I'm wanting to build out a list template that can display any list of
> objects in this manor (pseudo code:
>
> {% for thing in things %}
>
> {{ thing.foo }}
> {{ thing.bar }}
> {{ thing.spam }}
> {{ thing.eggs }}
>
On 25 août, 18:30, Andrea Imparato wrote:
> Hello all,
>
> is possible to do in templates double for like in C:
>
> for(int i = 0, int j = 0; i<0 && j<0;i++,j++) ?
What's your use case exactly ?
--
You received this message because you are subscribed to the Google
On 23 août, 21:25, Cole743 wrote:
> "AttributeError at _
>
> 'QuerySet' object has no attribute 'get_payload'
>
> Request Method: POST
> Request URL:
> Exception Type: AttributeError
> Exception Value:
>
> 'QuerySet' object
On 24 août, 09:06, Rodney Topor wrote:
> The "Django at a glance" aka "Overview" page
> athttp://docs.djangoproject.com/en/dev/intro/overview/is intended to
> introduce new users to models, queries (using the API), URLs, views,
> templates and so on. In short, it's a
On 19 août, 11:29, Brianna Laugher wrote:
> Hi,
>
> I have a read-only Oracle database that I'd like to use Django's
> databrowse to, well, browse. However Django's primary key requirement,
> along with my database being read-only, means I can't use Django's
> default
On 20 août, 00:32, widoyo wrote:
> Try to add function 'quota_ore' below.
>
> On Aug 19, 3:03 am, djnubbio wrote:> Sorry for
> wasting your preciuose time. I'm very newby in django.
>
> > I have de following
>
> > class Commessa(models.Model):
> >
On 19 août, 16:25, Nick wrote:
> You need to look at overriding the model's save method in order to add
> data from one field to another dynamically.
Useless denormalization (until proved otherwise of course...).
--
You received this message because you are subscribed to
On 19 août, 09:03, djnubbio wrote:
> Sorry for wasting your preciuose time. I'm very newby in django.
>
> I have de following
>
> class Commessa(models.Model):
> commessa = models.CharField(max_length=20)
> quota_oraria=models.DecimalField(max_digits=5,
On 19 août, 11:31, Pep wrote:
> Thanks for your help.
>
> This is my code :
>
> def custom_proc(request):
> "A context processor that provides 'authForm'"
>
> return {
> 'authForm' : authForm,
> 'event': event
> }
Where do these authForm and
On 19 août, 10:30, Daniel Roseman wrote:
>
> Context processors are automatically applied to all views
Sorry but this is plain wrong. Context processors are automatically
applied to all RequestContext instances - which is note quite the same
thing.
On 19 août, 11:01, Imad Elharoussi wrote:
> You said that we must not think in a PHP way while using django
>
> can you please give me a solution to my problem
>
> I have to connect every minute to a server and get an object from it an show
> the modifications
>
> can
On 18 août, 10:59, Imad Elharoussi wrote:
> Hello
>
> In my view.py I connect to a server and get an object and in my templates I
> display this object in a treeview form
>
> But I have to get all the time the modifications on that object from the
> server and show the
On 16 août, 08:14, shacker wrote:
> I'm trying to figure out why this works:
>
> >>> comments = Comment.objects.all()
> >>>[c.content_object for c in comments]
>
> [returns a list of the objects the comments are attached to]
>
> But this doesn't:
>
> >>> c =
401 - 500 of 1048 matches
Mail list logo