Re: ModuleNotFoundError: No module named 'mysite'

2024-04-14 Thread Ahmad Irfan
have you checked your virtual env? On Sun, 14 Apr 2024 at 5:38 AM, hikinthru wrote: > I am a new Django user and am setting up my first site on a local MAMP > server. Django is running, but when I run `python manage.py makemigrations` > I get the following error: > >

Re: Django error while running

2023-03-22 Thread Ahmad Abdulnasir Shuaib
It looks like you mistakenly alter your settings, check your INSTALLED_APPS in settings.py ModuleNotFoundError: No module named 'rest_frameworkdjango' There should be a comma between rest_framework and django On Wed, Mar 22, 2023, 12:18 PM Chandresh . T wrote: > Hello all! This is the setting

Re: Can't Load Django Dev Sever

2022-11-11 Thread Ahmad Abdulnasir Shuaib
Try clearing cache and cookies for 127.0.0.1 On Fri, Nov 11, 2022, 8:36 AM Mike Dewhirst wrote: > Try visiting http://localhost:8000 instead > > No guarantees and I'm not going to test it myself ;-) > > > > > > -- > (Unsigned mail from my phone) > > > > Original message >

DeleteView Class

2022-08-21 Thread Hussein Ahmad
hi.. i dont want my delete button to redirect to a success url,how can i do that this is my code: class ChatMessageDeleteView(LoginRequiredMixin, generic.DeleteView, UserPassesTestMixin): model = ChatMessage # success_url = '' def test_func(self): message = self.get_object()

Re: get country from IP_addres.

2021-12-16 Thread fahad ahmad
There are geoip databases you can download or use api services such as: https://ipgeolocation.io/ to get the information. On Thu, Dec 16, 2021, 09:08 Amor Zamora wrote: > Can you help me? > I need to obtain the country of where the users access from the IP and > insert that information into

Re: Re:

2021-10-09 Thread Ahmad Abdulnasir Shuaib
Check your models, you may have unique_together option enabled. On Sat, Oct 9, 2021, 12:09 PM Sebastian Jung wrote: > Hello, > > No only friends get social media or WhatsApp. > > I think yoz need a experience developer. Try to get one developer on > upwork. I have no expeeience with

Re: Hello from a new user

2021-03-17 Thread Mahmood Ahmad
Hello Ryan, You are right. I sound as if I am only looking for tutorials. Indeed, I am joining for specific Q's and A's. Regards On Wed, Mar 17, 2021 at 1:41 PM Mahmood wrote: > Hi All, > > I am a new user to Django and am exploring it for Web development using > Python. I am looking for

Re: URL configuration error for a beginner

2020-08-31 Thread Haris Ahmad
Hello dear, add that app in settings.py in installed apps Eg. "base.apps.BaseAppConfig" Or simply "base" Kind regards Haris On Tue, 1 Sep 2020, 3:59 AM Manal Helal, wrote: > Hi > > I am using DJango to the first time and appreciate some explanation to the > error I am receiving. I followed

Re: why style.css is not read by my codes. i am using VScode for Django

2020-08-24 Thread Haris Ahmad
Have you added whitenoise to the settings.py On Mon, 24 Aug 2020, 9:27 PM Amresh Giri, wrote: > Is is supposed to be "statics" ? > > On Mon, Aug 24, 2020, 9:49 PM alka reetesh > wrote: > >> I have used python manage.py collectstatic, which gave >> error--FileNotFoundError: [WinError 3] The

Re: Ecommerce website

2020-08-15 Thread Nasir Ahmad
Sorry to interrupt you guys. I am new in Django and I want to know about how to deploy django project. Please help me. Thanks in advance. Thanks & Regards Nasir ahmad On Sat, Aug 15, 2020, 8:39 PM Karan Sahu wrote: > Hi Mahamat, > Could you please recheck the number once. I didn't

Re: eWallet-django

2020-08-14 Thread Haris Ahmad
Watch tutorial of codewithharry on youtube that's a good tutorial for ecommerce, or watch dennis ivy tutorials on youtube On Fri, 14 Aug 2020, 11:50 PM sakshi jain, wrote: > I'm also want some guidance for e_commerce website using django > > On Fri, Aug 14, 2020, 23:45 Haris Ahm

eWallet-django

