Hi,
as the title says, in a new project (django trunk), my model isn't found by
syncdb.
However, when I run a shell_plus (I use django extensions), then I can import
it without a problem.
So from sql.models.mytestmodel import MyTestModel works.
syncdb doens't produce any errors, it just doesn't
Hey..
I am working for project, in that the back-end code is return in perl
and am working for front-end part i.e UI using Django,
Can any one can tell me how to access back-end database which is
return in perl or any othere languages .??
Pls help
Thank You
--
You received this messag
Is there a database (SQLite, MySQL, PostGreSQL, ...) at your backend, or
is it an abstraction layer made in Perl?
If you have a databse, why not access it directly with Django --You
would need to build your model to fit, and set the username to one the
DB accepts, but this looks like the clean
I use Postgres for this.
You will need to install visual studios 2008. Not sure why you said that is an
issue. I've never had a problem on several installations.
However, pscyopg2 has binaries, that is what I use.
>From there you can just virtualnv / pip.
--
You received this message because
That's what i'll do.
Thanks for the answer
On 06/04/2012 03:10 PM, fabrixxm wrote:
On 4 Giu, 12:32, kooliah wrote:
So i can't understand if i want to have a better ranking, it is better
to not use sorl for this kind of images and use
that gives
from a user perspective, I thin
I have been noticing in recent Django versions (I don't remember it in
1.2, probably) that having run the development server, the tty's echo
flag is set afterwards, no matter its value before. (I frequently run
from an emacs shell window, which has echo off because emacs will have
"echoed" the tex
Hello Hendrik,
Thank you for the explanation. It is *very* helpful!
voss
On Monday, June 4, 2012 8:21:15 PM UTC-5, henzk wrote:
>
> Hi Voss,
>
> i forgot about django's CSRF protection.
> You can use the csrf_exempt decorator on the view function to disable
> django's CSRF protection - howe
Well, since this is the django group, I'll suppose that *${application}* is
a template variable (Maybe it's a template used by ant when compiling the
flex app).
If this index is indeed handled by a django view, you could then configure
the basePath / host like this:
1. You could add it to your
On 6/5/12 4:06 AM, Mo Mughrabi wrote:
I've been developing an application using Django for the past a year.
The application was written in a Debian environment, the development
and testing was entirely done in a debain machine.
Recently, I decided to move the application to my local Mac OS X
When I use example.objects.all().delete() I get an error that the table
example_delete wasn't found on the DB. Any ideas of what am I doing wrong?
Thanks,
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
Did you do a python manage.py syncdb?
Are you using sqlite and have relative paths?
On 5 June 2012 14:37, Lucas Aride Moulin wrote:
> When I use example.objects.all().delete() I get an error that the table
> example_delete wasn't found on the DB. Any ideas of what am I doing wrong?
> Thanks,
>
Since no one seemed to mention it so far: what about using a real
fulltext search engine ?
(hint : django-haystack provides a django-ish, unified API over quite
a few known search engines).
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
The syncdb worked. Isso didn't know that the delete() need a table.
Thanks,
On Jun 5, 2012 10:50 AM, "David Markey" wrote:
> Did you do a python manage.py syncdb?
>
> Are you using sqlite and have relative paths?
>
> On 5 June 2012 14:37, Lucas Aride Moulin wrote:
>
>> When I use example.objects
For what it's worth, this script below is the best I could come up
with so far -->
site_domain="radioweedshow.com"
site_name="www.radioweedshow.com"
if [ -n "$sites_used" ]; then
juju-log "Found django.contrib.sites in installed apps. Creating
single table as defined in this script."
echo "f
Here me again :-)
I know that with django 1.4 there are custom filters, but i have to use
1.3 so
I have a model with a foreign key to another
class mdl1(models.Model):
color = models.ForeignKey(colors)
name = models.CharField(_("name"),
If in the admin.py i assign list_filter to c
On Mon, Jun 4, 2012 at 12:41 PM, Aaron C. de Bruyn wrote:
> Windows is such a nightmare. PyPm doesn't have sqlite packages--they
> all show a failure to compile on ActiveState's site. Apparently
> they've always failed for every version of Windows ever. Pip wasn't
> much help as I need to insta
On Jun 4, 4:20 pm, Peter of the Norse wrote:
> One possibility is to use MySQL. By default it indexes things so that a, á,
> and À are the same thing. There are some gotchas though: you have to make
> sure that it’s using an appropriate character set for the languages you’re
> using. (UTF-8 is
Solved using custom filterspecs as said in:
http://djangosnippets.org/snippets/2261/
On 06/05/2012 07:27 PM, kooliah wrote:
Here me again :-)
I know that with django 1.4 there are custom filters, but i have to
use 1.3 so
I have a model with a foreign key to another
class mdl1(models.M
Hello,
You can change the name of the files generated by sorl and be sure that the
name that you are giving to the image is unique, and if not, make a new
name,
you can find information about that locking the code:
https://github.com/sorl/sorl-thumbnail/blob/master/sorl/thumbnail/base.py#L32
and
Hello everyone,
I am using Django 1.3 on Python 2.7 and I have a field in a model setup
like this:
date = models.DateTimeField(auto_now=True, auto_now_add=True)
now I would like to know how to get the last modified date from this field if
my model
is called 'm':
m.date.last_modified ???
I have a function that creates a form, loading the info that already exists
in the DB, but I want it to fill the form with the info loaded. I found an
article on djangoproject teaching how to do this, but it won't work with me.
At novo = disciplinaForm(request.POST, instance=atual), if I remove t
and with "request.POST" it don't load the info.
Anyone, knows what to do?
Thanks,
2012/6/5 Lucas Aride Moulin
> I have a function that creates a form, loading the info that already
> exists in the DB, but I want it to fill the form with the info loaded. I
> found an article on djangoproject
Hi Lucas,
Try moving the first novo=... Right after if request.method
Then dedent the else and the line following it (the second novo)
Then remove request.POST from the second novo
Explanation:
If the request method is not POST this will instanciate an unbound form that
loads the data from the
Hi Hendrik,
I did what you said but I got an error because the variable "novo" is
referenced before it's assignment.
My html of this view is:
{% csrf_token %}
{{ novo.as_p }}
2012/6/5 Hendrik Speidel
> Hi Lucas,
>
> Try moving the first novo=... Right after if request.method
>
> Then deden
I'm sorry, the error was caused because I forgot to dedent the "else". But
it still not showing the current information on the form. (it's working
fine)
2012/6/5 Lucas Aride Moulin
> Hi Hendrik,
>
> I did what you said but I got an error because the variable "novo" is
> referenced before it's as
Sorry about the flood but I made it. I removed the "request.POST" of the
"else", and it worked.
Thank you Hendrik.
Problem solved
2012/6/5 Lucas Aride Moulin
> I'm sorry, the error was caused because I forgot to dedent the "else". But
> it still not showing the current information on the form. (i
Hi all
The RDN seeks a PROGRAMMER/SYSTEMS ENGINEER for 12 months to be based in
our Head Office in Newcastle’s CBD. This position will provide essential
programming services to the Information Management team utilising
high-level development languages and libraries such as SQL, HTML,
Django,
Thank you for your mail benoit.
No ,it abstraction layer made in perl, i wanna access that data for my
front-end part.
On Tue, Jun 5, 2012 at 4:50 PM, Benoit Perdu wrote:
> Is there a database (SQLite, MySQL, PostGreSQL, ...) at your backend, or
> is it an abstraction layer made in Perl?
>
> If
I have problem regarding the graphs in django. which libraries are
required to plot graph in django framework.
--
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 fro
On Tue, 2012-06-05 at 21:51 -0700, Satvir Kaur wrote:
> I have problem regarding the graphs in django. which libraries are
> required to plot graph in django framework.
any library that you ordinarily use in your html pages will work.
--
regards
Kenneth Gonsalves
--
You received this message b
On Wed, Jun 6, 2012 at 10:47 AM, kenneth gonsalves
wrote:
> any library that you ordinarily use in your html pages will work.
What are the major uses of numpy and matplotlib libraries in django.
--
Satvir Kaur
satveerkaur.blogspot.in
--
You received this message because you are subscribed to
31 matches
Mail list logo