I have this template problem.
Although {{ myDictionary.1 }} works, if I write
{{ myDictionary.user.id }} it does not. It prints nothing, actually.
(user comes from a {% for user in Users %} loop.
user.id is 1 at the first iteration (I have checked it).
Why? What am I doing wroing?
Thanks,
Chris
Thank you very much.
I found in the internet a custom tag that does the job.
:-)
On 16 Απρ, 00:15, Daniel Roseman wrote:
> On Apr 15, 8:26 pm, xpanta wrote:
>
> > I have this template problem.
>
> > Although {{ myDictionary.1 }} works, if I write
> > {{ myDictio
Hi,
I wanted to ask if I am somehow "obliged" to use the form class
provided by Django framework. I can see its use on "static" forms (eg.
registration forms or account forms) but most of the forms I write are
"dynamic" (forms that are dynamically created depending on the user,
whith input fields
Thanks for your time,
Chris
On 23 Απρ, 11:46, George Sakkis wrote:
> On Apr 23, 9:52 am, xpanta wrote:
>
> > Hi,
>
> > I wanted to ask if I am somehow "obliged" to use the form class
> > provided by Django framework. I can see its use on "static" for
Thank you very much.
>From what I read, I think I have to get a better grip on django form
handling.
:-)
On 24 Απρ, 20:39, Daniel Roseman wrote:
> On Apr 23, 9:03 pm, xpanta wrote:
>
>
>
>
>
> > Thank you for the answers.
>
> > The link provided by G
Hi,
I am trying hard to understand how the forms work. It seems for me
easier to create an html form with some hidden fields during runtime.
and then parse them one-by-one by request.POST.keys() when the view is
called.
I understand, however, that django forms have great importance in
building we
Hi,
There is a project in which I need to add this library (http://
www.lindo.com/index.php?option=com_content&view=article&id=2&Itemid=10).
In the package there are programming examples for Java (among others).
I have created some programms myself based on this programming
samples. I was wonderin
Hi,
I am new to django, and I have this simple task i need to accomplish.
in views.py there is a function that processes an html form (with POST
action). This function returns an HttpResponseRedirect object. This
object gets as parameters the redirect action, like this: return
HttpResponseRedirec
pResponseRedirect(reverse('success_url'))
>
> def my_success_view(request):
> #access the session and get the data
> return render_to_response('success.html', locals())
>
> On May 4, 9:35 am, xpanta wrote:
>
>
>
>
>
> > Hi,
>
&g
Hi.
I have read the (excellent) documentation but I can't figure out how
to do this. I know I might have to use annotations but I need some
extra help.
here it is, then.
I have a table which represents user friendships called
"Shortlist" (with fields from_user, to_user: both Foreign Keys to the
Hi,
I am using eclipse Galileo (Build id: 20100218-1602) and PyDev to
build a Django project.
Autocompletion works fine for python language but not for django. For
example in models.py I cannot get the
field = models.CharField(max_length=100) to be autocompleted.
I have added path\to\python26\Li
alla wrote:
> 2010/11/16 xpanta
>
>
>
> > Hi,
>
> > I am using eclipse Galileo (Build id: 20100218-1602) and PyDev to
> > build a Django project.
>
> > Autocompletion works fine for python language but not for django. For
> > example in models.py I
Hi,
I am trying to integrate django-tinymce with django-filebrowser for my
django admin.
Everything (almost) works fine.
- manage.py test filebrowser, works ok
- http://localhost:8000/admin/filebrowser/browse/ works, too
however when I press the button on the windows popup of
of tinymce button
Hi,
It seems that for some reason I can't login to admin site or my
webpage using the admin user. I even created a new superuser with
manage.py createsuperuser using plain numbers as my password ('123').
So it is not a password issue.
However when I try to django-admin validate I get an import er
is there any hope for me?
--
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.
For more opti
27;django.contrib.admin',
'myproject.main',
)
On 4 Ιαν, 19:06, Shawn Milochik wrote:
> On Jan 4, 2011, at 4:15 AM, xpanta wrote:
>
> > is there any hope for me?
>
> Does your settings.py file do any imports? If there is a problem with an
> import you
python manage.py shell works normally. It gives me the interactive
console
On 4 Ιαν, 22:05, Shawn Milochik wrote:
> What happens when you try 'manage.py shell'?
>
> Shawn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Hi,
it seems that my problem is a bit complicated. I have tried much but
to no avail. So, please help me!
Some time ago I migrated to postgresql from mysql. I don't know if I
did something wrong. Anyway, my webapp works "almost" flawlessly.
Since then I never needed to login using admin rights (
anges using this account.
>
> On Feb 7, 8:15 am, xpanta wrote:
>
> > Hi,
>
> > it seems that my problem is a bit complicated. I have tried much but
> > to no avail. So, please help me!
>
> > Some time ago I migrated to postgresql from mysql. I don'
-inheritance/
On 8 Φεβ, 08:54, xpanta wrote:
> I have tried this already. I still can't login.
>
> :-(
>
> On 7 Φεβ, 15:48, Chris Lawlor wrote:
>
> > Try running 'python manage.py createsuperuser' on your production
> > server to create a new superuser
20 matches
Mail list logo