2020-08-14 Thread Haris Ahmad
Hello everyone, Hope you're good! I'm new to django, I have followed some tutorials regarding Ecommerce, know I want to start working on eWallet project. any kind of help will be appreciated, if someone want to work with me on this project , here is the github link to my account , HarisAhmad43

NoReverseMatch

2020-08-04 Thread Haris Ahmad
Hello everyone, I'm getting this error, *Reverse for 'create_order' with no arguments not found. 1 pattern(s) tried: ['create_order/(?P[^/]+)/$'] * I'm getting this error when I use *path('create_order//', views.createOrder, name="create_order"),* but there is no such error when path is..

Re: Django3 runserver error

2020-07-30 Thread Haris Ahmad
Hi there, Resolved_path =pathlib.path.resolve(strict=True) Use this, might work.. On Thu, 30 Jul 2020, 2:25 PM Mira, wrote: > Hi All, > I recently upgraded Django from 2.2 to 3 on my MacOS10.13. > I am using Python 3.6 and My Application was working fine with Django 2.2 > but now i am getting

Re: Python-django project

2020-07-23 Thread Haris Ahmad
haris18...@gmail.com On Fri, 24 Jul 2020, 2:34 AM Haris Ahmad, wrote: > Intersted. > Kind regards Haris Ahmad > > On Tue, 21 Jul 2020, 8:10 AM learn code, wrote: > >> Hi everyone, >> >> I am learning python and django, like to work on the projects to impr

Re: Python-django project

2020-07-23 Thread Haris Ahmad
Intersted. On Fri, 24 Jul 2020, 2:31 AM _M_A_Y_A_N_K_, wrote: > Interested > > Thanks & Regards, > - > Mayank Tripathi > Mo. +1 615 962 2128 > "Do what you can, with what you have, where you are -by Theodore > Roosevelt" > > > > On Thu, Jul 23, 2020 at 3:49 PM Himanshi

urgent

2020-06-19 Thread Awais Ahmad
i'm facing this problem and i can't fix it any body please help me or tell me about this error -- 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 Testing

2020-03-31 Thread Abrar Ahmad
Hello Sir I have trouble in learnig Testing tutorial of Djanog Documentation. Can any one tell me what is the main concept of learnign test and how can we learn it in easiest way. I am waiting for reply -- You received this message because you are subscribed to the Google Groups "Django

Re: field error in live how to reslove

2019-12-17 Thread Ahmad Ebrahim
Show me your model and view On Tue, 17 Dec 2019, 20:11 MEGA NATHAN, wrote: > Hi all. > > field error in live how to reslove > below i have to attach the screensh please find out and let me. > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Re: django orm filter queryset is returning empty

2019-12-17 Thread Ahmad Ebrahim
Show me your code. On Tue, 17 Dec 2019, 14:36 vignesh s, wrote: > django orm filter queryset is returning empty queryset and also checked in > the db the data is available > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

how to update many to many fields in django?

2019-12-15 Thread Ahmad Ebrahim
I'm struggling with this problem for 2 weeks please help me. https://stackoverflow.com/questions/59269426/how-to-update-many-to-many-fields regards. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: self.foreign_related_fields[0] IndexError: tuple index out of range

2019-11-26 Thread Ahmad Saki
:05:24 AM UTC+6, Integr@te System wrote: > > Hi friend, > > plz check these files: ' # Generated by Django 2.2.3 on 2019-11-26 15:36 ' > and another (if u have), to see separating. > > On Tue, Nov 26, 2019, 23:44 Ahmad Saki > > wrote: > >> Hello Dear, >>

Re: self.foreign_related_fields[0] IndexError: tuple index out of range

2019-11-26 Thread Ahmad Saki
; > On Tue, Nov 26, 2019, 22:40 Ahmad Saki > > wrote: > >> organization.Organization model: >> >> from django.db import models >> >> class Organization(models.Model): >>orgid = models.IntegerField(max_length=6, primary_key=True) >>

Re: self.foreign_related_fields[0] IndexError: tuple index out of range

2019-11-26 Thread Ahmad Saki
)), ], ), ] On Tuesday, November 26, 2019 at 8:26:13 PM UTC+6, Integr@te System wrote: > > hi, inspect your typo and Organization model. > > On Tue, Nov 26, 2019, 16:31 Ahmad Saki > > wrote: > >> Dear, >> Thanks for your response. >> I use the foreign key field 'orgid' or no

