Make sure your line request.session['ts_dataset_copy'], print anything
above it, also make sure you are using POST method in forms (method =
"post")
On Tuesday, February 25, 2020 at 3:47:25 AM UTC+5:30, Guy NANA wrote:
>
> I have an angular frontend app which send file to django backend which
You haven't set max_len of TextField, use this - do it like this --
Description = models.TextField(max_length=1000)
On Monday, February 24, 2020 at 8:14:25 PM UTC+5:30, Amitesh Sahay wrote:
>
> Hi,
>
> I am creating a model, which is taking a description as text field. when I
> migrate I see t
Hello everyone,
i want to know that which language and framework was used for making
dropbox,
and i want to make such website, so can i make it in django, if not which
framework and language should i use?
--
Pankaj Sharma
Third Year Undergraduate Student
Department of Civil Engineering
Indian
please visit this link http://www.facebook.com/ednect
On Aug 10, 10:05 pm, pankaj sharma wrote:
> hello friends there is a workshop to be conducted in india (kolkata)
> by ednect services, it will also include information about django
> if we want that everybody use django so everybody
hello friends there is a workshop to be conducted in india (kolkata)
by ednect services, it will also include information about django
if we want that everybody use django so everybody will try to conduct
same kind of workshop in their cities.
and also like this link
http://www.facebook.com/pag
hello friends ,
i have a database in which i have some files say photos...
{i am uploading photos from django admin.}
i want to make a template so that the users of my website can download
these photos ..
so can anyone provide me some useful information or any link
--
You received this message be
hello everyone, i need some help;
i want the users to download some files.. {say photos}
and what setting do i have to take care using FileField. where all
these photos will be stored and how can user download the photos
--
You received this message because you are subscribed to the Google Groups
Hello friends,.
i want to upload some files to my database and show it to user ..
how to add an filefield option to models.py and how to show them in
admin.py.
and how to let the users download the files...
--
You received this message because you are subscribed to the Google Groups
"Django user
can u tell me which one is better in sphinx and haystack
On May 11, 10:01 pm, Tarkeshwar Thakur wrote:
> In your settings filehttp://docs.djangoproject.com/en/dev/topics/settings/
>
> On Thu, May 12, 2011 at 10:20 AM, pankaj sharma
> wrote:
>
>
>
>
>
>
>
>
hello friends, i want to use haystack for my website,
but i am having too many problems to install it.
in the dowumentation it is telling to add haystack to ur installed
apps. now it it telling to do "HAYSTACK_SITECONF =
'myproject.search_sites'"
now where should i type this i dont have any idea ab
thanku very much.
On May 9, 11:02 pm, Jani Tiainen wrote:
> On Mon, 2011-05-09 at 06:15 -0700, pankaj sharma wrote:
> > i have 4 branches in a college..
> > some college have three some have 4 and so on
> > so i want to provide a search system to the user that they
i have 4 branches in a college..
some college have three some have 4 and so on
so i want to provide a search system to the user that they can see the
list of all the colleges which are having some branch say branch2 may
be he can select branch 3 and 4 and 1 also
so i am taking a query from the
hello ..
i am having a database of college which have a name city state
branches etc...
so
class College(models.Model):
name = models.CharField(max_length=250)
city = models.ForeignKey(City)
branch1 = models.BooleanField(default=False, blank=True)
branch2 = models.BooleanField(default=
thanks for ur answer jani but i didn't get it . as i am getting one
query for branch {which is Qbranch} so where i use this?
On May 8, 10:40 pm, Jani Tiainen wrote:
> On Sun, 2011-05-08 at 09:59 -0700, pankaj sharma wrote:
> > hello ..
>
> > i am having a database of col
http://docs.djangoproject.com/en/dev/ref/models/fields/
may be this can help u.
Regards:
Pankaj
On May 8, 1:32 pm, Pulkit Mehrotra wrote:
> I want to create a system by which i can upload files to my database .This
> database will be a set of question papers .These question papers can be
> down
can i do it without using haystak actually i just want to add one more
filter ..
On May 8, 11:18 am, Amanjeev Sethi wrote:
> Is it possible for you to use Django Haystack for search?
>
> http://haystacksearch.org/
--
You received this message because you are subscribed to the Google Groups
"Dj
hello ..
i am having a database of college which have a name city state
branches etc...
so
class College(models.Model):
name = models.CharField(max_length=250)
city = models.ForeignKey(City)
branch1 = models.BooleanField(default=False, blank=True)
branch2 = models.BooleanField(de
but i dont know about jquery or ajax, can i get any example from any
site , can u provide any link which has such code written
On May 7, 12:10 pm, Shawn Milochik wrote:
> You'll need to write JavaScript.
>
> Specifically:
>
> Write a function that uses AJAX to pass the state to a Django view
hello everybody...
i want to have an advanced search option...
i have a college database.. which has city state and other things ..
now i want to provide a search system to user such that they can
search colleges by city and states and names
i have given select box for states and city..
now
actually i want both.. like
LIST OF ALL COLLEGES:
college1
city1
college2
city2
college3
city3
LIST OF CITIES
city1
city2
city3
{but is city2 = city3}
then it would show :
LIST OF ALL COLLEGES:
college1
city1
college2
city2
college3
city3
LIST OF CITIES
city1
city2
--
hello friends,
i have database of colleges.
i want to show all cities
so what is did is..
in template..
{% for college in list %}
{{college.city}}
{% endfor %}
in views.py
def list(request):
college_list=College.objects.all()
return render_
hello all,
i am trying to have an advanced search..
i have college list where there are many tables in college like
college.name, collge.city college.state etc.
so i have taken two strings from the user like Q1 and Q2.
now i want to show all the colleges which have Q1 string in name and
Q2 stri
thanks.
On May 2, 1:52 am, Ankit Rai wrote:
> Hi,
>
> Are city and name are the fields of your models?If yes than you can write
> your custom search using queryset , refer search implementation in django
> admin
>
> On Mon, May 2, 2011 at 1:41 PM, pankaj sharma
> wrote:
i am new on django, i want to know how can we make advanced search on
our website.
i have database of colleges. and i want to provide the user to search
the colleges by :
city and name
i have made single search where user can enter the query and it will
show only those colleges having the query
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/college/college/3/
Django Version: 1.3 rc 1
Python Version: 2.6.5
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messag
same as categories i have to add affiliation to every college.
so i added
class Affiliation(models.Model):
title = models.CharField(max_length=100)
def __unicode__(self):
return self.title
to models.py
and added one more field to class of colleges
class College(models.Model):
26 matches
Mail list logo