Hello Guys,
I'm working on the an existing project with django,
but i need to change some behavior of this project for personal use.
but the problem is if i change some part of code of the project after it
will be complicate to apply the next update with git
that why i'm trying to find a way f
I've inherited an app that was written for Django 1.4, and updated it to
Django 1.7.
I've noticed lots of forks of Piston on the web.
Are any being actively used/fixed/supported? Which one should I try?
Is anyone who has a fork that they are keeping up to date on this mailing
list?
Finally -
We have a few e-copies of *Web Development with Django Cookbook* (
https://www.packtpub.com/web-development/web-development-django-cookbook
) available for review.
If interested, just drop a line in the comments below with following
required details:
1. Email address
2. Choice of website
On Wednesday, 29 October 2014 17:53:40 UTC, not...@gmail.com wrote:
>
> Hi !
>
> Just tested the following:
>
>- create clean DB
>- run syncdb
>- compare obtained tables when using Django 1.6.8 and Django 1.7.1
>
> My findings :
>
> In Django 1.7, some fields with models.ForeignKey no l
Hi !
I have identified very reproducible steps (cf attached file).
It fails with a single app with a single model with single field which is a
foreign key to ContentType.
Testable instantly with tox :
- install django and tox in your prefered env
- run steps.sh wichi will create all files
Thanks Daniel, that was it (instead of removing the migrations folder, I
now use makemigrations).
I expected everything to work without the need of migrations.
So I guess that with django 1.7, it is simply mandatory to use migrations.
It is indeed stated
in
https://docs.djangoproject.com/en/1.
Hello,
Ouch. Segmentation faults are never a good sign.
How do you know that it's librets that's not working?
You may want to open an issue at librets or ask on the mod-wsgi list.
Collin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To un
Hi Tobias,
Based on your database query, it looks like you are not doing multiple
table inheritance, but your models are set up for multiple table
inheritance.
https://docs.djangoproject.com/en/dev/topics/db/models/#model-inheritance
Why not just have a status field on your Campaign model? Djan
Hello,
I _think_ your code looks right to me, though the query / or_query code is
confusing. Print statements could be helpful there to be sure it's actually
filtering something.
Does this code work?
def searchcandidate(request):
query_string = request.GET.get('q', '').strip()
found_en
On Wed, Oct 29, 2014 at 1:44 PM, Bohdan Anderson
wrote:
> I can run in the testing server fine (python manage.py runserver
> 0.0.0.0:8000) but once I deploy to the server I'm not even getting the
> django error page in response to it's failure.
> I looked into the apache log files and all I get is
this is why VCS were created for.
if the project is already under git, just clone and don't push
On Thu, Oct 30, 2014 at 6:09 AM, Julien Romagnoli <
julien.romagn...@gmail.com> wrote:
> Hello Guys,
>
> I'm working on the an existing project with django,
> but i need to change some behavior of thi
Hi,
On the server side of my Django website I use pycurl (version 7.20.x) to
connect to authorize.net (to send credit card info). On Nov 4
Authorize.net will turn off SSLv3. So I'm wondering if my use pycurl
will continue to work. To be honest I haven't thought about it much
since the pycu
On Wednesday, October 29, 2014 12:26:01 PM UTC-5, Chris Hawkes wrote:
>
> All this being said, there is definitely a trend towards SPA's.
>
>
Does anybody else besides me hate the SPA trend? I much prefer apps that
are separated into logical components where each component has its own URL,
rat
> Den 30/10/2014 kl. 15.50 skrev john :
>
> On the server side of my Django website I use pycurl (version 7.20.x) to
> connect to authorize.net (to send credit card info). On Nov 4 Authorize.net
> will turn off SSLv3. So I'm wondering if my use pycurl will continue to
> work. To be honest I
Hi,
I am trying to use the url tag on some parameters, one of which needs to
come from a function.
For example as follows:
{% with state_url=encode_url flow.state.description %}
advance
encode_url is defined as follows:
@register.simple_tag
def encode_url(link_text):
return link_text.replace(
On Thu, Oct 30, 2014 at 2:54 PM, bobhaugen wrote:
> On Wednesday, October 29, 2014 12:26:01 PM UTC-5, Chris Hawkes wrote:
>>
>> All this being said, there is definitely a trend towards SPA's.
>>
>
> Does anybody else besides me hate the SPA trend? I much prefer apps that
> are separated into logi
On 10/30/2014 06:09 AM, nots...@gmail.com wrote:
> Thanks Daniel, that was it (instead of removing the migrations folder, I
> now use makemigrations).
>
> I expected everything to work without the need of migrations.
> So I guess that with django 1.7, it is simply mandatory to use migrations.
>
>
Hello,
I'm working on a development branch for a django (1.7) project. I have a
couple of migrations, including a data migration, in this branch; and I
already applied the migrations. After that, I took a dump of the production
database (which didn't have those migrations, of course) and restored
Hey Hector,
There is a database table called "django_migrations" that is used to keep track
of the applied migrations. I guess it's not documented, because touching it
shouldn't ever be necessary.
It would be interesting to see how you ended up in a state that Django thinks
all migrations have
a ha!
I see the table on the restored database. I always though that running the
dump.sql would build an exact copy of the original database, but now I'm
thinking it just drops and rebuilds the existing original tables. I will
manually drop my dev database and then restore the dump again... and se
Thank you ..it helped !
On Saturday, 21 June 2014 12:19:09 UTC+5:30, Timmy Blumberg wrote:
>
> This is a much needed solution to a problem that has been plaguing my
> development cycle for weeks. Many "thankyous", stranger.
>
> On Thursday, March 27, 2014 7:06:00 AM UTC-7, Dylan F. wrote:
>>
>> T
Hi all,
I think it is a simple question but I don't know how I can get the specific
form associated to a model from a modelformset inside a template.
In other words I am extending a ListView and I pass a modelformset through
the context.
So in the template:
{% for object in object_list %}
{{
Hi,
On Thu, Oct 30, 2014 at 5:34 PM, wrote:
> I've inherited an app that was written for Django 1.4, and updated it to
> Django 1.7.
>
> I've noticed lots of forks of Piston on the web.
>
> Are any being actively used/fixed/supported? Which one should I try?
>
> Is anyone who has a fork that th
Hi,
I am using the translation functionality in Django 1.7 successfully for
plain strings in a template, so something simple like
{% trans "Edit Client" %}
works just fine.
I am now trying to translate success_message from views with the
SuccessMessageMixin and also error messages that bub
On Oct 30, 2014 8:45 PM, "Marcela Campo" wrote:
>
> Hi,
> I am using the translation functionality in Django 1.7 successfully for
plain strings in a template, so something simple like
>
> {% trans "Edit Client" %}
>
> works just fine.
>
>
> I am now trying to translate success_message from views
25 matches
Mail list logo