Hello,
does anyone know how to render only 1 radioselect in
a django template?
for now I have {{ form.options }} but it renders the whole
list. I'd like to have more control on which ones I want to render
thanks in advance
--
You received this message because you are subscribed to the Google
template, such as name and url inside
a view? I'd like to use it to differentiate between templates and
use logic to pick the template I want to render
again, Tom, thanks for your assistance
On Mon, Nov 7, 2011 at 2:04 PM, Tom Evans wrote:
> On Mon, Nov 7, 2011 at 3:59 PM, jay K.
> wr
Hello,
Is there any way I could retrieve information about a template,
such as template name, url, etc inside a view? is there built-in
object that represents the template object?
thanks
regards
--
You received this message because you are subscribed to the Google Groups
"Django users" group
Evans wrote:
> On Mon, Nov 7, 2011 at 3:09 PM, jay K.
> wrote:
> >
> > Hello
> >
> > I have a view with the following render_to_template function
> >
> > ...
> >
> > return render_to_response( 'template/template.html', {var'
Hello
I have a view with the following render_to_template function
...
return render_to_response( 'template/template.html', {var'': var},
context_instance=RequestContext(request))
...
I want the render_to_response to point to more than 1 template. So far
I've tried adding a dictionary of templ
t template)?
thanks
jay k
--
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.
For more
; When in next page, you can create hidden form fields to store data you
> passed from first page, and then you can post them again in any page you
> want.
>
> 2011/9/15 jay K.
>
>
>> Hello
>>
>> I have a page where a user makes a selection
>>
>> Wh
Hello
I have a page where a user makes a selection
What I want to do is to take the user's selection to the "next page"
so I can process the user's request in a new page
How can I do that?
I know I have to use ajax (but if there is a better method please let
me know), so
how can I use ajax to
Hello,
thanks for the reply
I dont have email settings in my settings.py file? is that straightforward,
like an import statement or
something more complex?
I am using django version (1, 1, 1, 'final', 0) - that's what i got after
typing import django django.VERSION on the pyth
Hello,
I need to add a form on my django website
so far this is what i have:
in my models.py:
import statements not shown here
CONTACT_OPTIONS = (
('skype video anruf','Skype Video-
Anruf'),
('skype anruf ','Skype Anruf'),
Hello, everyone
I have a django page which loads indefinitely
some of the javascript that is supposed to come up does not appear on
the screen (while
the page is still loading), but i checked with firebugs and there are
no error messages at all
any advice would be helpful
thanks
jay k
doing it right
On Wed, Jun 15, 2011 at 1:36 PM, John Finlay wrote:
> On 6/15/11 8:59 AM, jay K. wrote:
>
> Hello,
>
> I apologize for seeming too impatient or rude, actually I'm a bit in a
> hurry because I was given a project
> and was told that it was urgent. I miscal
would be welcomed
Thanks, and again sorry for seeming rude/desperate, it was all my fault
On Wed, Jun 15, 2011 at 10:45 AM, Ian Clelland wrote:
> On Wed, Jun 15, 2011 at 7:27 AM, jay K. wrote:
>
>> Hello,
>>
>> I've posted my question before, but I believe I didn
e the {{ school|escapejs }} into a
javascript array, and use the data inside school as if it were an array
element, like map_schools[1], map_schools[3] etc
Thanks
regards,
JK
On Fri, Jun 10, 2011 at 12:21 PM, Ian Clelland wrote:
>
>
> On Fri, Jun 10, 2011 at 7:48 AM, jay K. wrote:
&
Hello,
I am not a django developer, but I have a background on html, css,
javascript, jquery and php.
I was wondering if you can help me with a question regarding django,
since I'm working on a website built on django (which was not started
by me)
I want to store a django object into a javascri
Hello,
I got a couple of fields from a model I want to use
so the models.py looks like this
*
class XZY():
latitude = models.CharField()
longitude = models.CharField(.)
zoomlevel = models.CharField()*
I want to retrieve the data inside latitude, longitude and zoomlevel
to b
Hello
I have a website with www.xyz.com/subpage
I want to change the name of the subpage
how do you do it?
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-users@googlegroups.com.
To unsubscr
Hello,
Currently I have 2 folders, one for german and english language
translations, respectively
The translations are inside a django.po file for each language.
I want to add a new language
How can I do it?
thanks
--
You received this message because you are subscribed to the Google Groups
nd of code
This piece of code has been generating an error when executing the *python
manage.py schemamigration myApp --initial* command in South
If the above code has doesn't do anything, I will comment it out
On Thu, Mar 31, 2011 at 5:04 PM, jay K. wrote:
>
> Hello,
>
> I&
Hello,
I've been using south to migrate a database
I followed all the commands to make the migrations in south (--initial and
--auto), all
of this, after making my desired changes in modes.py
but when I refresh my page I still get a "Error 505" messages
I've checked spelling mistakes etc but fo
that's weird, because I keep getting the same error
the field that I'm using is not custom (models.TextField)
it may be located somewhere else
On Thu, Mar 31, 2011 at 4:47 PM, Shawn Milochik wrote:
> You don't need that inspection feature for fields known to Django. Just
> custom types.
>
All I did to change my models.py, was to add the following line
*map_text = models.TextField( 'Map text', blank = True, null = False,
help_text = 'text on the subpage "map"')*
As you can see, I intend to add a new text area in my models.py
At the bottom of the page, I type this code
*from south
hello,
I've downloaded and installed south successfully to manage changes
with my models.py file
I type the following command
*python manage.py schemamigration myApp --auto*
then, get the following message
*You cannot use --auto on an app with no migrations. Try --initial.*
So I do as stated,
thanks, it works fine!!
I can't believe I spent 2 days trying to sort out my database issues
greatly appreciate your advice :)
On Thu, Mar 31, 2011 at 3:04 PM, Shawn Milochik wrote:
>
> On Mar 31, 2011 1:55 PM, "jay K." wrote:
> >
> > Thanks for the adv
Thanks for the advice,
But I am not exactly migrating databases, just modifying an existing one
On Thu, Mar 31, 2011 at 2:50 PM, Shawn Milochik wrote:
> On Thu, Mar 31, 2011 at 1:39 PM, jay K.
> wrote:
>
>
> >
> >
> > So what am I doing wrong?
> >
>
&
ge.py sql *my-application*
However, when I refresh my website, I get an *Error 505. *This error appears
only in the pages that use
the models.py file I've modified, so the rest of the website works fine.
So what am I doing wrong?
Thanks
On Thu, Mar 31, 2011 at 11:58 AM, Daniel Rosema
hello
how can i add a new text field in the django admin area
i want to create a new subpage
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-users@googlegroups.com.
To unsubscribe from this g
Xavier Ordoquy wrote:
>
> Le 30 mars 2011 à 21:16, jay K. a écrit :
>
> > Hello,
> >
> > How do you create a new subpage in django?
> >
> > thanks
>
> Hi,
>
> What do you mean or I'd rather ask, what are you trying to do ?
>
> Regards,
>
Hello,
How do you create a new subpage in django?
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-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr..
hi, Shawn
I finally managed to get python manage.py shell to work, by commenting
out those INSTALLED_APPS that had an issue with 'import x'
it turns out that 'import x' was the problem.
do you have any suggestions to fix 'import x'?
thanks
On Wed, M
Hello, Shawn
I type python manage.py shell in my project directory and get the following
error
Error: No module named xx
regards
On Wed, Mar 30, 2011 at 11:52 AM, Shawn Milochik wrote:
> Check the permissions on manage.py. I'm guessing it's not executable.
>
> Either use chmod +x on manag
Hello,
I am following the tutorial at
http://south.aeracode.org/docs/installation.html#installation-configure in
order
to install South.
I've installed it successfully and modified INSTALLED_APPS so
it includes 'south', in the settings.py
now I execute the command: ./manage.py shell inside my cu
Hello,
I've been struggling for quite a white with this
whenever i change my models.py file by adding a new text area
I get a 'error 500 internal server error'
besides i keep getting an error whenever i try to syncdb my database
can anyone please explain what i'm doing wrong?
thanks
--
You
33 matches
Mail list logo