Re: self.foreign_related_fields[0] IndexError: tuple index out of range

2019-11-26 Thread Ahmad Saki
..orgid = org_obj ' > > > > > On Tue, Nov 26, 2019, 01:40 Ahmad Saki > > wrote: > >> My custom authentication model in django: >> >> from django.db import models >> from django.contrib.auth.models import ( >> AbstractBaseUser, BaseUserManager &

self.foreign_related_fields[0] IndexError: tuple index out of range

2019-11-25 Thread Ahmad Saki
My custom authentication model in django: from django.db import models from django.contrib.auth.models import ( AbstractBaseUser, BaseUserManager ) from organization.models import Organization class UserManager(BaseUserManager): # use_in_migrations = True # python manage.py createsuperuser def

Please help me to resolve this issue .............................[WinError 10061] No connection could be made because the target machine actively refused it

2019-08-28 Thread Waqas Ahmad
Waqas Ahmad\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\handlers\exception.py" in inner* * 34. response = get_response(request)* *File "C:\Users\Waqas Ahmad\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\handlers\base.py"

i need a project developed in django +mysql database and front end in bootstrap-4

2019-08-28 Thread Waqas Ahmad
For Contact me ::: waqasahmadtarar...@gmail.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.com. To view this

Re: Create project in windows, but run it in Ubuntu

2019-03-26 Thread Chafid Ahmad
rely ever use the Windows boot, probably 3 times a year top, > and every time I do I have a looot of updates to make. > > On Friday, March 22, 2019 at 8:28:54 AM UTC-4, Chafid Ahmad wrote: >> >> Hi, I have a client who wanted to run a Django project that can run in >>

Create project in windows, but run it in Ubuntu

2019-03-22 Thread Chafid Ahmad
Hi, I have a client who wanted to run a Django project that can run in Ubuntu. As I don't have a UX machine to developed it, is it possible to developed the project in Windows, but later export it to Ubuntu? My initial plan is: - Developed the project with pycharm in windows - Upload the project

Re: django.db.utils.OperationalError: no such table: user_user

2019-03-08 Thread Nasir Ahmad
Hi, Migration for each app use cmd > python manage.py migrate, it migrate all inbuilt app. On Fri, Mar 8, 2019 at 2:27 AM cyril moreau wrote: > To fix my issue I had to makemigrations for each one of my app : > > by doing the following it will create my user table : > > python manage.py

Re: facebook python script

2018-07-09 Thread Ahmad
Thank you very much dear. It will help alot me. On Monday, July 9, 2018 at 10:46:34 PM UTC+5, Ahmad wrote: > > Hello everyone, I hope all of you will be fine. > > I want a script to download facebook video (SD or HD) using python. > > if anyone has already please send me >

facebook python script

2018-07-09 Thread Ahmad
Hello everyone, I hope all of you will be fine. I want a script to download facebook video (SD or HD) using python. if anyone has already please send me or if you have any other material which can help me. Waiting for you reply. Thanks -- You received this message because you are

Re: help, How can i solve this error please

