I resolved this. I was doing wrong and not making git commit when editing
requirements.txt files.
On Saturday, 13 June 2015 10:00:18 UTC+2, Martin Torre Castro wrote:
>
> Hello,
>
> I posted this because I can't deploy a webapp with Heroku. Any ideas?
>
>
> http://s
Hello,
I'm developing a webapp with Django 1.7 (project_name is "sonata") and the
project layout from the "Two scoops of Django 1.6", so I have a 3-tier
basic folder tree.
.├── requirements└── sonata
├── person
│ └── templatetags
├── registration
├── sonata
│ └── setting
Hello,
my name is Martin and I'm a computer engineer from Spain. I'm going to
start a new project with a colleague and I decided to use Django because we
searched for free opensource tools and I'm in love with Python.
We have made a couple of tutorials (the official one and &quo
I suppose you can always switch to the raw SQL queries instead of using
Django's ORM.
You have to type more, but it will be more efficient if you know how to
code SQL for your DB.
On Thursday, 19 June 2014 23:49:52 UTC+2, G Z wrote:
>
> I have a multi-level database that uses concatenated fore
Hello,
my name is Martin and I'm a computer engineer from Spain. I'm going to
start a new project with a colleague and I decided to use Django because we
searched for free opensource tools and I'm in love with Python.
We have made a couple of tutorials (the official one and &quo
ter that starting to program from the terminal. I
need to know this for adapting Eclipse to activating the virtualenv every
times it opens if virtualenv works as expected.
Thanks
On Sunday, 20 July 2014 04:29:53 UTC+2, Thomas wrote:
>
> On 7/19/14 6:41 PM, Martin Torre Castro wrote:
>
n future.
On Sunday, 20 July 2014 03:41:11 UTC+2, Martin Torre Castro wrote:
>
> Hello,
>
> my name is Martin and I'm a computer engineer from Spain. I'm going to
> start a new project with a colleague and I decided to use Django because we
> searched for free opensourc
e same
> thing through Eclipse's interface. The worst that can happen is that your
> test server doesn't work.
>
>
>
>
> On Sat, Jul 19, 2014 at 3:09 PM, Martin Torre Castro > wrote:
>
>> Hello,
>>
>> my name is Martin and I'm a compu
rface. The worst that can happen is that your
> test server doesn't work.
>
>
>
>
> On Sat, Jul 19, 2014 at 3:09 PM, Martin Torre Castro > wrote:
>
>> Hello,
>>
>> my name is Martin and I'm a computer engineer from Spain. I'm going to
Migrations in 1.7 is the replacement for south.
> On Sep 2, 2014, at 1:44 PM, Norman Bird wrote:
>
> OK, I found out that in order to change the schema of the tables one has to
> install and run a migration tool. I used south. just install south and check
> out their website for basic use and
Maybe Migrations is just really buggy? I am using PostgreSQL as the backend. I
added a column with a default value and then did makemigrations then migrate.
It doesn't work. I get a very long error.
> On Sep 7, 2014, at 8:54 AM, Malik Rumi wrote:
>
> Django 1.7rc2 here. Same question, same hop
Is anyone else trying out 1.7? I do a jython manage.py runserver 8080 and then
it seems to want to render but isn't.
> On Sep 8, 2014, at 1:30 PM, Andrey Consalter wrote:
>
> Hi there,
>
> I've been studying programming with Python 2.7 and Django 1.6, and a few days
> ago Django 1.7 was rele
Has anyone had issues with the server in 1.7 running dog slow or not at all? I
was using a beta version of 1.7 and the server ran on top of jython with no
issue. The only thing that was failing was migrations. Now I do a jython
manage.py runserver 8080 and the browser seems to not want to rende
It seems like when I take all the CSS and JS the html renders with images. But
this site rendered with a previous version. I pretty much ruined this dev
project today trying to figure it out. I don't know why this worked on the
older version but not this version.
> On Sep 11, 2014, at 9:38 AM,
rving up your static
> files, which is a possibility.
>
> -James
>
>
>
>> On Friday, September 12, 2014, Michael Martin
>> wrote:
>> After trying so many things regarding the settings in Django I found that
>> the issue isn't with the official 1.7 stab
Hello,
I want to make a hierarchy over a DB design as described in "Fundamentals
of database systems" from Elmasri & Navathe.
This implies that when I have some info which is shared for many
classes/tables, I can put it in a main parent table and use the main table
id as foreign key in the ch
Hello,
at my project we need some sort of system for allowing/denying some access
to an URL.
The example, we want to make some kind of wizard.
1. The user inputs the first object at the the first screen (A screen),
and then he press "Continue".
2. Now we get the data and redirect to
it https://groups.google.com/d/optout.
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/20141122212847.GA26476%40fishbowl.rw.madduck.net.
For more options, visit https://groups.google.com/d/optout.
digital_signature_gpg.asc
Description: Digital signature (see
sit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/20141124054512.GA14198%40fishbowl.rw.madduck.net.
For more options, visit https://groups.google.com/d/optout.
digital_signature_gpg.asc
Descrip
roups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/20141124090640.GA30500%40albatross.lehel.madduck.net.
For more o
web visit
https://groups.google.com/d/msgid/django-users/20141124104910.GA11742%40albatross.lehel.madduck.net.
For more options, visit https://groups.google.com/d/optout.
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
g emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-user
net.
For more options, visit https://groups.google.com/d/optout.
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
Hello,
I'm developing a web application with Django and we have met a dilemma
about the design.
We were making one template for every screen, but right now we have
detected that some parts of of the screen with the information are repeated
all over the different screens. For example, when comi
I'm making a Django project consisting of several apps and I want to use a
version number for the whole project, which would be useful for tracking
the status of the project between each time it comes to production.
I've read and googled and I've found how to put a version number for each
dj
Hi, I would like to know if there is a way to detect if a session in no
longer active, I'll explain better. I have a setup in my web app where when
a user logs in automatically his
session is set to expire at browser close:
request.session.set_expiry(0)
But despite this work effectively, the s
I would like to know if there is a way to detect if a session is no longer
active. I have a Django web app that when a user logs in, his session is
set to expire at browser close request.session.set_expiry(0) this will
close the session at browser close efectively but his expire time gets a
de
s las two books "2 scoops...".
>
> I will look about this links along today (kind of holidays here) and
> answer soon.
>
> Thanks
> El 5/7/2015 3:44 a. m., "Malik Rumi" >
> escribió:
>
>> Hi Martin,
>>
>> First let me say unapologeti
Hello,
I have a django project where I make requests to the server views both by
AJAX and the usual simple URL requests to Django.
The thing is that I have made one javascript function for storing the forms
contents in the HTML5 webstorage and I want to clear the stored data after
coming from
Search in Google "tangowithdjango" and "gettingstartedwithdjango".
The first one maybe is best fr beginners
On Thursday, 10 September 2015 17:41:07 UTC+2, Arindam sarkar wrote:
>
> The django tutorial itselt
> https://docs.djangoproject.com/en/1.8/intro/tutorial01/
> On Thu, Sep 10, 2015 at 8:0
If you use jQuery (I do), making AJAX requests is incredibly easy. Just use
the $.get(), $.post() or $.ajax() functions.
If you have any doubt, the api.jquery.com page has all the references and
information for using them (search for jQuery.get(), jQuery.post() and
jQuery.ajax() ).
On Monday,
If there's a file in the form data, I'm no expert but I have fought a
little with forms and files and I advise you to look in the internet for
multipart forms and file inputs inside forms.
On Tuesday, 25 August 2015 21:12:46 UTC+2, Hugo Kitano wrote:
>
> I've realized that the action field in th
Hello,
I was investigating about form wizards in Django, but I have seen that
recently this has changed in the deprecation timeline doc:
"The form wizard has been refactored to use class-based views with
pluggable backends in 1.4. The previous implementation will be removed."
I understand that
ns, visit https://groups.google.com/d/optout.
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
I'm trying to use the formwizard in formtools package with no success (I
was able to do it when the package was inside Django in earlier versions).
The only response I got is:
[23/Jan/2016 11:06:50]"GET /registration/wizard HTTP/1.1" 200 13729
and a blank page. No errors in browser or Ecli
I'm interested
Regards
Carlos Romero Martin
Le lundi 30 novembre 2020, 5 h 16 min 24 s CET Nagaraju Singothu a écrit :
> I'm interested
>
> On Mon 30 Nov, 2020, 8:56 AM ,
Hello Peter,
I’m interested to join team.
Carlos Romero Martin
Le vendredi 18 décembre 2020, 17 h 49 min 30 s CET Sujayeendra G a écrit :
> Hello Peter,
> I’m interested to join team.
--
--
You re
nterfaces for rating products and vendors.
>>>> · Design and develop forms for users to submit ratings and reviews.
>>>> · Implement the logic to display ratings and reviews of products and
>>>> vendors on their respective pages.
>>>>
>>>> Messaging:
>>&
Hey
I'm new to serving Django website on a shared server as well as using
fastcgi and .htaccess so this might be a basic question. Namely I'm having
difficulties serving static content. I've tried playing with htaccess
rules, but no luck yet. My project structure:
myproject/
├── myapp
│ ├──
It works by moving static directory but was wondering about a more
intelligent solution, that is, if it exists with fastcgi.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
On Wed, Jan 21, 2009 at 2:35 AM, Keyton Weissinger wrote:
>
> Oh and just to re-state, this exact same code works like a champ on
> import of School or Parent data (neither of which have a ManyToMany
> field).
>
> Keyton
I can't reproduce this exception. Try to print import_object_dict just
befo
Again, i can't reproduce your problem.
It's working using SVN HEAD with your model and this view:
http://dpaste.com/111590/. Could you try to use that dict and
Student(**mydict) instead of
"model_import_info.model_for_import.objects.create" ?
Regards,
M
On Wed, Jan 21, 2009 at 3:06 PM, Keyton W
On Fri, Jan 23, 2009 at 8:37 AM, joti chand wrote:
> File "C:\Python25\Lib\site-packages\django\core\urlresolvers.py",
> line 205, in _get_url_patterns
>patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
>
> File "C:\Python25\Lib\site-packages\django\core\urlresolve
On 1/26/09, Mark Jones wrote:
> class Fails(models.Model):
> code = models.CharField(max_length=64)
> quizid = models.IntegerField(null=False, blank=False)
> published_on = models.DateTimeField(auto_now_add=True)
>
> def __init__(self, *args, **kwargs):
> super(Fails, sel
On Fri, Jan 30, 2009 at 5:36 PM, Guy Rutenberg wrote:
> I've started using Django recently and when I've used the auth module
> I noticed that it only verifies a plain text password. I'm not
> comfortable with this behaviour as it means that passwords have to be
> sent by login forms in plain tex
On Mon, Feb 2, 2009 at 10:11 PM, Markus T. wrote:
>
> Hi,
>
> I have two simple models:
>
> class Country(models.Model):
> name = models.CharField(_("Name"), max_length=50,
> unique=True)
>
> class Profile(models.Model):
> name = models.CharField(_("Name"), max_length=50,
> un
On Mon, Feb 2, 2009 at 11:59 PM, Martin Conte Mac Donell
wrote:
> If you need country_id/country_name:
>
>>>> Profile.objects.values('country__id',
>>>> 'country__name').select_related('country').distinct()
> [{'country__n
On Mon, Feb 2, 2009 at 11:35 PM, vierda wrote:
>
> Hi all, I have three forms and none of these forms pass is_valid()
> test when I test in intrepeter. kindly help for point out what's
> problem with my forms. thank you.
>
> from django.contrib.auth.models import User
> from django.contrib.auth.f
On Tue, Feb 3, 2009 at 12:21 AM, garagefan wrote:
>
> Trying to test a manytomany field in a model that will be user names.
> Building that is simple enough in the model, and so is selecting the
> users in the admin.
>
> the problem is filtering a query to test the current logged in user
> with t
On Mon, Feb 2, 2009 at 7:21 PM, wotaskd wrote:
>
> Hello everyone, a quick (and I guess easy) one:
>
> Is there any way, on the admin site, to make a field for a model
> mandatory, if another one is blank and vice-versa?
Yeap, you need to write your own form class, subclass clean() method
do you
On Thu, Feb 5, 2009 at 7:07 PM, cjl wrote:
> Honestly, I'm leaning towards option number 5. I'm just wondering what
> other Django folks are using.
I'm using MacPorts. It's the practical way. (x11? really?. Which
version are you trying?)
I'm using those ports:
# port installed | grep py
py25
You can do that with a very simple template tag
register = template.Library()
@register.simple_tag
def get_element(list, index):
# You should catch IndexError here.
return list[index]
Template side:
{% get_element secondprice forloop.counter0 %}
Regards,
Martin Conte Mac Donell
Which version of django are you using? What do you see on lighttpd logs? Is
port 3303 open with fcgi process?
Regards,
Martin Conte Mac Donell
On Dec 17, 2007 4:23 PM, Chris Moffitt <[EMAIL PROTECTED]> wrote:
> Take a look in the lighttpd server logs to see if there are any errors
>
What about
$
{% filter floatformat:2 %}
{% get_element secondprice forloop.counter0 %}
{% endfilter %}
Regards,
--
Martín Conte Mac Donell
On Dec 17, 2007 6:53 PM, Greg <[EMAIL PROTECTED]> wrote:
>
> Martin,
> Yep...that worked. Thanks!
>
> However,
altered models.py in
another app and the result is the same. Do you have any advice how to
narrow this down?
Best regards
Martin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fro
The migrations do not show up in the django_mirations table. The problem
must occur earlier.
On Saturday, April 1, 2023 at 8:42:20 AM UTC+2 David Nugent wrote:
> I would check in the django_migrations table to ensure that the migration
> has successfully been run.
>
>
>
:00 PM UTC+2 Jason wrote:
> part of getting effective help is sharing how you're doing things and the
> code. for example, sharing the migration generated would be helpful. you
> do have the context of how and what is being executed, we don't, so sharing
> that with yo
Dear Muhammad
Thanks, but I did that several times. And I also check the INSTALLED_APPS.
It is listed there, as it was before. :/
Best regards
Martin
On Saturday, April 1, 2023 at 2:48:05 PM UTC+2 Muhammad Juwaini Abdul
Rahman wrote:
> Try running:
> ```
> ./manage.py makem
eld w_bezahlt on waeschepaket
--
And for whatever reason it includes only the table creation and not the
change in the other field.
On Saturday, April 1, 2023 at 7:46:51 PM UTC+2 Martin Heitmann wrote:
> Dear Jason
>
> I went two migration steps back, then again I did makemigrations and then
A little PS: I logged in via phpmyadmin and saw that my user has all
privileges. So this should not be the source of the problem.
On Saturday, April 1, 2023 at 8:07:57 PM UTC+2 Martin Heitmann wrote:
> I have a little update, but not a solution. Adding the database to
> sqlmigrate will g
The docs
> at https://docs.djangoproject.com/en/4.1/topics/db/multi-db/#allow_migrate
> state
>
>
> *makemigrations always creates migrations for model changes, but if
> allow_migrate() returns False, any migration operations for the model_name
> will be silently sk
ch db app name"), or raise
Exception("db does not match app name"))? Does this belong in the router.py
or migration file or another place?
Best regards
Martin
On Wednesday, April 5, 2023 at 9:40:27 PM UTC+2 Jason wrote:
> ahhh, no not at all. One db per project, yes. Application
> you said you have a router.py file in your project? put it in there.
>
> On Thursday, April 6, 2023 at 10:50:15 AM UTC-4 Martin Heitmann wrote:
>
>> Dear Jason
>>
>> db per project/app: Okay, I will keep that in mind for the future. I just
>> thought that i
So,
I put this at the start of my router.py:
import logging
logger = logging.getLogger(__name__)
I have never used that, but I hope it is right.
Then below at the app's router and the allow_migrate def I did this:
def allow_migrate(self, db, app_label, model_name=None, **hints):
if ap
501 - 565 of 565 matches
Mail list logo