Re: Issue in rendering of Inline forms on Django Admin site

2021-12-01 Thread Gabo LaTo
Nope, sorry I missread El mié, 1 de dic. de 2021 a la(s) 19:05, Gabo LaTo (elgatogabr...@gmail.com) escribió: > Aren't you missing the model class attribute in TestMyModelCreate? > > Like this: > > class TestMyModelCreate(admin.ModelAdmin): > model = MyModel > fields = ['text', ] >

Re: Issue in rendering of Inline forms on Django Admin site

2021-12-01 Thread Gabo LaTo
Aren't you missing the model class attribute in TestMyModelCreate? Like this: class TestMyModelCreate(admin.ModelAdmin): model = MyModel fields = ['text', ] inlines = [RelatedModelInlineTabular] El lun, 29 de nov. de 2021 a la(s) 20:28, 'Andrea Arighi' via Django users (

Issue in rendering of Inline forms on Django Admin site

2021-11-29 Thread 'Andrea Arighi' via Django users
Good evening, I am encountering a weird bug when rendering Inline forms on the "Add" view of a ModelAdmin. Here is a minimum example with Django version 2.2.4 - - - - - - - in models.py: class MyModel(models.Model): text = models.CharField(max_length=100) class RelatedModel(models.Model):

Re: Custom forms in Django admin?

2019-04-08 Thread Erik van widenfelt
Hi Kevin See Admin forms Staying within the admin, you can create your own form class (forms.ModelForm) and specify it in the ModelAdmin declaration. See also django modelforms

Custom forms in Django admin?

2019-04-08 Thread Kevin Olbrich
Hi! Is it possible to add a form to the Django admin? Models are no problem but I have a slightly more complex requirement (still less than a full view with templates, etc.). Kind regards Kevin -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: How to create receipt forms using django.

2018-05-21 Thread subhani shaik
shaik wrote: >> >> Hi group numbers... >> >> How to create supermarket receipt forms using django& python with the >> help of HTML.please give me that code.plz.. >> >> >> >> >> >> Thanks. >> subhani shaik >> > -- > You re

Re: How to create receipt forms using django.

2018-05-21 Thread Daniel Germano Travieso
gt; > How to create supermarket receipt forms using django& python with the help > of HTML.please give me that code.plz.. > > > > > > Thanks. > subhani shaik > -- You received this message because you are subscribed to the Google Groups "Django users" gro

How to create receipt forms using django.

2018-05-21 Thread subhani shaik
Hi group numbers... How to create supermarket receipt forms using django& python with the help of HTML.please give me that code.plz.. Thanks. subhani shaik -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe f

Django forms and django models

2017-11-30 Thread Andrea Cristiana Adamczyk Abascal
I have an attribute of a model called "options" that is an array of prayers that are entered through textinputs. How can I declare this attribute in the model and what widget may I use in the model form? thank you! -- You received this message because you are subscribed to the Google Groups

Re: Add value to database without using forms in django

2017-09-30 Thread Mitul Tyagi
Yup did it.save() method. I wanted to know if we need to create form for saving or other way's are present also...I got the answer. Thanks for the reply On Saturday, September 30, 2017 at 9:19:41 PM UTC+5:30, Derek wrote: > > Yes, its a strange question. > > You can of course always add a

Re: Add value to database without using forms in django

2017-09-30 Thread Derek
Yes, its a strange question. You can of course always add a new method to the City class: class City(models.Model): ... def get_cities(self): return ''.join([self.city1, self.city2, self.city3, self.city4, self.city5])) and then store those in Name; but from a design POV,

Re: Add value to database without using forms in django

2017-09-30 Thread Constantine Covtushenko
Hi Mitul, Can you clarify a little bit more your question? What are you trying to resolve? You asked: "How it will be done...?" It is not clear what exactly you are trying to be done. I guess that it my be saving cities into model 'cityval' fields. Am I correct? If so you can do something like

Add value to database without using forms in django

2017-09-30 Thread Mitul Tyagi
I have a model named "Name" which stores the list of all cities present in other model named "City". How can it be done internally in the views.py without using forms. Here is the code of models.py " # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models

