dels.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 Groups
"Django
= 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
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 received this mes
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" wrote:
>
> On Sat, Mar 22, 2014 at 8:19 PM, Satinderpal Singh
> wrote:
> > And the same problem is still there:)
> > Please show me the code.
>
> Sorry didn't get you.
> Are you facing the same problem or do y
es 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 emails from it, send an email
to django-use
ll 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-users+unsubscr...@googlegroups.com.
T
ust 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...@googlegroups.com.
To post to this g
a after messages proccesor
Thanks a lot Mantas.
>
> On Wed, Sep 4, 2013 at 12:53 PM, Mantas Zilinskis
> wrote:
>>
>> and also all your traceback
>>
>>
>> On Wed, Sep 4, 2013 at 12:45 PM, Satinderpal Singh
>> wrote:
>>>
>>> On Wed, Se
ule
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 from this group and stop receiving emails from it,
o send an email to
# the site admins on every HTTP 500 error when DEBUG=False.
# See http://docs.djangoproject.com/en/dev/topics/logging for
# more details on how to customize your logging configuration.
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
-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 this
t ,In
Django 1.5, you can now swap out theUser model for one that you write
yourself. This could be a simple extension to the existing User model
– for example, you could add a Twitter or Facebook ID field – or you
could completely replace the User with one totally customized for your
site.
--
Satin
o.core.handlers.wsgi
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 s
gt; 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 Singh
--
You received this message because you are subscrib
tive, 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 django-users+unsubscr...@googlegroups.
On Sat, Jul 20, 2013 at 8:48 AM, Kamal Kaur 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 are subscribed to the Goog
roup 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://groups.google.c
__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':depart
r.html,
error at line 12
2 {% load i18n %}
3
4 {% block content %}
5
6 {% for Heads in Head %}
7
8 No.GNDEC/TCC/R/{{Heads.job_id}}Dated{{Heads.dispatch_report_date}}
9
10 To,
12 {% for add in client %}
13 {{ add.client__client__first_name}} {{
add.client__client__middle_name}}
{{add.client__client_
"Django developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-develop...@googlegroups.com.
> Visit this group at http://groups.google.
.com'
EMAIL_HOST_PASSWORD = '*'
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 use
>
>
> --
> 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
ocument, use @Mike's
> solution.
>
> Good Luck,
Thanks.
>
> Mark
>
>
> On Sun, Feb 24, 2013 at 8:04 AM, Satinderpal Singh
> wrote:
>>
>> On Sun, Feb 24, 2013 at 8:00 PM, Nick Apostolakis
>> wrote:
>> > On 24/02/2013 03:15 μμ, Satinderpal Sin
On Sun, Feb 24, 2013 at 8:00 PM, Nick Apostolakis 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.
>>
>> By the way, i am t
lue to be 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@g
m asking for, i am unable to save 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 yo
On Fri, Dec 21, 2012 at 5:57 PM, senthil mariyappan
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 because you are subscribed to the Goo
On Tue, Dec 18, 2012 at 12:25 PM, Sandeep kaur wrote:
> On Tue, Dec 18, 2012 at 2:48 AM, Satinderpal Singh
> wrote:
>> I created a search box for searching the information about the client
>> so that this information uses to create the report.
>
> add these lines :
n_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 a search box for searching the
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/
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 G
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
t 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 gro
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
DATABASES = {
'default': {
'NAME': 'app_data',
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'USER': 'postgres_user',
'PASSWORD': 's3krit'
},
'users': {
'NAME': '
;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
On Wed, Oct 17, 2012 at 4:49 PM, Tom Evans wrote:
> On Wed, Oct 17, 2012 at 7:06 AM, Satinderpal Singh
> wrote:
>> I used formsets for different forms in my project, it displays the
>> forms to user but on submitting the form it gives the following error:
>> 'che
else:
formset = ChemicalFormSet()
return render_to_response('report/report_add_row.html',
{'formset':
formset}, context_instance=RequestContext(request))
--
Satinderpal Singh
http://satindergoraya.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
**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 wrote:
>>> I made a model form and a view which accepts input as a form and
>>> disp
On Mon, Oct 1, 2012 at 4:27 PM, Tom Evans wrote:
> On Mon, Oct 1, 2012 at 11:36 AM, Satinderpal Singh
> wrote:
I add the following to my code,
>> I made a model form and a view which accepts input as a form and
>> display it in the html format. As when i refresh the html page
t(request))
Any help 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 po
On Tue, Sep 18, 2012 at 3:45 PM, Tom Evans wrote:
> On Mon, Sep 17, 2012 at 8:14 AM, Satinderpal Singh
> wrote:
>> I want to extend a template file into the other file. I get fine
>> results when done simply but whenever I use the template containing
>> 'for' ta
named
> 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://satindergora
;> >> '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
>> >>
>> >>
>> >> {% block
in organisation %}
>> > >{{organisations.name}}
>> {{organisations.address}}
>> {% endfor %}
>>
>>
>> {% endblock %}
>>
>> {% block content %}{% endblock %}
>>
>> Please see where I am going wrong.
>
oing wrong.
--
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 f
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
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" group.
To po
ers.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
> wrote:
>> I have to deploy osmeditor on my system, and download code from the
>> link: http://
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 advanc
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 email to
On Mon, Aug 13, 2012 at 6:06 PM, Melvyn Sopacua 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
>>> syncdb command:
>>>
>>&
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 advan
tall 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.blogspot.in/
--
You received
56 matches
Mail list logo