Hello everybody,
I'm new to django, and writing my first app, I have a question before
deploying it.
I need to have a function that would create or modify, according to a few
rules and a precise instance of a model (Song), many instances of another
model (Words) at once.
Writing that function
On Tue, May 20, 2014 at 8:39 PM, Chansons wrote:
> Hello everybody,
>
> I'm new to django, and writing my first app, I have a question before
> deploying it.
>
> I need to have a function that would create or modify, according to a few
> rules and a precise instance of a model (Song), many instan
Hi Russell,
Very interesting, now everything makes sense.
And thank you for the suggested solution, we tried it today and it works
now, no more random import hell.
Looking forward to Django 1.7.
Best
Joris
op 19-05-14 06:00, Russell Keith-Magee schreef:
Hi Joris,
It's an edge case, but
I am working on a BookMarker project for managing my bookmarks. I was
creating the search page for lisitng bookmarks as per categories. I hit a
snag while testing it. I am unable to open locally stored webpages. I
understand that it is for security purposes but is it possible
(cross-browser way
On Tue, 2014-05-20 at 11:29 -0700, Aseem Bansal wrote:
> I am working on a BookMarker project for managing my bookmarks. I was
> creating the search page for lisitng bookmarks as per categories. I
> hit a snag while testing it. I am unable to open locally stored
> webpages. I understand that it is
Hi,
I developed quite a bit in Django already, but only now I am the first
time responsible for putting something into real production use.
So I work through the deployment checklist, and it says the secret key
must be kept super secret. One example shows how to set it as
environment variable.
T
Hello,
thanks for your answer, I knew about fixtures, but I'm not sure it's really
adapted to what I need.
Adding or modifying those instances of a model will depend on a precise
instance of another model: when I create a song, I also want to find in the
existing glossary / or add the words of
Hello,
Try managers: https://docs.djangoproject.com/en/1.6/topics/db/managers/
Ilya Kazakevich,
JetBrains PyCharm (Best Python/Django IDE)
http://www.jetbrains.com/pycharm/
"Develop with pleasure!"
>-Original Message-
>From: django-users@googlegroups.com
>[mailto:django-users@googlegro
Hello Henning,
On 20 May 2014, at 20:40, Henning Sprang wrote:
> The question is, what happens when I lose it - when it's used for
> password hash salt, doesn't that mean if it's lost, all users have to
> reset their password, don't they?
If it were used for that, that would indeed be the scenar
On 2014-05-20 21:34, Erik Romijn wrote:
> > The question is, what happens when I lose it - when it's used for
> > password hash salt, doesn't that mean if it's lost, all users
> > have to reset their password, don't they?
>
> If it were used for that, that would indeed be the scenario.
> Fortuna
Den 20/05/2014 kl. 20.40 skrev Henning Sprang :
> Also, if it should be kept secret, I guess it's safe to assume that
> using an online generator like
> https://djskgen.herokuapp.com/ is not the smartest idea one can come
> up with, right?
You can use any random string, but you could also install
http://www.indeed.com/job/software-engineer-web-developer-python-django-f1adb67543d9e0f9
*Software Engineer / Web Developer (Python, Django)*
Phase 5 Group - Fairfax, VA
Internet Software Engineer / Web Developer / Full Stack Engineer / Software
Developer
We are looking for a great coder who h
Hi,
Has anyone tried to use django-organizations? I am new to Django and
trying to use that egg but just having issues as soon as I install it.
After configuring it in my app I am getting the following error
Exception Type: ImportError Exception Value:
cannot import name registration_backen
The installation instructions for Windows is based on Python 3.4 But The
MySQL connectors for Python are only for 2.7, 3.2 and 3.3
What is the solution the problem?
Varuna
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from thi
Hi there.
I hope to know the solution for the following:
say, there are several links to one function but I would like to identify
which link that come from.
url.py looks
(r'^link1/$', 'project.apps.main.get'),
(r'^link2/$', 'project.apps.main.get'),
(r'^link3/$', 'project.apps.mai
Hi Jun,
Try this:
Put only this line in urls.py
url(r'^link/(?P<*identifier*>\d+)/$', 'project.apps.main.get'),
And in your view, add *identifier* as argument in function:
def get(request, *identifier*):
...
return HttpResponse(u'Identifier %d' % *identifier*)
Note that *identifier*
Hello,
I have the following errors: why append is not done?
AttributeError at /export_excel/
'int' object has no attribute 'append'
Request Method: GET Request URL: http://article/export_excel/ Django
Version: 1.6.2 Exception Type: AttributeError Exception Value:
'int' object has no at
Den 21/05/2014 kl. 05.21 skrev hito koto :
> Hello,
>
> I have the following errors: why append is not done?
>
> row = [[0 for i in range(5)] for i in range(31)]
Here you are creating a list of lists of 0's (a 2-dimensional matrix of ints).
> for a in obj_all.filter().values_list('user
18 matches
Mail list logo