I am usering django_dajax 0.9.2 and django_dajaxice 0.5.5 for my current
project. This is how I configure it
#settings.py
*MAIN_DIR = os.path.dirname(__file__)
PROJECT_DIR = MAIN_DIR.rsplit(os.sep, 1)[0]
# Example: "/home/media/media.lawrence.com/static/"
STATIC_ROOT = os.path.join(PROJECT_DIR,
On Sun, Jun 30, 2013 at 11:18 PM, Amirouche Boubekki
wrote:
> You can do this by creating an extra field in the model with the name
> without vowels in it and doing a simple filter on it ? Is that what you need
> ?
I have a search function which is already working in views.py but I
want to refine
Hola,
I read the release notes, and tried to install 1.6. I encountered this error:
$ pip install Django==1.6b1
Downloading/unpacking Django==1.6b1
Could not find a version that satisfies the requirement
Django==1.6b1 (from versions: 1.2.6, 1.3.6, 1.2.7, 1.2.3, 1.2.4,
1.4.4, 1.3.3, 1.2.1, 1.3.4
What I normally do is to have a include template that contains only the
content I would like to render.
I example:
{% block page_content %}
{% include 'xhr_page_content.html' %}
{% endblock %}
Using this approach you have isolated the content. Loading the page without
ajax wil
Thanks. It took me a few more steps but I finally achieved it, I had to
change the path for the command prompt to recognize python. Thanks a lot !!
Le dimanche 30 juin 2013 14:16:43 UTC, Othmane Abouelaecha a écrit :
>
> Hi !! I recently learned to program with python 3.2
> I have a difficulty c
On 1/07/2013 8:28am, François Schiettecatte wrote:
Mike
FWIW - I have a site for which I need to do that, I use MySQL so I
just dump the data using mysqldump, transfer it to the other machine
and load it up. There is some scripting around it to keep track of
IDs so I dump deltas only, works just
On 1/07/2013 12:16am, Othmane Abouelaecha wrote:
Hi !! I recently learned to program with python 3.2
I have a difficulty concerning Django
I want to install the latest version 1.6 that supports python 3.2
I only found a way to install in Linux but I'm running Windows 7 !!
You should be able to
Mike
FWIW - I have a site for which I need to do that, I use MySQL so I just dump
the data using mysqldump, transfer it to the other machine and load it up.
There is some scripting around it to keep track of IDs so I dump deltas only,
works just fine.
Best regards
François
On Jun 30, 2013,
mulianto and Avraham
Thanks for your suggestions. Dumping data isn't the entire problem -
which is this:
There will be an *ongoing* need to add new data from tables in one
database to the same-named tables in another database on a remote
machine. Two of the tables are in a m2m relationship.
Oops, forgot link: https://docs.djangoproject.com/en/1.5/
On Sunday, 30 June 2013 12:04:53 UTC+1, mash.p...@gmail.com wrote:
>
> i work on a project in which i could send query by using a textbox of html
> to django .then django can process on this query and assign the return
> value as list in
You can do this by creating an extra field in the model with the name
without vowels in it and doing a simple filter on it ? Is that what you
need ?
2013/6/30 Harjot Mann
> On Sun, Jun 30, 2013 at 10:18 PM, Scot Hacker
> wrote:
> > This is really a question about regular expressions, not about
On Sun, Jun 30, 2013 at 10:18 PM, Scot Hacker wrote:
> This is really a question about regular expressions, not about Django.
> Whether you implement simple or complex search in Django, whether you use
> Django or some other platform, this is going to come down to using a fairly
> complex regular
On Saturday, June 29, 2013 9:32:19 PM UTC-7, Harjot Mann wrote:
>
> Is there any search query in django which can ignore vowels like I want to
> make a query which displays all the clients name who writes their name as
> 'amanjit' or 'amanjeet'.
> It should take take ee=i or anything like this.
Try following the tutorial here. By the end of it yous hould be able to
answer this yourself. It doesn't take long to do, and you'll understand
enough about Django to be able to extend your solution.
Dan
On Sunday, 30 June 2013 12:04:53 UTC+1, mash.p...@gmail.com wrote:
>
> i work on a projec
Both the above mentioned frameworks offer support for non orm data
resources.
See tastypie's official docs on how to use it with riakdb [1] .
And I have also used django rest framework to relay RESTful APIs for a
django app which uses restful apis from a locally running REST server.
So the data s
Hi,
Lowest level approach will be just using pgdump for the spesific table or whole
database.
Regards,
mulianto
Sent from my iPhone
On 30 Jun 2013, at 19:37, Avraham Serour wrote:
> manage.py dumpdata
>
>
> On Sun, Jun 30, 2013 at 10:40 AM, Mike Dewhirst wrote:
>> This is probably a Post
Hi !! I recently learned to program with python 3.2
I have a difficulty concerning Django
I want to install the latest version 1.6 that supports python 3.2
I only found a way to install in Linux but I'm running Windows 7 !!
Can anyone show me how ? And also if you have any book or tutorial about
i work on a project in which i could send query by using a textbox of html
to django .then django can process on this query and assign the return
value as list in html.
now, i ask the following question:
how can we send a number from text box of html to python(django) and after
that django mu
Avishay
Take a look at http://jquery.com/ , lots of stuff there.
The other discussions that have been going on about REST would also be useful
to you.
Cheers
François
On Jun 30, 2013, at 4:54 AM, Avishay Balderman wrote:
> Hi François
> Since I am a django "newbe", can you please elabora
Thanks Rahul,
I thought about that.
I do not need Django's ORM as I do not use relational db and I do not need
Django's Templates as I use rest api. So I am not sure what value does
django add in my case?
On Sunday, June 30, 2013 12:24:28 AM UTC-7, Rahul Gaur wrote:
>
> Hi,
> What about ch
manage.py dumpdata
On Sun, Jun 30, 2013 at 10:40 AM, Mike Dewhirst wrote:
> This is probably a Postgres question but someone might be able to offer
> advice on how to transfer data :)
>
> New "reference" or read-only data gets input during development and I want
> to transfer it to the productio
Sorry but I forgot show my form:
This is my Form:
class MyForm(ModelForm):
class Meta:
form = 'my_form'
model = MyModel
exclude = ('country', 'region')
My all form in subclass Meta contains variable 'form'. This is name of my
form. The definition get_form search in a
I try in view get the form by name.
Example:
this is my url:
/some-url/MyForm/
url(r'^/some-url/(?P[a-zA-Z0-9]+)/', 'my_view', name='my-wiev'),
and my view:
def my_view(request, form_name):
form = how_get_form_name(form_name)
response = {}
response['my_form'] = form
return ren
Hi François
Since I am a django "newbe", can you please elaborate or even point me to
refrences in the web that shows the concept of what I am looking for?
Thanks
Avishay
On Saturday, June 29, 2013 3:58:32 PM UTC+3, François Schiettecatte wrote:
>
> Django can handle some of that for you but n
Hi all,
when I try to read a file which actual encoding is gbk.
I get exception as below:
--
Traceback (most recent call last):
File "", line 1, in
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py",
line 675, in readline
return self.reader.readline(size
Every Framework supports Ajax. But as i already mentioned and as already
talked about in the django-developers, the support of serialization and
other things is really really crappy and needs to be fixed.
Especially SPA sites needs some love. I mean in the core Django is cool,
and since the new
Reply waited.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
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 an email
to django-users+unsubscr...@googlegroups.
This is probably a Postgres question but someone might be able to offer
advice on how to transfer data :)
New "reference" or read-only data gets input during development and I
want to transfer it to the production database from time to time.
I think my choices are:
1. Re-enter it manually -
Hi,
What about change-tastypie or django-restframework or something similar ?
As a part of my GSoC project [1] , I am implementing a project sharing web
site with social features.
I need RESTful APIs so that the functionality of the site could be
integrated into SugarLabs [2].
I am planing to use
29 matches
Mail list logo