On Sun, Oct 16, 2016 at 7:37 PM, Diego De La Vega
wrote:
> Hi. This is my first question in this group.
>
> My problem is that I have to program a survey application and I would like
> to have a hint about forms.
>
> The survey is +200 questions long and is divided in
> On Oct 17, 2016, at 4:37 AM, Diego De La Vega wrote:
>
> The main problem is how to do for showing the relevant fields and not the
> unwanted.
Use TypeForm and call it a day :D
https://www.typeform.com/help/what-is-logic-jump/
--
You received this message because
I think you understood every word I wrote and every problem I had to face.
I will see what ed-questionnaire has to offer, but I think that I must code
very much.
Now I'm doing the survey with the Delphi-like Lazarus IDE (because I know
Pascal very well) and it's easy to follow the control of
Hi,
I'm not sure if this is the correct approach or not.. But i'm finding the
trigger event in the DateTimeShortcut.js is not triggering changes when you
click on a date. I've done something similar to the following:
*admin.py*
class CustomAdmin(admin.ModelAdmin):
...
class Media:
I'm not compiling libpq5, I'm just copying it to venv/lib so psycopg2 could
work without dev postgres packages. And yes, it doesn't matter if I use
virtualenv or not, this is just a workaround for this specific problem.
This is going a bit off topic though =/
> On 19 Oct 2016, at 17:36,
Sorry, you say you need to set LD_LIBRARY_PATH because of libpq5 (I guess you
are compiling it yourself). So far so good. But what does this have to do with
virtualenv? You need to set LD_LIBRARY_PATH irrespective of whether you use
virtualenv or not. Have I misunderstood something?
On Wed,
Hello,
Having trouble with something on which the documentation seems clear to
me. I'd greatly appreciate any help.
I wanted to add a field to a model showing when a user signed on. I
thought this is right.
signup_datetime = models.DateTimeField(auto_now_add=True)
But python3
In fact I do have to use LD_LIBRARY_PATH. Mostly because of libpq5.
And again, I have no control over production server, I don't even know in which
directory my virtualenv will land.
> On 19 Oct 2016, at 16:02, Avraham Serour wrote:
>
> using a virtualenv is common and
using a virtualenv is common and suggested, but don't need to mess with
LD_LIBRARY_PATH
you can create the virtualenv in your home directory or the application
directory and run the python executable from the virtualenv, no need to
touch LD_LIBRARY_PATH
On Wed, Oct 19, 2016 at 3:41 PM, GMail
Thanks for replies!
I'm aware of Docker solution, but it's not quite what I'm looking for.
I don't have any control of a production server, I don't have sudo and I can't
install any packages. It also concerns Docker, since it could be not installed.
And yes, OS is always Ubuntu Linux in my case,
Well problem with Django is that there is not really support for
"dynamic models".
Django expects that _before_ calling ready() all models are registered
and ready for use.
Also note that ready() maybe called multiple times. You should take into
account that for example when running unit
Hello.
I have working model factory of dynamic models in my app.models.py. I need
to know where i should call it in my code. Right now i call it in
MyAppConfig ready() method and think it is not right way. But this is
working.
Where i should place dynamic models factory call?
--
You received
Hi,
Like someone else already pointed out, Docker containers are quite
powerful feature to do deterministic deployments to unix-like machines.
Only pre-requirement is to have Docker running on target machine but
otherwise you're free to build your containers as you wish. This also
Yes, it is actually correct, but I'd just like to force uuid generation at
database level (postgres supports it) and not via python/django
I can modify the table with raw sql after migration and disable
default=uuid.uuid4
inside django models, but I'm looking for a better way to accomplish it
> I do have some limitations, one of which is I don't know what packages are
> installed on production server (for example, postgres dev libraries or
> specific version of python).
>
Hi,
What do you know about the production server? Do you know the operating system?
Can you become a superuser? If
15 matches
Mail list logo