I want to give a username and password to my project in django...can anyone
tell me what should i do???
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/_S9
have you uncomment the lines in the urls.py file???if not uncomment
the 4th,5th and 16th line in urls.py file And then run the server command.
On Mon, Jun 18, 2012 at 1:06 PM, Laurence MacNeill
wrote:
> I'm using 1.4
>
> I finally figured out that if I just create the site manually, everyt
SQL does not allow max_length>255 while using unique=Trueso either
you have to minimize the max_length or to remove unique..For more
information just go through the following links
https://groups.google.com/forum/?fromgroups#!topic/django-developers/7fMxLE-h0tQ
https://groups.google.com/for
do one thing open ur terminal and run the following command
python
then u will get
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
then type
>>> import django
>>> print django.get_version()
if you have v
you can use both methods.If you are getting a permission denied error by
giving full path,
then you have to change the permissions by using following command:
sudo chmod +x /usr/local/bin/django-admin.py
but its not necessary to give the whole path, infact the alternate method
is easier.
In most
just write d=models.DateField() in yor models.py file
On Mon, Jun 25, 2012 at 2:38 PM, ledzgio wrote:
> Very useful, thanks.
> But how can I change the date format also in the admin interface when
> using DateField?
>
> Il giorno lunedì 25 giugno 2012 11:05:38 UTC+2, Mike Dewhirst ha scritto:
>
hello everyone
I installed django and its working under pyhton bt when i typed the
follwing command
django-admin.py startproject mysite
im geting these errors
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 5, in
management.execute_from_command_line()
Fi
yes i tried it is creating a folder named mysite but inside this folder
there are no files llike maange.py etc
On Fri, Jul 27, 2012 at 7:35 PM, Leandro Alves wrote:
> Did you try:
>
> sudo django-admin.py startproject mysite
>
> ?
>
>
> On Friday, July 27, 2012 3:20:
Rafael E. Ferrero can u pls send me the link
On Sat, Jul 28, 2012 at 10:05 AM, Harjot Mann wrote:
> yes i tried it is creating a folder named mysite but inside this folder
> there are no files llike maange.py etc
>
>
> On Fri, Jul 27, 2012 at 7:35 PM, Leandro Alves wrote:
&
how an i use it??/
On Sun, Sep 16, 2012 at 6:25 PM, Nevio Vesic wrote:
>
> https://docs.djangoproject.com/en/dev/ref/models/instances/?from=olddocs#django.db.models.Model.__unicode__
>
>
> On Sunday, September 16, 2012 2:52:43 PM UTC+2, Harjot Mann wrote:
>>
>> hel
done with it thnkuu sooo much
On Sun, Sep 16, 2012 at 6:27 PM, Harjot Mann wrote:
> how an i use it??/
>
>
>
> On Sun, Sep 16, 2012 at 6:25 PM, Nevio Vesic wrote:
>
>>
>> https://docs.djangoproject.com/en/dev/ref/models/instances/?from=olddocs#django.db.models
anyone tel me how to display images on html links using django..
what path should be given in settings.py file
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/dja
anyone knows how to compile a python program???
im doing it as
chmod +x filename.py
./filename.py???
Am i right??/
thanks in advance
--
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 i
us any flags and arguments to pass to it, and the path to
> this file will be added as a last argument. A suitable first lines for .py
> files would be:
>
>#!/usr/bin/python
>
> (assuming that /usr/bin/python is where python live on your system). The
> OS sees the #! and actu
hello everyone
i have convert the python file to exe file using freeze
but the executable file is not working..
when im running it as ./filename
it is giving me this error..
Traceback (most recent call last):
File "rectangle.py", line 2, in
from gasp import *
File "/usr/lib/pymod
I have made a form in models.py file and displayed using html and i want
that when i submit after filling, it should refer to another html file
displaying the mesage that form data is filled but it is showing an error
can anyone help me please??
--
You received this message because you are sub
done with it.thnks
On Sun, Apr 14, 2013 at 12:09 PM, Enator24 wrote:
>
>
> On Saturday, 13 April 2013 20:25:00 UTC+5:30, Harjot Mann wrote:
>>
>> I have made a form in models.py file and displayed using html and i want
>> that when i submit after filling, it should
I have created a table in django templates but I want that the fields which
are not filled from form should not be display in table not even the border
and header of that field also. The headers are static while the data is
coming from database. I used if and for loop for this but whenever I am
What are the methods to break forloop?
--
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 group, send ema
Actually I want to remove the heading of my table in templates if it
is not filled. I have done this using this coding:
{% for test in st|slice:":1" %}S.No
{% ifnotequal test.Description "" %} Description{% endifnotequal %}
{% ifnotequal test.Thickness "" %}Thickness{% endifnotequal %}
How can we add advance search in django like google's advance search??
--
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.
On Thu, Jun 27, 2013 at 11:40 AM, yati sagade wrote:
> I doubt she has a problem with the Python for-loop. She is trying to achieve
> similar control flow in the Django templating language's for loop.
I want to remove the static heading of a table in django templates in
which the data is coming
On Thu, Jun 27, 2013 at 1:16 PM, Peith Vergil wrote:
> Try using django-haystack. It's a nice Django app, very easy to use, and
> with good documentation: http://django-haystack.readthedocs.org/en/latest/.
> It provides a QuerySet like API for several search engine backends. It works
> with Solr,
Is there any search query in django which can ignore vowels like I want to
make a query which displays all the clients name who writes their name as
'amanjit' or 'amanjeet'.
It should take take ee=i or anything like this. Please help me I have to
finish my task asap.
--
You received this mes
Reply waited.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
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 Sun, Jun 30, 2013 at 10:18 PM, Scot Hacker wrote:
> This is really a question about regular expressions, not about Django.
> Whether you implement simple or complex search in Django, whether you use
> Django or some other platform, this is going to come down to using a fairly
> complex regular
On Sun, Jun 30, 2013 at 11:18 PM, Amirouche Boubekki
wrote:
> You can do this by creating an extra field in the model with the name
> without vowels in it and doing a simple filter on it ? Is that what you need
> ?
I have a search function which is already working in views.py but I
want to refine
How can I embed jquery in django for searching???
--
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 grou
On Mon, Jul 1, 2013 at 9:57 PM, Sandro Dutra wrote:
>
Its not working. I want to jquery ajax for search function.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
On Mon, Jul 1, 2013 at 10:34 PM, Gabriel wrote:
> Hey Harjot,
> Could you please provide more details on what you're trying to do? I have a
> feeling it's actually outside of what Django does, but there's still lots of
> people here who could help you out.
I am workng on an automation project in
On Mon, Jul 1, 2013 at 10:41 PM, Harjot Mann wrote:
> I am workng on an automation project in which I want to make search
> which should be a very good search meanwhile it is working but it is a
> simple search. I want that when I type something in search box it
> should display the
On Mon, Jul 1, 2013 at 10:50 PM, François Schiettecatte
wrote:
> Hi
>
> jQuery is not a search engine but a JavaScript library which helps you build
> interactive web pages (and much more, see http://jquery.com ) .
>
> If you want a search engine, I suggest you look at SOLR, there are a number
>
While generating bill an error is coming in automation software.
TypeError at /tcc/jobok/
unsupported operand type(s) for +: 'int' and 'unicode'
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribed to the Google Groups
"Django us
Can we use Phonetic algorithm in django for ignoring vowels while
searching and for spell checking?
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and st
On Fri, Jul 5, 2013 at 4:46 PM, Nigel Legg wrote:
> You can't combine int and unicode. Seems you are trying to.
Yes I am adding int with another datatype. What should I do to remove
this error?
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you
How to import soundex in django??
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
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+unsubsc
On Sat, Jul 6, 2013 at 1:12 PM, Nigel Legg wrote:
> Make sure the two variables you are trying to combine are the same datatype.
> This is in the python docs, and not a django problem.
ok.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are
On Friday, February 8, 2008 2:41:15 AM UTC+5:30, Jacob Kaplan-Moss wrote:
On 2/7/08, leith...@gmail.com >
wrote:
> User.objects.filter(first_name__sounds_like="John")
>
> which would produce and SQL statement like:
>
> WHERE DIFF(SOUNDEX(first_name), SOUNDEX("John")) >= 3
>
> Any plans for it?
Below is the soundex algorithm in python. I want to implement it in
my search function, please help me how it will work for my search.
http://tny.cz/8d5ba06f
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribed to the Google Groups
Video Editing Presentation at 3pm.
Be there.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
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-u
In my project the lab reports, reciepts, and bills are made from html
templates but thse are not saved anywhere but now I need to take the
print outs of all the reports which are made till now for example form
job_id 30 to 400. I want to make function for this so that it can be
done in a one script
In my project the lab reports, reciepts, and bills are made from html
templates but thse are not saved anywhere but now I need to take the
print outs of all the reports which are made till now for example form
job_id 30 to 400. I want to make function for this so that it can be
done in a one script
On Wed, Jul 17, 2013 at 6:46 PM, Derek wrote:
> One option is to use a Django admin action - the user selects which job/jobs
> are needed from the usual list -
> and your action can then generate the data, passing this into a single
> "master template" (composite of your other templates) for the u
On Wed, Jul 17, 2013 at 8:20 PM, Tom Evans wrote:
> Does your website currently produce pdfs, or are you asking how to
> turn multiple HTML pages from your site into a single PDF?
Yes, I want this it has reportlab and pisa modules to produce pdfs.
--
Harjot Kaur Mann
Blog: http://harjotmann.wor
On Wed, Jul 17, 2013 at 8:53 PM, Kamal Kaur wrote:
> It must work if it is there??
It is used only for one report and there is some error,so it is there
but not working.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribed to the G
On Wed, Jul 17, 2013 at 8:26 PM, Kamal Kaur wrote:
> Hope this helps:
> https://docs.djangoproject.com/en/dev/howto/outputting-pdf/
>
> http://stackoverflow.com/questions/1377446/html-to-pdf-for-a-django-site
@ Kamal thnks but its already there.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordp
http://tny.cz/ab1b86eb
Here are my views for creating pdfs but I am getting this error:
HTTPError at /report/myview/
HTTP Error 404: Not Found
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribed to the Google Groups
"Django user
On Thu, Jul 18, 2013 at 11:57 PM, Sivaram R wrote:
> Have you given the correct url? for file
> call ?
Yes, the url is correct, even when I am trying to use
render_to_response its showing me the html template but its not
picking render_to_pdf().
--
Harjot Kaur Mann
Blog: http://harjotmann.wordp
On Thu, Jul 18, 2013 at 11:57 PM, Sivaram R wrote:
> Have you given the correct url? for file
> call ?
The reportlab and pisa which I am using to convert to html is also
taking values from database, cnt we directly convert the html template
to pdf without taking the antries from database.
--
Ha
On Mon, Jul 22, 2013 at 3:16 AM, Nikolas Stevenson-Molnar
wrote:
> Please also provide your urls.py file(s). That's frequently the culprit
> for 404 errors.
http://tny.cz/5e411aa0
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribe
In django when we add a new field in existing class, we need to drop
the table and then run the syncdb again. Is there any alternative for
it so that we can add the field without dropping the table??
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because
On Mon, Jul 22, 2013 at 2:11 PM, Floor Tile wrote:
> Hello Harjot
>
> I think you should look at South: south.aeracode.org/
>
> For the docs you can go to: south.readthedocs.org/
>
> Hope it helps
Hello Floor, thanks.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received
On Mon, Jul 22, 2013 at 2:33 PM, Satinderpal Singh
wrote:
> South is an alternative, it creates table fields without syncdb.
Ok, you didn't tell me before.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribed to the Google Groups
On Mon, Jul 22, 2013 at 10:22 PM, Nikolas Stevenson-Molnar
wrote:
> Is that your only URLs file, or is there another one which includes that
> one?
Its the url's file which contains the urls of pdf.py file.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this messag
On Tue, Jul 23, 2013 at 3:55 AM, Nikolas Stevenson-Molnar
wrote:
> Ok. So if I understand correctly, your request should be to /myview/ not to
> /report/myview/
No, the problem was not with urls. It was having a link with the css
file, which does not exist. Now it is resolved.
THanks everyone fo
Hello Everyone
I am using Reportlaba nd pisa to convert the html template to pdf and
it is working but my question is that I want to convert the html
template directly to pdf. Right now it is retrieving data from
database but I dont want this thing. Cant we create it directly form
the templates by
On Sun, Jul 28, 2013 at 6:52 PM, Gladson Simplício Brito
wrote:
> use this:
> http://weasyprint.org/
Tried it.
Getting an error.
Traceback (most recent call last):
File "/usr/local/bin/weasyprint", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-pack
On Sun, Jul 28, 2013 at 6:46 PM, Victor Rocha wrote:
> https://github.com/rochapps/django-pdf
Tried to implement it as given in readme.txt
Giving internal server error.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribed to the
I am trying to convert the html templates in my project from localhost
using wkhtltopdf. I used weasyprint and a script also but the getting
the same errror from all. It creates the pdf but inside this is
written:
Not Found
The requested URL /accounts/login/ was not found on this server.
Apache/2.2
On Wed, Jul 31, 2013 at 9:23 PM, Charly Román wrote:
> You probably have in your view the decorator 'login_required' and you
> have defined de correct url of login whit LOGIN_URL in your settings.
Yeah..it was the problem. Thanks for your help but I already solved it
yesterday. Now its working f
In my project I have a view which renders to an html template but I
want to render two templates at the same time from one view. How ca I
do it??
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are subscribed to the Google Groups
"Django user
On Thu, Aug 1, 2013 at 6:10 PM, Lukas Nemec wrote:
> Well, after some consideration,
>
> result of a view is rendered HTML page which you send to browser,
>
> what do you mean by rendering multiple templates?
> are you talking about template inheritance = one root template which all
> other templa
On Thu, Aug 1, 2013 at 2:37 PM, Deepak Sharma wrote:
> I want that user save that cropped image to his/her favorite
> destination (client side).
Hope this may help you.
http://stackoverflow.com/questions/6121200/how-to-save-an-image-using-url-in-python-django
--
Harjot Kaur Mann
Blog: http://ha
On Thu, Aug 1, 2013 at 2:37 PM, Deepak Sharma wrote:
> I want that user save that cropped image to his/her favorite
> destination (client side).
You need to create a view in which you need to return
response = HttpResponse(file(fullpath).read())
response['Content-Type'] = 'application/jpg'
respo
On Tue, Aug 6, 2013 at 9:17 AM, Ovnicraft wrote:
> I recommend you use wkhthmltopdf, it is a great library and you can use any
> JS library to render graphs.
How can we use it in django?
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
You received this message because you are s
Hello Everyone
Currently I am using django version 1.4.5 and I want to upgrade it to
1.5.1, I have an app in django. I want to know that what problems will
I face while upgrading to that version. I have no idea about the
features of new version. Any major points which I need to take into
considerat
On Sat, Aug 24, 2013 at 4:19 PM, suraj shukla wrote:
> Hi, I am very new to django framework..
>
> I would appreciate If I can get some tutorial to start on windows operating
> system...
> Thanks!
https://docs.djangoproject.com/en/1.5/
http://www.djangobook.com/en/2.0/index.html
--
Harjot Kaur
In django whenever I make some template I need to refresh it. I am not
getting what is the problem, is it some cache problem, even I disabled
it using never_cache but nothing worked, Is there anyone who faced the
same problem. Please help me I want to know that exactly what is
happening and why?
--
On Thursday, June 20, 2013 8:55:07 AM UTC+5:30, Deepak Sharma wrote:
>
> Okay but my situation is bit different. I am updating my university
> software. That software is wrote in django version 1.3.1. My challenge was
> to run that software on 1.5.1 and i completed that. As many things changed
I want to add a feature in my app in which when user opens a template,
it counts the number of clicks done and also count the number of of
times the page reloads. Not have any idea. Can anyone help me?
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordp
On Mon, Aug 26, 2013 at 2:36 PM, Harjot Mann wrote:
> In django whenever I make some template I need to refresh it. I am not
> getting what is the problem, is it some cache problem, even I disabled
> it using never_cache but nothing worked, Is there anyone who faced the
> same pro
On Sun, Sep 1, 2013 at 1:35 AM, Gerd Koetje wrote:
> if u need to see any other code let me know
You need to save it below each line and u need to use for loop for
iterating all the forms.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/dai
In my app whenever the page is refreshed, the double entry is done in
database. I have faced this many times. What should I do to prevent
the multiple entries in database?
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You
On Wed, Sep 4, 2013 at 10:42 AM, Laurent Meunier wrote:
> Can you show use the source code of the view where you create your entry in
> the database?
Sure. Here is the link to code:
http://tny.cz/09090f4c
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann
On Wed, Sep 4, 2013 at 2:17 PM, Babatunde Akinyanmi
wrote:
> This is usually a side effect of not doing a redirect from the view
> that handles your submitted form.
How can I do it? I mean sometimes if there I fill the form again for
same job no. It accepts the value on submitting. Why it is not
On Sun, Sep 8, 2013 at 2:19 PM, Laurent Meunier wrote:
> Harjot is right, you are not doing a redirect after you create your object.
> Since the browser is not redirected, if you refresh the page the browser
> send an other POST (and a new object is created).
> If you redirect after a POST, the br
On Sun, Sep 8, 2013 at 7:07 PM, Babatunde Akinyanmi
wrote:
> All these questions are best answered with a separate thread for each.
Please answer my questions. I want to solve all these problems. I am
not getting anything that what should I do first. Please someone help
me. :(
--
Harjot Kaur
I am trying to add a new field to model class in django using south
but when I am running ./manage.py migrate app, I am getting this error
http://202.164.53.122/~harjotmann/southerror
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-dia
On Mon, Sep 9, 2013 at 3:46 AM, Roberto López López
wrote:
> You have to fake the migration.
Didn't get you. Please elaborate.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You received this message because you are sub
On Mon, Sep 9, 2013 at 10:59 AM, Xavier Ordoquy wrote:
> The message is: "Table 'tcc_report' already exists"
>
> This means that you already created the tables with syncdb which bypassed
> south and you're trying to created them again with south.
> You'll be able to recover from this by:
> - ensu
On Fri, Sep 13, 2013 at 8:11 PM, Thomas Orozco wrote:
> If the request is a GET (and not a POST), you never return and HTTPResponse
> (or anything, for that matter, so you're returning None)
>
>
not getting..please help me
:(
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dai
I am making an app to add time schedule and while making view. I ma
getting this error
The view time_schedule.views.category_choice didn't return an
HttpResponse object.
Here is the code:
http://tny.cz/46777400
Please help me fast
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Dail
I have placed my static folder called time in
/usr/local/lib/python2.7/dist-packages/django/contrib/admin/static and
give this path in settings.py file in STATIC_ROOT and
STATIC_URL='/static' and used in my template file as
but no css working. Please help me, thanks in advance
--
Harjot Kaur Man
Here is the scrrenshot of my output, please tell me how can boht the
marks of physics of same roll number of different classes or
semesters?
http://screencloud.net/v/aCsl
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You
Please tell me how to use while loop indjango so that marks of
students can be added untill the same roll number is going on?
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You received this message because you are subscri
On Thu, Sep 19, 2013 at 7:39 AM, Lachlan Musicman wrote:
> Harjot,
>
> The answer to your question requires more information.
>
> We would need to see your model structure at the least.
I want to add the marks of same roll number in different classes as
given in the screenshot both the rows are
On Thu, Sep 19, 2013 at 12:45 PM, Leonardo Giordani
wrote:
> Can you perhaps better describe what you are trying to do?
> Do you need it in a view or in a template?
In views I want to add two values having same job-id in my app but
having some other differences. Please tell me how can I do that
While upgrading my django version I am getting this error.
http://202.164.53.122/~harjotmann/error.png
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You received this message because you are subscribed to the Google Grou
On Sun, Sep 22, 2013 at 10:51 PM, Deepak Sharma wrote:
> In your urls your are passing three arguments but django 1.5.x accept
> only one, so delete extra arguments.
Solved, thnks.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-dia
Here is the code to my view,
http://tny.cz/57446220
After filing form when I click on submit button , I am getting this
error "SsupenceEditJob matching query does not exist" and not getting
any values in database.
Help me please.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Da
I am uploading an image in my app and I want to display that image in
admin site. What should I do?
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You received this message because you are subscribed to the Google Groups
"
On Sun, Oct 6, 2013 at 8:35 PM, Gabriel - Iulian Dumbrava
wrote:
> Add a property to your model that returns the img tag you want, set it to
> allow html content, then add the property to list_display in your admin.py.
Done but it is not displaying anything.:(
I used thumbnails but its still be
On Sun, Oct 6, 2013 at 9:02 PM, Gabriel - Iulian Dumbrava
wrote:
> Add a property that should retain a dummy text and try to display that. If
> that works change the dummy text with img, then look at the source page
> generated by the admin.
>
> Maybe the image url is not correctly set and some
Should I need to give the media_root and media_url path?
On Sun, Oct 6, 2013 at 10:19 PM, Harjot Mann wrote:
> On Sun, Oct 6, 2013 at 9:02 PM, Gabriel - Iulian Dumbrava
> wrote:
>> Add a property that should retain a dummy text and try to display that. If
>> that works cha
On Sun, Oct 6, 2013 at 5:57 PM, Harjot Mann wrote:
> I am uploading an image in my app and I want to display that image in
> admin site. What should I do?
http://www.acedevs.com/blog/2011/07/11/django-admin-list-view-thumbnails/
I followed this link but it does not work. Help me
In my app I am selecting the two tests but both appear with both
materials like this
http://screencloud.net/v/EKF7
I want that in the first row depth 0 to 0 should appear but in the
second row only depth 10 to 20 should come. The code is here:
http://tny.cz/019515d5
--
Harjot Kaur Mann
Blog:
On Mon, Oct 7, 2013 at 11:54 AM, Leonardo Giordani
wrote:
> Are you sure that your DB contains only one entry with that name?
> Try printing it in the view you use to render that template and check the
> output of the development server.
Yes
not getting you here ..:(
--
Harjot Kaur Mann
Blog:
On Wed, Oct 9, 2013 at 1:38 AM, Mamarth Briton wrote:
> I found many Journalist creating super user account in many Django website.
> Does any one know how to create super user account in Django website. Such
> tonganoxiemirror.com is a Django site where I want to create a super user
> account or
When I am browsing an image in my form it is giving me this error even
after browsing the image. :(
http://screencloud.net/v/ch9e
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
--
You received this message because you are sub
On Fri, Oct 11, 2013 at 3:44 PM, Tom Evans wrote:
> Forms containing files must have encoding type of
> "multipart/form-data" or the file will not be submitted with the rest
> of the form.
Didn't get you here. My problem is this that when I am browsing for
image ita takes int he upload area but
1 - 100 of 138 matches
Mail list logo