> Required code:
> models.py: http://pastie.org/9430952
> forms.py: http://pastie.org/9430955
Page doesn't exist :(
> views.py: http://pastie.org/9430962
--
Satinderpal Singh
http://satindergoraya91.blogspot.in/
--
You received this message because you are subscribed to the Google G
= models.CharField(max_length=1000, blank=True)
footer = models.CharField(max_length=150, blank=True)
In the above table "Content" the OneToOne field contains the Link.id
attribute of the
table"Link", but how could i get it as, Link.links.
--
Satinderpal Singh
htt
om useraccounts.models import *
> I tried by adding 'appname.modelname' in foreign key field but it actually
> refrences librehatti.useraccounts.address, which is not what I want.
>
> Any help would be appreciated.
--
Satinderpal Singh
http://satindergoraya91.blogspot.in/
--
You
to resolve the error.
--
Satinderpal Singh
--
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 django-users+unsubscr...@googlegroups.com.
To post to this gro
On Mar 22, 2014 8:27 PM, "Harjot Mann" <harjotmann1...@gmail.com> wrote:
>
> On Sat, Mar 22, 2014 at 8:19 PM, Satinderpal Singh
> <satinder.goray...@gmail.com> wrote:
> > And the same problem is still there:)
> > Please show me the code.
>
> Sorry
data from first form and wishes to
redirect the other form then you have to follow another approach.
--
Satinderpal Singh
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving e
this?
>
And the same problem is still there:)
Please show me the code.
--
Satinderpal Singh
--
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 django-us
not getting
I think it must be SuspenceEditJob.
--
Satinderpal Singh
--
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 django-users+unsubscr...@googleg
to have a comma after messages proccesor
Thanks a lot Mantas.
>
> On Wed, Sep 4, 2013 at 12:53 PM, Mantas Zilinskis
> <mantaszilins...@gmail.com> wrote:
>>
>> and also all your traceback
>>
>>
>> On Wed, Sep 4, 2013 at 12:45 PM, Satinderpal Singh
>> &
/importlib.py"
in import_module
35. __import__(name)
Exception Type: ValueError at /
Exception Value: Empty module name
--
Satinderpal Singh
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe f
'class': 'django.utils.log.AdminEmailHandler'
}
},
'loggers': {
'django.request': {
'handlers': ['mail_admins'],
'level': 'ERROR',
'propagate': True,
},
}
}
--
Satinderpal Singh
--
You received this message because you are subscribed t
-packages/django/utils/importlib.py
in import_module, line 35
Python Executable:/usr/bin/python
Python Version:2.7.3
How could i solve this?
--
Satinderpal Singh
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
ly customized for your
site.
--
Satinderpal Singh
--
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 django-users+unsubscr...@googlegroups.com.
To post to t
application = django.core.handlers.wsgi.WSGIHandler()
sys.path.append('/home/goraya/')
But got the error:
The requested URL /lret was not found on this server.
please check where i am going wrong?
--
Satinderpal Singh
--
You received this message because you are subscribed to the Google Groups
eally appreciated.
> Waiting.
>
> --
> Sandeep Kaur
> E-Mail: mkaurkha...@gmail.com
> Blog: sandymadaan.wordpress.com
I think in the your views you are trying to save it under the formsets, try
to save the formsets under the form to save all the required rows.
--
Satinderpal Sing
out dropping the table
South is an alternative, it creates table fields without syncdb.
--
Satinderpal Singh
--
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 dja
On Sat, Jul 20, 2013 at 8:48 AM, Kamal Kaur <kamal.kaur...@gmail.com> wrote:
> Can we have a search module in django that can suggest resembling
> spellings from mysql database?
>
I am not getting you, please expalin.
--
Satinderpal Singh
--
You received this message because you
cribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https
pend({"client__client__first_name":client__client__first_name,"
> client__client__middle_name": client__client__middle_name,.})
>
>
> temp = {'client':table1, 'cubee':cubee, 'Head':Head,
> 'organisation':organisation,'department':department,}
>
>
> I h
{{ add.client__client__first_name}} {{
add.client__client__middle_name}}
{{add.client__client__last_name}}
14 {{add.client__client__address}}
15 {{ add.client__client__city}}
16 {% endfor %}
17
Can anybody help me to solve this error.
--
Satinderpal Singh
http://devplace.in/~satinder/wordpress/
http
ogle.com/group/django-developers?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Satinderpal Singh
http://devplace.in/~satinder/wordpress/
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
You received this message because you
= '*'
EMAIL_USE_TLS = True
EMAIL_PORT = 587
--
Satinderpal Singh
http://devplace.in/~satinder/wordpress/
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
m it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Sa
rt download as a PDF document, use @Mike's
> solution.
>
> Good Luck,
Thanks.
>
> Mark
>
>
> On Sun, Feb 24, 2013 at 8:04 AM, Satinderpal Singh
> <satinder.goray...@gmail.com> wrote:
>>
>> On Sun, Feb 24, 2013 at 8:00 PM, Nick Apostolakis <nicka...@oncr
On Sun, Feb 24, 2013 at 8:00 PM, Nick Apostolakis <nicka...@oncrete.gr> wrote:
> On 24/02/2013 03:15 μμ, Satinderpal Singh wrote:
>>
>> Thanks a lot to all. I noted your suggestions, and will try to
>> implement one which would be best suit to my requirement.
>>
&
saved.
> Hope this helps you.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
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@googlegroup
the context of
Django. I used the logic given by you but it did not worked. How will
i save the value of material in the database name field.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
You received this message because you are subscribed to the
On Fri, Dec 21, 2012 at 5:57 PM, senthil mariyappan
<senthilbs...@gmail.com> wrote:
> hi friends, i new one to django..
Welcome to the Django family.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
You received this message be
On Tue, Dec 18, 2012 at 12:25 PM, Sandeep kaur <mkaurkha...@gmail.com> wrote:
> On Tue, Dec 18, 2012 at 2:48 AM, Satinderpal Singh
> <satinder.goray...@gmail.com> wrote:
>> I created a search box for searching the information about the client
>> so that this informa
lank=True)
Header_column_2 = models.CharField(max_length=255,blank=True)
Footer_column_3 = models.CharField(max_length=255,blank=True)
def __str__(self):
return self.refrence_no
>
> On Monday, December 17, 2012 1:18:54 PM UTC-8, Satinderpal Singh wrote:
>>
>> I created
the book speaks about a
> previous version of django.
> Anyone has a good tutorial on templates.
> I'm trying with the website of django hoping on something better. Let me
> know
This book may help you to understand urls and templates in better way:
http://www.djangobook.com/en/2.0/cha
more complex calls into this:
Thanks, for the kind advise.
> return render ( request, 'report/report_base.html', {'Head':Head,} )
>
>
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
You received this message because you are subscribed to the Goog
How do i write the column names in the django models so that it
ignores _ character and show % in the output label of templates.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http
what error is this, and how will save the array
values to my models.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
for adding the row can add the row to the form but saves
only the first entry of the first row but not saved the entries of the
rows that can be added by the add button.
Can anybody tell me how would i solve this problem. Any help would be
highly appreciated.
--
Satinderpal Singh
http
{
'NAME': 'app_data',
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'postgres_user',
'PASSWORD': 's3krit'
},
'users': {
'NAME': 'user_data',
'ENGINE': 'django.db.backends.mysql',
'USER': 'mysql_user',
'PASSWORD':
med 'matricula' and 'password', and so i log on
> this user in my app...
If you want to join the two application databases, use the following query.
from django.appName import TableName
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
You received this m
On Wed, Oct 17, 2012 at 4:49 PM, Tom Evans <tevans...@googlemail.com> wrote:
> On Wed, Oct 17, 2012 at 7:06 AM, Satinderpal Singh
> <satinder.goray...@gmail.com> wrote:
>> I used formsets for different forms in my project, it displays the
>> forms to user but o
formset = ChemicalFormSet()
return render_to_response('report/report_add_row.html',
{'formset':
formset}, context_instance=RequestContext(request))
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
You received this message b
Hello,
I want to add a new row in the existing database table by using add
button in the html form from the user as user can create as much rows
in the table as he needed, how will i add this?
Thanks, in advance.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91
once
>> is_valid() returns False so I **guess** that's where the problem lies.
>>
>> Try re-rendering the submitted form if is_valid is False or doing a
>> redirect.
>>
>> On 10/1/12, Satinderpal Singh <satinder.goray...@gmail.com> wrote:
>>> I made a mo
On Mon, Oct 1, 2012 at 4:27 PM, Tom Evans <tevans...@googlemail.com> wrote:
> On Mon, Oct 1, 2012 at 11:36 AM, Satinderpal Singh
> <satinder.goray...@gmail.com> wrote:
I add the following to my code,
>> I made a model form and a view which accepts input as a form and
&
regarding this will be highly appreciated.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
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
On Tue, Sep 18, 2012 at 3:45 PM, Tom Evans <tevans...@googlemail.com> wrote:
> On Mon, Sep 17, 2012 at 8:14 AM, Satinderpal Singh
> <satinder.goray...@gmail.com> wrote:
>> I want to extend a template file into the other file. I get fine
>> results when done simply b
; block is ignored. You have lots of content outside the named blocks,
> so this is probably causing you some grief.
>
But I have used different block names for both the files. So I don't
think there is any chance of overriding of data.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
done simply but whenever I use the template containing
>> >> 'for' tag into the other, it does not show any results.
>> >> My code for template which is to be extended is here :
>> >>
>> >> #template file to be extended into the other
>> >>
&
ations in organisation %}
>> > >{{organisations.name}}
>> {{organisations.address}}
>> {% endfor %}
>>
>>
>> {% endblock %}
>>
>> {% block content %}{% endblock %}
>>
>> Please see where
.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
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
thy code.
If anybody tell me how i'll do it. Thanks in advance.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
http://satindergoraya91.blogspot.in/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send emai
? Is there any documentation available for that?
Please tell me any possible way to deploy OSM to my project. Thanks in
advance.
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
app_directories.load_template_source
> TO
> django.template.loaders.app_directories.Loader
> in the TEMPLATE_LOADERS dictionary in your settings.py file and it
> should have it fixed.
>
>
> On Mon, Aug 20, 2012 at 4:30 PM, Satinderpal Singh
> <satinder.goray...@gmail.com> wrote:
>> I have to
it in the browser, it gives the following error:
Error importing template source loader
django.template.loaders.filesystem.load_template_source: "'module'
object has no attribute 'load_template_source'"
If anybody helps me to solve the problem. Thanks in advance.
--
Satinderpal
k.com/en/2.0/chapter03/
--
Satinderpal Singh
http://satindergoraya.blogspot.in/
--
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
On Mon, Aug 13, 2012 at 6:06 PM, Melvyn Sopacua <m.r.sopa...@gmail.com> wrote:
> On 13-8-2012 14:23, Melvyn Sopacua wrote:
>> On 13-8-2012 13:47, Satinderpal Singh wrote:
>>
>>> I got the following error while making the tables in database using
>>>
Hi,
I got the following error while making the tables in database using
syncdb command:
AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type'
I recently install GEOS library and import it to my model.py file. Any
help will be appreciated, thanks in advance.
--
Satinderpal
you just
download it and install to your system by following the instruction in
readme file present with that package. Follow the links like
http://docs.b-list.org/django-registration/0.8/quickstart.html
http://forum.webfaction.com/viewtopic.php?id=2230
--
Satinderpal Singh
http://satindergoraya.blo
56 matches
Mail list logo