Re: What determines initial number of forms in Django modelformset_factory?

2016-12-28 Thread Duane Gregory
Perfect. Thank you! On Wednesday, December 28, 2016 at 12:43:39 PM UTC-7, Farhan Khan wrote: > > I believe its the "extra" parameter. > By default, the size is the number of objects you pass it. You can set > that value to 0 by doing YourObject.objects.none() > > On Wednesday, December 28, 2016

Re: What determines initial number of forms in Django modelformset_factory?

2016-12-28 Thread Farhan Khan
I believe its the "extra" parameter. By default, the size is the number of objects you pass it. You can set that value to 0 by doing YourObject.objects.none() On Wednesday, December 28, 2016 at 7:17:31 AM UTC-5, Duane Gregory wrote: > > My model formset is producing an initial 7 forms, as seen

What determines initial number of forms in Django modelformset_factory?

2016-12-28 Thread Duane Gregory
My model formset is producing an initial 7 forms, as seen here: I would like to alter that number, but cannot see how. view and form for ref: def micro_log_create(request): MicroLogFormSet = modelformset_factory(Micro_Log, form=MicroLogForm, max_num=4, extra=0) if request.method ==

Displaying multiple forms in django

2016-07-01 Thread peter harvy Mugisha
Would like to display three forms on a single page using the twitter bootstraps nave tabs kinder style -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Re: how to design custom forms in django with bootstrap

2016-06-21 Thread 1351552...@qq.com
in django with bootstrap sir i want to design a custom form in django that will store data in database...i done this with built in django forms but i can't be able to design with bootstarp or css. data not inserted if i create my own custom form like Email address Email

Re: how to design custom forms in django with bootstrap

2016-06-21 Thread Jani Tiainen
. On 21.06.2016 00:02, Ikram Ulhaq wrote: sir i want to design a custom form in django that will store data in database...i done this with built in django forms but i can't be able to design with bootstarp or css. data not inserted if i create my own custom form like Email address

Re: how to design custom forms in django with bootstrap

2016-06-21 Thread Babatunde Akinyanmi
sign a custom form in django that will store data in > database...i done this with built in django forms but i can't be able to > design with bootstarp or css. data not inserted if i create my own custom > form like > > > > > Email address > placeholder="Email&quo

Re: how to design custom forms in django with bootstrap

2016-06-20 Thread Ikram Ulhaq
sir i want to design a custom form in django that will store data in database...i done this with built in django forms but i can't be able to design with bootstarp or css. data not inserted if i create my own custom form like Email address Email address some

Re: how to design custom forms in django with bootstrap

2016-06-20 Thread Ikram Ulhaq
sir i want to design a custom form in django that will store data in database...i done this with built in django forms but i can't be able to design with bootstarp or css. data not inserted if i create my own custom form like Email address Email address some

Re: how to design custom forms in django with bootstrap

2016-06-20 Thread Babatunde Akinyanmi
Hello Ikram, It's going to be difficult to help you without more information about the problem. If you give information about what you have tried and what's failing, you will get more helpful answers. On Jun 20, 2016 12:56 PM, "Ikram Ulhaq" wrote: > Hi everyone! > i am new

how to design custom forms in django with bootstrap

2016-06-20 Thread Ikram Ulhaq
Hi everyone! i am new in django and want to design custom form in bootstarp that can use to send data to database.i made form successfully but values not inserted in database.please help -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Forms in Django

2016-03-20 Thread Fred Stluka
Stanislav, If you have any more questions, feel free to post them here. BTW, one thing I forgot to mention about the flexibility of the ORM is that you can have it access multiple databases from the same app, by setting DATABASE_ROUTERS to refer to a class that tells it things like which DB to

Forms in Django

2016-03-20 Thread Stanislav Vasko
Hello, as a noob in Django, i will ask noob question about Forms, because i cant find. I have working app, based on Bootstrap with theme and custom css. Rather than Django admin i want to create/edit data from my fields. I tried to use Django forms, but no luck. It looks... bad :) Its simple