2018-07-08 Thread Ahmad Hassan
thanks a lot man. url(r'^register$', views.register, name='register'), is not working now On 7/8/18, Ahmad Hassan wrote: > from django.contrib.auth.views import LoginView, LogoutView > > > > > urlpatterns = [ > > >url(r'^login/$', > LoginView.as_view(temp

Re: help, How can i solve this error please

2018-07-07 Thread Ahmad Hassan
from django.contrib.auth.views import LoginView, LogoutView urlpatterns = [ url(r'^login/$', LoginView.as_view(template_name='accounts/login.html')), url(r'^logout/$', LogoutView.as_view(template_name='accounts/logout.html')), ] On 7/8/18, Hambali Idrees Ibrahim

from django.contrib.auth.views import login

2018-07-07 Thread Ahmad
hello everyone, when i import this line it's not working. from django.contrib.auth.views import login My Django Versions is 2.0 from django.conf.urls import url from . import views from django.contrib.auth.views import login urlpatterns = [ url(r'^$',views.home), url(r'^login/$',

I want to display my restaurant list for which i used a function based view and it is working fine but when i import generic list view then it's not displaying that list

2017-12-21 Thread Ruhail Ahmad
#VIEWS.PY from django.db.models import Q from django.shortcuts import render from django.http import HttpResponse from django.views.generic import TemplateView from django.views.generic import ListView from .models import ResturantLocation # Create your views here. def

Need advice on writing very specific custom user roles

2017-09-09 Thread Ahmad Zoughbi
Hello, I need to build custom Django user roles, and i need an advice on the best approach (or library that i can use) to achieve that: 1. There will be 3 different user levels: 1. Author 2. Editor 3. Verification 2.

how to read django data in javascript from Built-in template tags

2016-09-23 Thread Nazib Ahmad
in my program javascript dont read the data which is got from django but the same page html tag the the data. here is my code var bubbleChartData = { datasets: [ { label: "Graph of Attacks", backgroundColor:"#FF6384",

Re: How to limit ForeignKey field to another model FK depending on value

2016-02-02 Thread Ahmad Zoughbi
Just for reference: i could get it to work by passing limit_choices_to to the "province" in Project model. class Project(models.Model): project_name = models.CharField(max_length=100) province = models.ForeignKey(Province, limit_choices_to={"country": 1}) -- You received this message

Re: How to limit ForeignKey field to another model FK depending on value

2016-02-02 Thread Ahmad Zoughbi
Thanks James. But i think this solution will apply also on both models (WorkArea and Project) right? while i want to get it to work only on the field province of model *Project . * On Tuesday, February 2, 2016 at 12:22:20 AM UTC+2, James Schneider wrote: > > The question: In the model Project

How to limit ForeignKey field to another model FK depending on value

2016-02-01 Thread Ahmad Zoughbi
I have the following models in Django, and using smart-selects: class Country(models.Model): name = models.CharField(max_length=100) class Province(models.Model): name = models.CharField(max_length=100) country = models.ForeignKey(Country) class City(models.Model): name =

how to start learning Django in Windows Platform

2013-10-01 Thread Ahsan Ahmad
Hi, This is Ahsan. and i am brand fresh programmer in Django. Please guide the easiest way to start learning Django. Thank You -- 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,

Get a list into request.POST

2013-08-23 Thread Sarfraz Ahmad
Hello guys, i am working on a view where i m needed to pass an array of objects into a ajax request. the array of java script objects is like this [{'que':1,'ans':3},{'que':1,'ans':2},{'que':4,'ans':5},{'que':2,'ans':4}] i posted is

exploring django framework source code

2013-07-10 Thread Ahmad
Hi every body, I'd like to know how to explore the django framework source code like if you are reading a book, like where to start, where to get a general overview of the code organization, where to head next and so on until you become familiar with all of the framework parts. Thanks in

Calling Jquery or javascript function based on an if condition

2013-04-23 Thread Sarfraz ahmad
Guys, is it possible to call a javascript function in django templates based on an if condition...?? What i want to do is that in django templates if a given if condition is true i want to call a javascript function automatically tell me guys if it is possible or

Re: How to use django Cooment framework

2013-01-28 Thread Sarfraz ahmad
can someoe give me some hints to attach multiple answers with a question field On Tue, Jan 29, 2013 at 10:17 AM, Sarfraz ahmad <sarfrazdja...@gmail.com>wrote: > yes, i read the docs bt looking for an example which shows how can > comments to be assigned to an object > > >

Re: how to use django password reset

2013-01-28 Thread Sarfraz ahmad
> will help you to understand the documentation. > > Bill > > On Mon, Jan 28, 2013 at 11:55 AM, Sarfraz ahmad > <sarfrazdja...@gmail.com>wrote: > >> How can i use django password reset method >> unable to understand the django documentation about password r

Re: How to use django Cooment framework

2013-01-28 Thread Sarfraz ahmad
ents/ > > https://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/ > > :) > > > On Mon, Jan 28, 2013 at 11:13 AM, Sarfraz ahmad > <sarfrazdja...@gmail.com>wrote: > >> good evening friends >> >> i m a new django user, i want to implement comment framework in

How to use django Cooment framework

2013-01-28 Thread Sarfraz ahmad
good evening friends i m a new django user, i want to implement comment framework in my app.. please help me and tell me that how can i use django comment framework to assign comments with an object.. in my view i want to ask questions from users which can have multiple

how to use django password reset

2013-01-28 Thread Sarfraz ahmad
How can i use django password reset method unable to understand the django documentation about password reset. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To

Re: ignore field during form validation

2013-01-23 Thread Sarfraz ahmad
updatable... whenever i tried to update the record with the form having initial data as the record already inserted in the database this method raise an exception while calling the is_valid() method On Tue, Jan 22, 2013 at 7:39 PM, Sarfraz ahmad <sarfrazdja...@gmail.com>wrote: > gusy i ha

Re: how to get all objects related to a particular user using django ContentType Framework

2013-01-23 Thread Sarfraz ahmad
cumentation for GenericForeignKey once more. >> >> Links: >> 1. >> https://docs.djangoproject.com/en/1.4/ref/contrib/contenttypes/#django.contrib.contenttypes.generic.GenericForeignKey >> >> -- >> Pankaj Singh >> http://about.me/psjinx >> >> >> On Wed, Jan 23, 2013 at 4:11

Re: how to get all objects related to a particular user using django ContentType Framework

2013-01-23 Thread Sarfraz ahmad
> > > On Wed, Jan 23, 2013 at 3:53 PM, Sarfraz ahmad <sarfrazdja...@gmail.com> > wrote: > > i have the same model having one foreignkey to User and second to the > > ContentType > > > > class A11M1_user_itmes(models.Model): > > A11M1F1_user=m

Re: how to get all objects related to a particular user using django ContentType Framework

2013-01-23 Thread Sarfraz ahmad
> http://about.me/psjinx > > > On Wed, Jan 23, 2013 at 3:29 PM, Sarfraz ahmad <sarfrazdja...@gmail.com> > wrote: > > thanx buddy bt i wish to do it in a manner that a model which has a > foreign > > key to ContentType, when i make a query on this model i

Re: how to get all objects related to a particular user using django ContentType Framework

2013-01-23 Thread Sarfraz ahmad
ed_objects_with_model() > > > > get_all_related_objects() is the one I guess you may want to use in your > case. > > > > Pankaj Singh > > http://about.me/psjinx > > > > > > On Wed, Jan 23, 2013 at 2:30 PM, Sarfraz ahmad <sarfrazdja...@gmail.com> &

how to get all objects related to a particular user using django ContentType Framework

2013-01-23 Thread Sarfraz ahmad
hello friends i have a project with 7 applications installed in it and i want to get all the objects related to a particular user from all the applications of ma project. please tell me how can i get all these objects using ContentType framework thank you all --

Re: ignore field during form validation

2013-01-22 Thread Sarfraz ahmad
m ModelForm, then it's a matter of >> configuring your model and form fields to allow null/blank. In this case, >> seeing your code would help provide more direction. >> >> Hope this helps, >> Jonathan >> >> On 01/21/2013 04:34 AM, Sarfraz ahmad wrote: >>

Re: want to update only a few fields of a form

2013-01-22 Thread Sarfraz ahmad
n/dev/topics/forms/?from=olddocs > https://docs.djangoproject.com/en/dev/ref/forms/validation/ > > If you define the fields you want to with required=False, you shouldn't > have issues > > Sent from my Windows Phone > ------ > From: Sarfraz ahmad &g

want to update only a few fields of a form

2013-01-21 Thread Sarfraz ahmad
i want to update only a few fields of a form bt not with the cleaned method i need to validate them in a view... please tell me a solution thenk you all -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web

Re: ignore field during form validation

2013-01-21 Thread Sarfraz ahmad
Hello everyone, i m facing a problem while validating django form. i have 5 form fields in a form and in the view i want to validate only three form fields which i need to update .. tell me a solution if anyone have any -- You received this message

IndentationError

2012-05-16 Thread ahmad
hi I have a URL: url(r'^airline/ticket/ajax/add$', airline_ticket_ajax_add, > name='airline_ticket_ajax_add' ), and when I try to reverse this URL I get: Traceback: > > File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in >> get_response > > 111.

Re: Just sharing my Skype username

2012-04-25 Thread Ahmad Abd Arrahman
Thanks Kurtis for sharing your account I have added you to my contacts :) On Wed, Apr 25, 2012 at 5:56 PM, Kurtis wrote: > Hey guys/girls, > > I want to share my Skype username in case anyone needs help in real-time. > I am typically working when I'm online, so* please

Re: Django DateTimePicker only shows up for superusers inside my app

2012-04-24 Thread Ahmad
ranslation/#module-django.views.i18n > > > - Anssi > > On Apr 25, 12:40 am, Ahmad <mygoogli...@gmail.com> wrote: > > I'm using django DateTimePicker widget -- AdminSplitDateTime() -- in > event > > creating app, every thing goes fine when the loged in u

Django DateTimePicker only shows up for superusers inside my app

2012-04-24 Thread Ahmad
I'm using django DateTimePicker widget -- AdminSplitDateTime() -- in event creating app, every thing goes fine when the loged in user has superuser permissions, but when normal user tries to access the creating form the widget don't show up. I don't know why it acts like this? and how to

getting POST 500 (OK), when using $.ajax on that url

2012-03-31 Thread Ahmad
f_exempt or disabling the csrf entirely but nothing changed If any one can figure out what I'm doing wrong please go ahead thanks in advance Ahmad 1. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this dis

Re: redirect page/view after login in 'django-registration'

2012-03-21 Thread Ahmad Abd Arrahman
edite this line in your settings.py or add it if not there #Login redirects to LOGIN_REDIRECT_URL = '/accounts/profile' -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To

inserting a date/time in "RFC 3339" format into django DateTimeField

2012-03-13 Thread Ahmad
I'm trying to insert date/time as I'm storing data retrieved from google calendar api about event start and end date. here is the RFC link RFC

Re: single list items in templates

2008-07-16 Thread Ahmad Akkaoui
That simple huh, don't know why I didn't try that... Thanks! On Wed, 2008-07-16 at 14:03 -0500, Tim Chase wrote: > > I have a list: data = ['apple', 'orange', 'banana'] > > in my template: {{ data }} will output: ['apple', orange, banana] > > but {{ data[0] }} will throw an error > > > {{

single list items in templates

2008-07-16 Thread Ahmad Akkaoui
Hello everyone! I have a list: data = ['apple', 'orange', 'banana'] in my template: {{ data }} will output: ['apple', orange, banana] but {{ data[0] }} will throw an error how can I print single entries at will in a template instead of the whole list? Thanks!

Re: Strange cookie problem

2008-07-10 Thread Ahmad Al-Ibrahim
I have the same issue but with the cookie key name I'm trying to set a cookie with name usercookie[username], but it seems using square brackets in the cookie key name makes a problem here, is there any work around for this problem? >>> SimpleCookie('usercookie[username]=speedy; path=/;

XML and django

2008-07-10 Thread Ahmad Akkaoui
Hello everyone, I would like to know how to I would go about parsing an xml string in Django. Is there a built in XML library or am I going to have to rely on external parsers. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Ready For dating

2007-04-21 Thread tauqir ahmad
Send free email to dating members http://www.datingseasons.com Find your dream partner online free http://www.datingseasons.com Search and make your online partners http://www.datingseasons.com Find more details about your dream partner http://www.datingseasons.com Search your soulmate

Re: How can I use variables in included URLConf's before they are sent to views?

2006-08-06 Thread Ahmad Alhashemi
Manipulator rip off). If it was at least possible to get the node in the application specific URLconf then I could at least filter the queryset by that node before passing it to the views. But none of this is currently possible. [EMAIL PROTECTED] wrote: > Ahmad, do you perhaps mean something like

Re: How can I use variables in included URLConf's before they are sent to views?

2006-08-06 Thread Ahmad Alhashemi
Todd O'Bryan wrote: > A very straightforward way to do this would be to map the main url to > a view-like function, build the queries you need, and then, based on > the rest of the url, pass control to the actual view function you want. Is there an easy and supported way of passing control back

How can I use variables in included URLConf's before they are sent to views?

2006-08-06 Thread Ahmad Alhashemi
Hello everyone, My problem is like this. I have a main URLconf that will include another, application specific, URLconf. In the application specific, I'm preparing some querysets to pass to some generic views. The problem is that the querysets I need to make in the application URLconf depend on

Using an application more than once in a project

2006-07-07 Thread Ahmad Alhashemi
Hi, Is it possible to use the same application more than once in the same project? For example, if I download a ready made weblog application, can I use it in one place as a general purpose weblog and in another place as a seperate development weblog? TIA. --Ahmad