I think you will need to define, or give an example, of what exactly
you mean by "overlaying".
On Mar 8, 12:55 pm, Bhujang Bhagas wrote:
> Hi,
>
> Is there any feature for overlaying templates in django .
>
> Thanks..
--
You received this message because you are subscribed to the Google Groups
Hi,
Here what i can see is you have added a prefix in your pattern,
urlpatterns = patterns(*'myapp.views'*,
url(r'^login/$','django.contrib.auth.views.login'),)
This ideally should be.
urlpatterns = patterns(*''*,
url(r'^login/$','django.contrib.auth.views.login'),)
As the prefix is applied to
I use WingIDE and one license covers all 3 platforms for a developer.
And the guys that make it are incredibly nice and helpful with
features and how to use.
I Highly recommend it. (30 day free trial too)
--
You received this message because you are subscribed to the Google Groups
"Django user
If you mean, does the final page being rendered match the code that I
am trying to change? The answer would have to be "Yes". In other
words, anything else that I modify will be reflected on the rendered
page.
On Mar 8, 2:55 pm, Joel Goldstick wrote:
> On Wed, Mar 7, 2012 at 4:23 PM, backdoc wr
That is a very interesting question.
I presume that you will not be doing this dynamically as a user logs on.
If that is the case, why don't you let django answer the question for you.
Create a database with the several different schemas and follow the
instructions to let django create your mo
I switched to make sure it wasn't the database.
On Thu, Mar 8, 2012 at 5:49 PM, Dennis Lee Bieber wrote:
> On Thu, 8 Mar 2012 13:59:02 -0500, Scott Macri
> declaimed the following in gmane.comp.python.django.user:
>
>
>> The strange thing is if I manually update the fields in the database
>> wit
How am I supposed to configure access to the built in django login and
password forms after changing my urls.py settings?
I've setup the main project urls.py file like so:
url(r'^myapp/',include('myapp.urls')),
I now have a urls.py file under myapp/urls.py setup similar to the following:
urlpatter
On Thu, 2012-03-08 at 12:44 -0800, Stone wrote:
> I have developed some web pages and I have never used Django
> administration?
> Is there any control for controlling access of users?
>
>
https://docs.djangoproject.com/en/dev/ref/contrib/admin/
search for has_change_permission
--
regards
Kenn
I would like to weigh in on this discussion because I started out
developing Django apps fairly platform agnostic in college, meaning
that I worked on the apps on a variety of systems (although not too
much on macs). My big project has been Django-Classcomm (http://
classcomm.googlecode.com/). We
Good night!
I need to create the "DDL" a model in several DB schemas, not only in the
"public". The names of these schemas is "username" user logged.
I'm using PostgreSQL.
My model:
class Empresa(models.Model):
'''
classdocs
'''
cnpj = models.CharField(max_length=14, blank=Fals
Hi,
Wondering if the limitation (that a page must be completely built in memory
before a response is sent) has been rememdied yet.
Last mention I could find seems to be from almost four years ago:
https://groups.google.com/d/topic/django-users/BJVZHuIBmSA/discussion
--
You received this
On Thu, Mar 8, 2012 at 4:44 PM, Sandeep kaur wrote:
> job_no_id = client.job_no
> ...
> Am I wrong somewhere? How should I do this? Please help!!
Yes, that client variable appears magically. Please paste working code,
an abridged version but wor
On Thu, Mar 8, 2012 at 8:45 PM, Suteepat Damrongyingsupab
wrote:
> I'm using the latest Django-1.4c1.
> When I run the command "python manage.py compilemessages", I got the error
> as follows:
> Error: The
> /home/admin/Django-1.4c1/tests/regressiontests/i18n/commands/locale/es_AR/LC_MESSAGES/djan
On Wed, Mar 7, 2012 at 4:23 PM, backdoc wrote:
> I am having trouble changing the way the HTML in my form fields is
> presented. I've been reading the docs (https://docs.djangoproject.com/
> en/dev/ref/forms/api/#outputting-forms-as-html). I've done this in
> previous versions. But, it doesn't
On 03/08/2012 03:44 PM, Stone wrote:
Dear users,
I have developed some web pages and I have never used Django
administration?
Is there any control for controlling access of users?
Do you have any examples?
Thank you
Petr
https://docs.djangoproject.com/en/1.3/topics/auth/#permissions
--
Yo
I'm using the latest Django-1.4c1.
When I run the command "python manage.py compilemessages", I got the error
as follows:
Error: The
/home/admin/Django-1.4c1/tests/regressiontests/i18n/commands/locale/es_AR/LC_MESSAGES/django.po
file has a BOM (Byte Order Mark). Django only supports .po files e
Dear users,
I have developed some web pages and I have never used Django
administration?
Is there any control for controlling access of users?
Do you have any examples?
Thank you
Petr
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
I got no answer from stack exchange. Maybe someone here knows:
Django v1.3
I have a CruiseOffer model related to a model called SpecialInterest.
I now realize that I have the same exact thing going on in my
LandOffer model (elsewhere). So I want to get rid of the
cruise.SpecialInterest and repla
On Wed, Mar 7, 2012 at 5:57 AM, Karen Tracey wrote:
> On Mon, Mar 5, 2012 at 11:25 AM, larry.mart...@gmail.com
> wrote:
>> I'm fairly new to django, still working on my first project.
>>
>> I have a page with some selection fields and a button. The user clicks
>> the button, I run a query, and di
I think the issue is that there is some sort of minimum character
limit for the message field in the send_email and send_mass_email
functions. I was not able to find anything in the docs pertaining to
this, but when I use a string like 'test1' the message never gets
sent. When I use something lik
I am using forms, to make the entries from the user. But when it comes
to using foreign key in a table and then making entries to it, I am
unable to do so.
See my code:
models.py:
class ClientJob(models.Model):
"""
:ClientJob:
ClientJob Class is define all fi
It turns out I was just missing quotes around the () for the custom
formatter.
I just wrote a blog post will a full working example in case anyone else is
interested.
http://shawnmilo.blogspot.com/2012/03/using-json-logging-in-django-and-python.html
--
You received this message because you a
I've created a manage.cmd and put it on my path so I can type less
while on windows
the command is just
@echo off
python manage.py %*
this makes it more like linux
The "@echo off" part is important because mange dumpdata >filename
doesn't want to see the command line echoed into the json file.
OK, I ran the debugger and here is what I came up with:
-> print "CHECK MESSAGE :"
(Pdb) repr(email_message)
"u'test1'"
(Pdb)
It looks like it is unicode text.
The strange thing is if I manually update the fields in the database
with SQL from the PostGres command prompt the email then works. Th
Nope, I guess that only fixed it for a minute.
On Thu, Mar 8, 2012 at 1:21 PM, Scott Macri wrote:
> I'm very new to python and django. Thanks for the tip. I was trying
> to figure out how to set break points.
>
> I figured out what the problem was.
>
> In views.py I was calling the following fu
I'm very new to python and django. Thanks for the tip. I was trying
to figure out how to set break points.
I figured out what the problem was.
In views.py I was calling the following function to save the data in
the database, which was in a different .py file:
HealthData.saveHealthData(HealthD
On Thu, Mar 8, 2012 at 4:58 PM, Scott Macri wrote:
> I've come to the conclusion that send_mail and send_mass_mail cannot
> be used with sqlite due to a but with the message text.
>
> Attempting to pull a string from the sqlite database and putting it
> into the message field on either of the abov
Hi everyone. I'm hoping someone has gotten this working and can point
out whatever tiny thing I'm doing wrong here.
I want to log JSON instead of the default. I found JsonFormatter here:
https://github.com/madzak/python-json-logger
It works great with a small script I created based on the exa
I've come to the conclusion that send_mail and send_mass_mail cannot
be used with sqlite due to a but with the message text.
Attempting to pull a string from the sqlite database and putting it
into the message field on either of the above mentioned functions
causes the message sending to fail with
On Thu, Mar 8, 2012 at 2:58 PM, Paul wrote:
> I have a model with an ImageField and would like to add some image
> processing using PIL. Problem is that i don't know how to do this
> best.
> My approach would be to do it in the view function (indicated below
> with "Processing here?"); some concre
I have a model with an ImageField and would like to add some image
processing using PIL. Problem is that i don't know how to do this
best.
My approach would be to do it in the view function (indicated below
with "Processing here?"); some concrete questions:
- How can i best reuse code to do the sam
On Wed, Mar 7, 2012 at 11:36 AM, Clark wrote:
> After installing Django I am attempting to start a new project. After
> creating a directory for this, I tried using the command: "django-
> admin.py startproject mysite".
>
> but I'm getting the message "-bash: django-admin.py: command not found
>
I have to use Windows at work. I installed Cygwin so that I could use
the *nix diff utilities. It's not a bad approach because you also get
grep, find and many other useful utilities that Windows sucks at. Be
sure to mark that packages you need. I can't remember for certain.
But, I believe that
Hi,
I got my login working. Redirect uri was d problem. I created a redirect
uri stormy-sunset in facebook using django
I followed this link http://djangosnippets.org/snippets/2065/
but the problem is here are my requirements
When i press the login button n enter my username n password , i nee
Well I've been successfully working in Windows with Django and Python
last 3 years without much of troubles. Few libraries that don't play
nice with virtualenvs.
So first things first:
Make sure that you install only 32 bit Python for windows. 64 bit will
work but most of the libraries are on
On Wed, Mar 7, 2012 at 11:03 PM, Mika wrote:
> But I'm just curious about the
> objective advantages of Ubuntu over Windows vis a vis django?
all OpenSource tools and libraries are developed first and foremost to
work on unix-like systems. while most of them do work very well on
windows too, it'
Hi,
Is there any feature for overlaying templates in django .
Thanks..
--
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
django-us
Hi ,
Yes exactly we need vimdiff diff only but using vimdiff we cant store
diff contents so that we asked any other utility
Thanks,
Siva
On Mar 8, 3:35 pm, Tom Evans wrote:
> On Thu, Mar 8, 2012 at 7:22 AM, siva <85s...@gmail.com> wrote:
> > Hi,
>
> > Is there any utility to get file diffe
On Thu, Mar 8, 2012 at 7:22 AM, siva <85s...@gmail.com> wrote:
> Hi,
>
> Is there any utility to get file difference with character diff
>
vim, specifically vimdiff. Plus a raft of others I expect.
Cheers
Tom
--
You received this message because you are subscribed to the Google Groups
"Djang
Yes, that is very much possible:
Either write views to show all data, use HG command spawning with
correct parameters.
Or another option is to use HG Python codes to read repository.
Though output you have to do yourself.
I guess this was what you were looking for?
8.3.2012 9:09, siva kirjo
40 matches
Mail list logo