pip is a python program, it will install python packages in to the
site installation directory of the python it is run with.
Therefore, if it is not installing packages where you want, make sure
you are running pip with the python that you want to use the package
with.
It's actually what
I don't think I'm making a rookie mistake, I've looked over my code several
times.
I've got two pretty simple django models that are just failing to sync to
the db
during the syncdb there are no errors, even with --verbosity 3
When I try to make a relation to them I get an error saying the models
Hi.
When using multiple admin sites, it's necessary to give them (except the
default one) a name to be able to reverse URL names correctly. The default
admin site's name is 'admin'.
https://docs.djangoproject.com/en/1.5/ref/contrib/admin/#multiple-admin-sites-in-the-same-urlconf
Is it possible
Hi Maurice, its very hard understood this but i give a try.
if your are working in finance-world you will need update de balance, so it
implies fields 'depends' from others transactions, you named
deposits/withdraws.
You can use aggregations[1] or update field 'manually'.
Regards,
[1] https://d
On Monday, 7 October 2013 18:07:49 UTC+1, MAurice wrote:
> needed to no how to have a uniform account_balance figure(after
> withdraw or deposit)
>
> On 10/7/13, Maurice J Elagu > wrote:
> > The signals are doin the notifications but not updating
>
>
Please learn how to ask a question properly
It would be wonderful if this could be done. My question is: can it be
done?
The most populous nation in Africa (and therefore, we must presume, the one
with the most Python programmers) is Nigeria. Getting an entrance visa
here -- even a tourist visa -- is a challenging thing. It's not requ
needed to no how to have a uniform account_balance figure(after
withdraw or deposit)
On 10/7/13, Maurice J Elagu wrote:
> The signals are doin the notifications but not updating
>
>
> On 10/3/13, C. Kirby wrote:
>> Use signals:
>> https://docs.djangoproject.com/en/dev/topics/signals/
>>
>> post
The signals are doin the notifications but not updating
On 10/3/13, C. Kirby wrote:
> Use signals:
> https://docs.djangoproject.com/en/dev/topics/signals/
>
> post_save check the amount deposited or withdrawn and update the balance
>
> On Thursday, October 3, 2013 9:42:48 AM UTC-5, MAurice wrot
If you mean that the User model doesnt have fields you may want, like
telephone or address i.e., the best and easiest way is to use add a
UserProfile model with a foreignkey to the User model. Django-profiles is
one and it's meant for use with django-registration>
https://bitbucket.org/uberno
Hi,
I am using a ModelForm with a ModelMultipleChoiceField. I would like
for this field to silently ignore invalid choices instead of creating
a form error. Here is my use case:
* User A opens form select model choice 1, 2, and 3
* User B (different browser) deletes model choice 3 entirely from s
pip is a python program, it will install python packages in to the
site installation directory of the python it is run with.
Therefore, if it is not installing packages where you want, make sure
you are running pip with the python that you want to use the package
with.
Cheers
Tom
On Mon, Oct 7,
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:
Hi,
One option would be to set your pythonbrew install in your path. Or Execute pip
using the absolute path to your python install. Either way you will still need
to set your path.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscr
Hi,
I installed django through pip :
__
Downloading/unpacking Django==1.5.4
Downloading Django-1.5.4.tar.gz (8.1Mb): 8.1Mb downloaded
Running setup.py egg_info for package Django
warning: no previously-included files matching '__pycache__' foun
Hello,
I am a bit confused on the best way to handle this problem:
My web site needs read-only static web pages (typically the About part of a
web site) with 2 simple constraints:
- they need to be translated
- they need to have flexible layout: to incorporate base headers/footers,
floating
Thanks Kelvin, I will have a look at this. It seems interesting.
Kelvin Wong writes:
> Consider using model factories (you can roll your own) or FactoryBoy
>
> https://factoryboy.readthedocs.org/en/latest/
>
> K
>
>
> On Friday, October 4, 2013 9:17:51 AM UTC-7, Tianyi Wang wrote:
>>
>> Yes, it'd
On Monday, October 7, 2013 6:24:54 AM UTC+2, Harjot Mann wrote:
>
> 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-lis
wrong list, sorry :-(
On 10/07/2013 11:23 AM, Roberto López López wrote:
> Hi,
>
> The users of my project prefer ckeditor, so I am wondering how to use it
> for cms.plugins.text . I am already making use of django-ckeditor in
> other parts of the application. Can anyone enlighten me please?
>
>
Hi,
The users of my project prefer ckeditor, so I am wondering how to use it
for cms.plugins.text . I am already making use of django-ckeditor in
other parts of the application. Can anyone enlighten me please?
Thanks,
Roberto
--
You received this message because you are subscribed to the Goo
On Sunday, October 6, 2013 8:24:20 PM UTC+2, Daniel Roseman wrote:
>
> Notice that this is the default Apache error message, not one for Django.
> That strongly suggests that people are being redirected away from your
> Django server to another, different one. Perhaps Django is running on a
> no
20 matches
Mail list logo