Re: Forms in Django

2016-03-19 Thread Stanislav Vasko
Ufff, i hope there is another way. Something working so simple like passing data from View to Template with direct access like {{ company.name }} or {{ company.phone }}. I dont see the point why to modify Model and how it helps with styling form. -- You received this message because you are

Re: Forms in Django

2016-03-19 Thread Fred Stluka
, Stanislav Vasko wrote: Hello, as a noob in Django, i will ask noob question about Forms, because i cant find. I have working app, based on Bootstrap with theme and custom css. Rather than Django admin i want to create/edit data from my fields. I tried to use Django forms, but no luck. It looks

Re: Forms in Django

2016-03-19 Thread Fred Stluka
Stanislav, Try these: {{ form.title.value }} {{ form.title.label }} {{ form.title.errors }} etc. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com --

Re: Forms in Django

2016-03-19 Thread Stanislav Vasko
This is exactly what im trying. But if i enter *{{ form.title }}* i get not the data to use in form, but whole: ** But as i study doc, there is no simple way like Django is providing in other part. So, maybe Fred's way is a good one (but quite strange) and still dont know how i will make

Re: Forms in Django

2016-03-19 Thread Stanislav Vasko
Outstanding answer, many thanks! This is exactly what i thought there must be :) Dne sobota 19. března 2016 2:43:31 UTC+1 Fred Stluka napsal(a): > > Stanislav (aka Stanley?), > > As my company motto says: "Glad to be of service!". > > I'm very impressed with Django. It's a mature product that

Re: Forms in Django

