Not able to build the satchmo store

2013-10-04 Thread roopasingh250
I installed python 2.6 and django 1.3.7 in my Linux machine.I followed the instruction in [this documentation][1] to install sachmo 0.9.2.I am able to import the sachmo in python prompt and able to check the version also.I am getting the error at this line "Build Your Store With clonesatchmo"

Add image to all check box django

2013-09-03 Thread roopasingh250
forms.py class TypeSelectionForm(forms.Form): checkbox_field = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple(), label="", required=False) def

Re: implement gmail type address adding functionality in django

2013-08-05 Thread roopasingh250
Hi, What is the name of that technology i want to search in google. Cheers! On Monday, August 5, 2013 3:29:21 PM UTC+5:30, JirkaV wrote: > > (not on a PC now) > > You're looking for quite common functionality - search you favourite > search engine for combination of Django, Ajax and

implement gmail type address adding functionality in django

2013-08-05 Thread roopasingh250
I want to implement the functionality available for adding email address in gmail in my application. In gmail,in compose mail if we type the 1st character of the email address,it will show the list of suggested email address.The same concept,i want to implement in django for contact name.The

Re: menu highlight issue in django

2013-07-08 Thread roopasingh250
Hi, Since i am using session in my application i planed to check with the use of session.See my edit method for editing the report. The idea is i need to create another session for edit method and if that created session is their,the menu should not highlighted,so if a user is going to open

menu highlight issue in django

2013-07-05 Thread roopasingh250
Hi, In my django application,I am creating new report using django session,and my application contain 3 tabs namely Reports,Search and New Report.Tab highlight says that the application is in which page.If user clicks New report,the New report tab will be highlighted. User can view all the

search and export the data in .csv format using django

2013-06-28 Thread roopasingh250
In my application i am using a search function which search and display the output.I include search forfromdate and todate,Keyword search etc. I want to export the searched result in a .csv file.Currently i had written a function calledcsv_export and exporting all the report in .csv.I want to

export .csv file from database

2013-06-17 Thread roopasingh250
views.py @login_requireddef export_csv(request): user = request.user # heading columns headerrow = ['Filename', 'Description','Notes other','Reporter Name'] allrows = [] today = datetime.datetime.today() # default to show today reports = Report.objects.filter(user=user)

display selected item in template using Django

2013-06-14 Thread roopasingh250
PERSON_ACTIONS = ( ('1', '01.Allowed to rest and returned to class'), ('2', '02.Contacted parents /guardians'), ('3', '02a.- Unable to Contact'), ('4', '02b.Unavailable - left message'),) class PersonActionsForm(forms.ModelForm): action =

background image for table not apply in printout page and email copy - Django

2013-06-13 Thread roopasingh250
html: {%if injuary_mark.mark1 %} {% endif %} {%if injuary_mark.mark2 %} {% endif %} css: .printout{ background:url('http://192.168.100.10/static/images/human.png'); width:123px; height:298px;

Re: Not able to send email to more than 2 email address

2013-06-12 Thread roopasingh250
Dear Russell Keith-Magee Now its working! Thanks On Thursday, June 13, 2013 5:00:30 AM UTC+5:30, Russell Keith-Magee wrote: > > > > On Thu, Jun 13, 2013 at 3:28 AM, wrote: > >> models.py >> >> class FollowerEmail(models.Model): >> report = models.ForeignKey(Report) >>

Not able to send email to more than 2 email address

2013-06-12 Thread roopasingh250
models.py class FollowerEmail(models.Model): report = models.ForeignKey(Report) email = models.CharField('Email', max_length=100) views.py def what(request): "" follower = FollowerEmail.objects.filter(report=report) list=[] for email in follower:

how to add custom delete confirmation message

2013-06-11 Thread roopasingh250
JavaScript: $('.delete_icon').click(function(){ var obj = $(this) var csrf_token = "{{ csrf_token }}"; var email = $(this).attr('value'); var id = $(this).attr('id'); $.ajax({ data:{csrfmiddlewaretoken: csrf_token,id:id,cancel_email:email}, type:'POST',

Django DEBUG=False made all css loss

2013-06-11 Thread roopasingh250
I am build my application using Python 2.7 and Django 1.3.7.All it is working perfectly and most of the part are over so we planed to move it to live.While checking with DEBUG = False in settings.py made unhappy. Problem i am facing is the css what ever i used is not applied in the

Re: saving latitude and longitude values in django

2013-06-04 Thread roopasingh250
Vermon D. Cole,How to get the latitude and longitude from javascript(using javascript map) and save it to database in Django.If marker is placed in any place,it will show/display the longitude and latitude value,need to get that and save in in db.Hope this clear. Thanks On Tuesday, June 4,

data not saving properlly

2013-06-03 Thread roopasingh250
views.py def what(request): ' ' ' ' ' ' ' ' if request.method == 'POST': ReportType.objects.filter(report=report).delete() checked_ones = [unicode(x) for x in subtype if unicode(x) in request.POST.keys()] for entry in checked_ones: r = ReportType()

Re: save data using checkbox click an input

2013-06-03 Thread roopasingh250
Hi, I agree that the logic is duplicated, I corrected in views. I used that line to render the parent element and below the corresponding parent element their respective child element should come to display.That logic worked for me.I am updating my new template here,the view code is

save data using checkbox click an input

2013-06-01 Thread roopasingh250
Hi,i am using django developing an app.Problem i am facing is i queried a list of data from one table and save the same data to another table,but the condition is if the user clicks the checkbox and press save.If the checkbox is clicked the value(label) of the checkbox should save in