2016-03-19 Thread Stanislav Vasko
This is exactly what i was looking for, many thanks! Now i can render form i need and like. Now i will test and i hope it will be same easy to write data back to db. Many thanks, Stanley Dne pátek 18. března 2016 20:50:37 UTC+1 Fred Stluka napsal(a): > > Stanislav, > > Try these: > > {{

Re: Forms in Django

2016-03-19 Thread James Bennett
First of all, notice the suggestion was to make the change on your *form* class, not the model -- forms are where you can specify that a particular widget + attributes should be used on a particular field. Though it's also possible to do things in the template itself if you know your way around

Re: Forms in Django

2016-03-18 Thread 술욱
like: {% csrf_token %} ... My favorite is to install django-crispy-forms, but may be overkill at the moment since you are just learning Django. If you are comfortable using modules/third-party apps, your template will be: {% load crispy_forms_tags %} {% crispy form %} HTH, Norberto -- You

Re: Forms in Django

2016-03-18 Thread Fred Stluka
Stanislav (aka Stanley?), As my company motto says: "Glad to be of service!". I'm very impressed with Django. It's a mature product that does a good job of: "Making simple things easy, and complex things possible" It has good simple default behaviors, but also hooks that you can use to

Materialize forms in Django using C9.io

2015-11-20 Thread gabriel patron
Hi guys, I'm using cloud9 as a virtual environment and i get this error: Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_ubuntu/django-materialize-forms/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __f

Re: How to Process Multi Step Forms in Django?

2015-05-05 Thread Bernardo Brik
Hi Ken, The problem with using Session is that the data will still be there when you finish your “wizard". You have to manually delete it. It is state, which is not good. Each request to your server should be an decoupled operation. It’s ok to store in Session global state, like the current

Re: How to Process Multi Step Forms in Django?

2015-05-05 Thread Ken Nguyen
Hi Bernardo, I appreciate the feedback. I've heard of many ways to pass data between methods in views such as session, write to a file, or use formwizard. It is still a problem accessing the session from the "cleaned_data"? This is my first time hearing about query string, care to explain

Re: How to Process Multi Step Forms in Django?

2015-05-05 Thread Bernardo Brik
Hi Ken, This is a good solution. I like the part that you are redirecting instead of rendering directly form2 from form1 view, that was a code smell that I missed. I don’t like that you are using Session to save the data. You could run into problems of having to invalidate that, clean data, when

Re: How to Process Multi Step Forms in Django?

2015-05-05 Thread Ken Nguyen
I've finally figured it out after weeks of troubleshooting and here's how I do it. In the original post, my views takes in the request from form1 and renders it to form2. I would get the dreadful "Management Form Data is Missing" error no matter what I did and it led to asking a bunch of

Re: How to Process Multi Step Forms in Django?

2015-05-04 Thread Ken Nguyen
Nevermind what I said on my last post, something is internally wrong with my second form. It can't even render when I hard coded the first_name, last_name and the checkboxes. Still getting Management Form Data is Missing. {% load staticfiles %} User Information

Re: How to Process Multi Step Forms in Django?

2015-05-04 Thread Ken Nguyen
Hi Bernardo, Using your hidden method works. I can see the "hidden" value from Form2 but how do I use those hidden information in form2 so it can redisplay correctly? First time around, it will use the variable from form1. The second time around it should use the hidden information without

Re: How to Process Multi Step Forms in Django?

2015-05-04 Thread Bernardo Brik
Hi Ken, You are getting this error because you are missing this line in your template: {{ formset.management_form }} Take a look into the documentation: https://docs.djangoproject.com/en/1.8/topics/forms/formsets/#using-a-formset-in-views-and-templates You need to carry the information to your

Re: How to Process Multi Step Forms in Django?

2015-05-04 Thread Ken Nguyen
Thank you for the input. I've already tried what you've suggested but still the same result, "Management Form Data is Missing." It's not going to know the "first_name" and "last_name" the second time around since I have the variable {{ info.first_name }} and {{ info.last_name }} My*

Re: How to Process Multi Step Forms in Django?

2015-05-02 Thread Bernardo Brik
You should add the same fields (first_name and address) to form2 and render them with hidden inputs. You can try to make form2 inherit from form1 and just add the checkbox. On Friday, May 1, 2015 at 9:58:28 PM UTC-3, Ken Nguyen wrote: > > I've made some attempted to use formwizard but there

How to Process Multi Step Forms in Django?

2015-05-01 Thread Ken Nguyen
I've made some attempted to use formwizard but there wasn't much documentation about it so I decided to stay with the basic. I've successfully obtained and display the data from the first form to the second form and added some checkbox next to the data to allow user to choose whether to

Re: Binding hand written HTML(form) or forms that are not created through djnago forms to django forms validation errors

2015-03-10 Thread Scot Hacker
On Tuesday, March 10, 2015 at 4:10:48 AM UTC-7, Mahesh Thipparthi wrote: > > Hi All, > Kindly help me with following questions. > > Use case is this: > 1. i have created a form manually ( not generated through django forms) > 2. I am calling a Django view function

Re: Binding hand written HTML(form) or forms that are not created through djnago forms to django forms validation errors

2015-03-10 Thread Vijay Khemlani
Unbound forms have no validation errors as they haven't been filled yet by the user. I think you are trying to solve the wrong problem. Why are you creating your form manually in the first place? Your HTML markup is easy to do with Django forms and packages suck as crispy forms On Tue, Mar 10

Binding hand written HTML(form) or forms that are not created through djnago forms to django forms validation errors

2015-03-10 Thread Mahesh Thipparthi
Hi All, Kindly help me with following questions. Use case is this: 1. i have created a form manually ( not generated through django forms) 2. I am calling a Django view function upon submission. 3. validating the field through django form as i ensured that form names are same. question

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-25 Thread C. Kirby
;> >>>>>> Or am I wrong? >>>>>> >>>>>> Sorry for bothering... >>>>>> >>>>>> >>>>>> >>>>>> Em segunda-feira, 23 de fevereiro de 2015 10:50:49 UTC-3, Vijay >>

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-25 Thread Ronaldo Bahia
= Job.objects.applied_to.all() >>>>> >>>>> Or am I wrong? >>>>> >>>>> Sorry for bothering... >>>>> >>>>> >>>>> >>>>> Em segunda-feira, 23 de fevereiro de 2015 10:50:49 UTC-3, Vijay >>>>> Khemlan

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-24 Thread C. Kirby
>>>> Khemlani escreveu: >>>>> >>>>> Oh, if it is that line I missed a parenthesis in the my previuos >>>>> snippet in the filter of haircolor >>>>> >>>>> job_candidates = job_candidates.filter(candidate__candid

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-23 Thread Vijay Khemlani
> snippet in the filter of haircolor >>>> >>>> job_candidates = job_candidates.filter(candidate__candidatelook__ >>>> haircolor=self.cleaned_data['haircolor']) >>>> >>>> You also need to change the other filter >>>> >>>&

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-23 Thread Ronaldo Bahia
tus']) >>> >>> But you should ble able to detect that kind of errors, those are Python >>> things, not something specifically about Django. >>> >>> >>> >>> >>> On Mon, Feb 23, 2015 at 7:40 AM, Ronaldo Bahia <ron...@jobconvo.co

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-23 Thread Vijay Khemlani
gt; >> On Mon, Feb 23, 2015 at 7:40 AM, Ronaldo Bahia <ron...@jobconvo.com> >> wrote: >> >>> I have just updated my code in stackoverflow: >>> http://stackoverflow.com/questions/28637326/how-to- >>> filter-results-using-forms-in-django-best-approach

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-23 Thread Ronaldo Bahia
> wrote: > >> I have just updated my code in stackoverflow: >> >> http://stackoverflow.com/questions/28637326/how-to-filter-results-using-forms-in-django-best-approach >> >> *Ronaldo Bahia * >> Diretor | JobConvo.com >> Tel: 11 3280 6971 >> >>

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-23 Thread Vijay Khemlani
> > http://stackoverflow.com/questions/28637326/how-to-filter-results-using-forms-in-django-best-approach > > *Ronaldo Bahia * > Diretor | JobConvo.com > Tel: 11 3280 6971 > > 2015-02-22 23:16 GMT-03:00 Vijay Khemlani <vkhem...@gmail.com>: > >> Well, I think you can co

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-23 Thread Ronaldo Bahia
I have just updated my code in stackoverflow: http://stackoverflow.com/questions/28637326/how-to-filter-results-using-forms-in-django-best-approach *Ronaldo Bahia * Diretor | JobConvo.com Tel: 11 3280 6971 2015-02-22 23:16 GMT-03:00 Vijay Khemlani <vkhem...@gmail.com>: > Well, I thin

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-22 Thread Vijay Khemlani
m'] = form >> >> return context >> >> >> On Sat, Feb 21, 2015 at 9:57 AM, Ronaldo Bahia <ron...@jobconvo.com> >> wrote: >> >>> Hi Vijay, >>> >>> Thanks for your response. >>> I've just updated my question in stack

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-22 Thread Ronaldo Bahia
om > > wrote: > >> Hi Vijay, >> >> Thanks for your response. >> I've just updated my question in stackoverflow 'cause I forgot to show my >> forms. >> >> What I need is to enable a user (company) to filter results (candidates) >> based on f

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-22 Thread Ronaldo Bahia
o-filter-results-using-forms-in-django-best-approach >> >> Thanks >> >> Em sábado, 21 de fevereiro de 2015 00:33:34 UTC-2, Vijay Khemlani escreveu: >>> >>> It's not clear what's the purpose of the view you are showing. ¿Is it >>> supposed to disp

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-21 Thread Vijay Khemlani
my > forms. > > What I need is to enable a user (company) to filter results (candidates) > based on forms selection (candidates' status and candidates' haircolors) > > And I don't know how to make this in my detailview. > > See the link: > http://stackoverflow.com/questio

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-21 Thread Ronaldo Bahia
this in my detailview. See the link: http://stackoverflow.com/questions/28637326/how-to-filter-results-using-forms-in-django-best-approach Thanks Em sábado, 21 de fevereiro de 2015 00:33:34 UTC-2, Vijay Khemlani escreveu: > > It's not clear what's the purpose of the view you are s

Re: How to filter results using forms in Django/Python (best approach) ?

2015-02-20 Thread Vijay Khemlani
It's not clear what's the purpose of the view you are showing. ¿Is it supposed to display a form with "haircolor" and "status" fields and filter the results it displays based on that? In that case you can declare a form: from django import forms class ScreeningForm(forms.

How to filter results using forms in Django/Python (best approach) ?

2015-02-20 Thread Ronaldo Bahia
I'm kind of new in python/django and I'd like to know: What's the best approach to filter results in Django using forms in a view? I need to filter candidates by haircolor, according to the model CandidateLook and by status, according to CandidateToJob model. Thanks in advance. Here is my

Re: Editing forms in django

2013-10-18 Thread Sandeep kaur
On Fri, Oct 18, 2013 at 1:09 PM, amanjot kaur wrote: > What should I need to do in django, if I want to edit the information > filled in django, like we edit our profile in facebook after filling > once? That means editing the already saved data? Assuming you are using

Editing forms in django

2013-10-18 Thread amanjot kaur
What should I need to do in django, if I want to edit the information filled in django, like we edit our profile in facebook after filling once? -- Amanjot Kaur Blog: kauramanjot35.wordpress.com -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Pattern for Ajax Forms using Django ModelForm and Class Based Views.

2013-02-09 Thread Yo-Yo Ma
I might be worth checking out some sort of API library, like https://github.com/orokusaki/django-jsonrpc-2-0, which will allow you to perform whatever business logic you need to, and then simply return something like {"success": True, "errors": errors_list} - your templates and ordinary views

Pattern for Ajax Forms using Django ModelForm and Class Based Views.

2013-02-08 Thread Kelly Nicholes
What's the best practice for this? In my function based views, I'd check if the form is_ajax() and if so, validate the form, render_to_string it to a form template, and return that in a json dump along with a status code. Then I check the status code to see if there are errors. If so, I

Re: am new to use forms in django..

2012-07-01 Thread manish girdhar
hii..thanks for the concern ... yeha i have gone through it..and now that problem is solved.. On Sun, Jul 1, 2012 at 5:33 PM, pankaj anand wrote: > Have you gone through this ? > > https://docs.djangoproject.com/en/dev/topics/forms/?from=olddocs > > > On Saturday, 30

Re: am new to use forms in django..

2012-07-01 Thread pankaj anand
Have you gone through this ? https://docs.djangoproject.com/en/dev/topics/forms/?from=olddocs On Saturday, 30 June 2012 01:09:47 UTC+5:30, rick wrote: > > > > On Sat, Jun 30, 2012 at 12:09 AM, rick wrote: > >> i dont knw where to make a form...right now i am making

Re: am new to use forms in django..

2012-06-29 Thread manish girdhar
On Sat, Jun 30, 2012 at 12:09 AM, rick wrote: > i dont knw where to make a form...right now i am making form in model.py > ,with the name Student_loginForm class..and when i make a template to > run on servererror comes is > > TypeError at

am new to use forms in django..

2012-06-29 Thread rick
i dont knw where to make a form...right now i am making form in model.py ,with the name Student_loginForm class..and when i make a template to run on servererror comes is TypeError at /record_system/studentid 'DeclarativeFieldsMetaclass' object is not iterable thanks in advance.

Re: How to integrate django forms with django.

2011-12-16 Thread Praveen Krishna R
}} * * * * * On Sat, Dec 17, 2011 at 8:11 AM, Ganesh Kumar <bugcy...@gmail.com> wrote: > Sorry typo How to integrate django forms with jquery > > > Did I learn something today? If not, I wasted it. > > > > On Sat, Dec 17, 2011 at 10:39 AM, Ganesh Kumar <bugcy...@gmail.com> wrote

Re: How to integrate django forms with django.

2011-12-16 Thread Ganesh Kumar
Sorry typo How to integrate django forms with jquery Did I learn something today? If not, I wasted it. On Sat, Dec 17, 2011 at 10:39 AM, Ganesh Kumar <bugcy...@gmail.com> wrote: > Hi guys, > > I am beginner of django, I have created django from, How to add with > jquery

How to integrate django forms with django.

2011-12-16 Thread Ganesh Kumar
Hi guys, I am beginner of django, I have created django from, How to add with jquery and jqueryUI stuff, to my from , please guide me. -Ganesh. Did I learn something today? If not, I wasted it. -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: creating dynamic forms with django

2011-07-20 Thread ken paul
bit complex coz the form attributes have there own attributes and > widgets > Kenneth > > > > On Wed, Jul 20, 2011 at 1:00 PM, NISA BALAKRISHNAN < > snisa.balakrish...@gmail.com> wrote: > >> may be dis link helps u: >> >> http://uswaretech.com/blog/2008

Re: creating dynamic forms with django

2011-07-20 Thread ken paul
ish...@gmail.com> wrote: > may be dis link helps u: > > http://uswaretech.com/blog/2008/10/dynamic-forms-with-django/ > > On Wed, Jul 20, 2011 at 12:46 PM, ken paul <kbo...@gmail.com> wrote: > >> hey can anyone get a way of writing dynamic form classes with

Re: creating dynamic forms with django

2011-07-20 Thread NISA BALAKRISHNAN
may be dis link helps u: http://uswaretech.com/blog/2008/10/dynamic-forms-with-django/ On Wed, Jul 20, 2011 at 12:46 PM, ken paul <kbo...@gmail.com> wrote: > hey can anyone get a way of writing dynamic form classes with django. I > have tried but putting the attributes becam

creating dynamic forms with django

2011-07-20 Thread ken paul
hey can anyone get a way of writing dynamic form classes with django. I have tried but putting the attributes became a bit hard. Kenneth -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Howto crypt forms in Django?

2010-11-01 Thread ckar...@googlemail.com
Hi Cal, thanks for your informations. Now it's clear. Christian On 1 Nov., 13:27, "Cal Leeming [Simplicity Media Ltd]" wrote: > Hi Christian, > > Can I just also mention, that relying on encrypted forms (based on a > static key from the server) is not very

Re: Howto crypt forms in Django?

2010-11-01 Thread Cal Leeming [Simplicity Media Ltd]
Hi Christian, Can I just also mention, that relying on encrypted forms (based on a static key from the server) is not very good practice. At the very most, you can rely on it for client side obfuscation, but don't ever rely on it for security. An SSL certificate is almost certainly the way

Re: Howto crypt forms in Django?

2010-11-01 Thread ckar...@googlemail.com
Okay , thank you all. Christian On 1 Nov., 12:45, Jirka Vejrazka wrote: > > is there a way not to send form data in plain-text format? I've found > > jCryption for PHP ("In short words jCryption is a javascript HTML-Form > > encryption plugin, which encrypts the

Re: Howto crypt forms in Django?

2010-11-01 Thread Jirka Vejrazka
> is there a way not to send form data in plain-text format? I've found > jCryption for PHP ("In short words jCryption is a javascript HTML-Form > encryption plugin, which encrypts the POST/GET-Data that will be sent > when you submit a form."). Is there a way to crypt data without using > SSL?

Re: Howto crypt forms in Django?

2010-11-01 Thread ckar...@googlemail.com
No, no SSL, no HTTPS. Just client side and server side decryption/ encryption. On 1 Nov., 12:22, What you get is Not what you see wrote: > Using https connection? > > On Mon, Nov 1, 2010 at 1:19 PM, ckar...@googlemail.com < > > ckar...@googlemail.com> wrote: > > Hi everybody,

Re: Howto crypt forms in Django?

2010-11-01 Thread What you get is Not what you see
Using https connection? On Mon, Nov 1, 2010 at 1:19 PM, ckar...@googlemail.com < ckar...@googlemail.com> wrote: > Hi everybody, > > is there a way not to send form data in plain-text format? I've found > jCryption for PHP ("In short words jCryption is a javascript HTML-Form > encryption plugin,

Howto crypt forms in Django?

2010-11-01 Thread ckar...@googlemail.com
Hi everybody, is there a way not to send form data in plain-text format? I've found jCryption for PHP ("In short words jCryption is a javascript HTML-Form encryption plugin, which encrypts the POST/GET-Data that will be sent when you submit a form."). Is there a way to crypt data without using

Re: I think I will need some more help concerning forms in django

2010-04-26 Thread Shawn Milochik
It sounds like a case for formsets. http://docs.djangoproject.com/en/1.1/topics/forms/formsets/ Assuming you have models for these shopping cart items, you can use a formset of those items. Shawn -- You received this message because you are subscribed to the Google Groups "Django users"

I think I will need some more help concerning forms in django

2010-04-26 Thread xpanta
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

Re: How to use pre-built HTML forms in Django

2010-03-10 Thread esatterwh...@wi.rr.com
I would build a form using the forms library - subclass forms.Form and let django do the validation for you and return the errors. Once you have that bit in place, you can add your javascript enhancements and logic ontop of it. if need js funcionality for specific fields that Django doesn't

Re: How to use pre-built HTML forms in Django

2010-03-09 Thread MMRUser
So as per your knowledge can u suggest a proper way of getting data from a form but not as mentioned in http://www.djangobook.com/en/2.0/chapter07/ that way is too rusty. Thanks. On Mar 9, 7:28 pm, rebus_ wrote: > On 9 March 2010 15:22, MMRUser

Re: How to use pre-built HTML forms in Django

2010-03-09 Thread MMRUser
The problem I's having is that my HTML form depends upon lot of external resources like javascript validation libraries and lots of css on fields (and some may differ from each other), and I think that I don't need to use re-usable templates because I just want to design a one simple form so

Re: How to use pre-built HTML forms in Django

2010-03-09 Thread rebus_
On 9 March 2010 15:22, MMRUser wrote: > The problem I's having is that my HTML form depends upon lot of > external resources like javascript validation libraries and lots of > css on fields (and some may differ from each other), and I think that > I don't need to use

Re: How to use pre-built HTML forms in Django

2010-03-09 Thread rebus_
On 9 March 2010 05:54, MMRUser wrote: > Thanks another doubt,what about the css mappings class="field text > medium" do they also need to include in the class definition in > Django. > > On Mar 9, 9:21 am, rebus_ wrote: >> On 9 March 2010 05:04,

Re: How to use pre-built HTML forms in Django

2010-03-08 Thread MMRUser
Thanks another doubt,what about the css mappings class="field text medium" do they also need to include in the class definition in Django. On Mar 9, 9:21 am, rebus_ wrote: > On 9 March 2010 05:04, MMRUser wrote: > > > > > I have an pre-built HTML

Re: How to use pre-built HTML forms in Django

2010-03-08 Thread rebus_
On 9 March 2010 05:04, MMRUser wrote: > I have an pre-built HTML form (means I design the HTML form > separately) and I need to reuse it with Django form class > (django.forms), So how do I incorporate my HTML form with Django form > class. for example > > HTML: > > >  

How to use pre-built HTML forms in Django

2010-03-08 Thread MMRUser
I have an pre-built HTML form (means I design the HTML form separately) and I need to reuse it with Django form class (django.forms), So how do I incorporate my HTML form with Django form class. for example HTML: Username * How do I map this HTML in to Django form definition, I

Re: About generated html forms with django

2010-01-22 Thread Daniel Hilton
I'm just trying to help :-) Google git clone or read the user guide on github to help you out. Cheers, Dan On Friday, January 22, 2010, Ariel wrote: > I am asking you that because I am having problems to download it. > > > > On Fri, Jan 22, 2010 at 12:13 PM, Ariel

Re: About generated html forms with django

2010-01-22 Thread Ariel
I am asking you that because I am having problems to download it. On Fri, Jan 22, 2010 at 12:13 PM, Ariel wrote: > Why is this http://github.com/bartTC/django-frontendadmin helpfull ??? > > Regards > Ariel > > On Fri, Jan 22, 2010 at 12:00 PM, Daniel Hilton

Re: About generated html forms with django

2010-01-22 Thread Ariel
Why is this http://github.com/bartTC/django-frontendadmin helpfull ??? Regards Ariel On Fri, Jan 22, 2010 at 12:00 PM, Daniel Hilton wrote: > 2010/1/22 Ariel : > > Hi everybody: > > I need to make an automatic admin interface with a behaviour

  1   2   >